[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0bc61e6e-8a27-4711-8ce0-60b1e300ac31@gmail.com>
Date: Sun, 16 Nov 2025 22:36:16 +0800
From: Asuna <spriteovo@...il.com>
To: Vivian Wang <wangruikang@...as.ac.cn>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>,
Jonathan Corbet <corbet@....net>, Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Han Gao <rabenda.cn@...il.com>, Jason Montleon <jmontleo@...hat.com>,
Conor Dooley <conor@...nel.org>
Cc: rust-for-linux@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-kbuild@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH v3] RISC-V: re-enable gcc + rust builds
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.
Powered by blists - more mailing lists