[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72k-Z9=EVVXgJp1OuKwSbQ3qq723B0F2PaPzRD4P+QEQ=A@mail.gmail.com>
Date: Tue, 19 Aug 2025 16:00:44 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Naresh Kamboju <naresh.kamboju@...aro.org>, Thorsten Leemhuis <linux@...mhuis.info>,
Danilo Krummrich <dakr@...nel.org>
Cc: open list <linux-kernel@...r.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK" <linux-kselftest@...r.kernel.org>, lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>, rust-for-linux@...r.kernel.org,
clang-built-linux <llvm@...ts.linux.dev>, Miguel Ojeda <ojeda@...nel.org>, wedsonaf@...il.com,
Gary Guo <gary@...yguo.net>, Benno Lossin <benno.lossin@...ton.me>,
Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <ndesaulniers@...gle.com>,
Arnd Bergmann <arnd@...db.de>, Dan Carpenter <dan.carpenter@...aro.org>,
Anders Roxell <anders.roxell@...aro.org>, Ben Copeland <benjamin.copeland@...aro.org>
Subject: Re: next-20250818: rust: `ARCH_KMALLOC_MINALIGN` is defined multiple times
On Tue, Aug 19, 2025 at 10:40 AM Naresh Kamboju
<naresh.kamboju@...aro.org> wrote:
>
> Build regressions were detected on multiple architectures (arm, arm64,
> riscv) with the Linux next-20250818 tag when building with Rust-enabled
> configurations (rust-gcc and rust-clang) from selftests/rust/config.
>
> Duplicate definition of ARCH_KMALLOC_MINALIGN in Rust bindings is
> causing build failures across affected toolchains.
Thanks a lot Naresh, this was reported already by Thorsten and me yesterday:
https://lore.kernel.org/rust-for-linux/8aa05f08-ef6e-4dfe-9453-beaab7b3cb98@leemhuis.info/
A patch from Danilo is in flight to fix it:
https://lore.kernel.org/rust-for-linux/20250818180923.192042-1-dakr@kernel.org/
If you could test it, that would be great. I assume Danilo will apply
the patch on top of alloc-next, since the issue is just inside that
branch that goes into linux-next.
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists