[PATCH] RISC-V: Fix building rust when using GCC toolchain

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Thu Sep 26 08:40:19 PDT 2024


On Tue, Sep 17, 2024 at 5:26 PM Conor Dooley <conor at kernel.org> wrote:
>
> Yes, but unfortunately I already knew how it worked. It's not flags I am worried about, it is extensions.
> Even using a libclang that doesn't match clang could be a problem, but we can at least declare that unsupported.
> Not digging it out on an airport bus, but we discussed the lack of GCC support on the original patch adding riscv, and decided against it.

Do you mean you would prefer to avoid supporting the mixed GCC-Clang
builds? If so, do you mean you would prefer to not pick the patch,
i.e. avoid supporting this at all? (If so, then perhaps it would be a
good idea to add a comment there and perhaps a note to
https://docs.kernel.org/rust/arch-support.html).

Otherwise, please let me know if I am misunderstanding -- thanks!

Cheers,
Miguel



More information about the linux-riscv mailing list