[PATCH v3] RISC-V: re-enable gcc + rust builds
Asuna
spriteovo at gmail.com
Sun Nov 16 06:36:16 PST 2025
Hi everyone. Sorry I was inactive on this patch for a while. I'm getting
back into this work.
On 9/19/25 1:20 PM, Vivian Wang wrote:
> I think instead of testing libclang version, it would make more sense to
> feature test if bindgen the binary supports these flags, like what we
> already do with $(cc-option,...).
>
> Same for all the other version tests.
Conor, since you've reviewed the v3 patch, do you think Vivian's
suggestion is a better solution? If so, I can start trying to make a v4
patch towards that path in the next few days.
On 9/19/25 1:20 PM, Vivian Wang wrote:
>> [...]
>>
>> +config TOOLCHAIN_MATCHES_ZICSR_ZIFENCEI
> TOOLCHAIN_ACCEPTS_ZICSR_ZIFENCEI?
The word "accepts" is not very clear to me, as this option may also be
YES when the toolchain does not recognize Zicsr/Zifencei in
-march. Zicsr/Zifencei are always enabled, this option actually detects
if the same flags related to Zicsr/Zifencei (-march=_zicsr_zifencei or
-misa-spec=2.2) can be recognized in multiple toolchains at the same
time without causing any errors.
More information about the linux-riscv
mailing list