On Tue, Sep 16, 2025 at 06:46:06PM +0200, Christian Heusel wrote:
On 25/09/16 09:56PM, Naresh Kamboju wrote:
On Tue, 16 Sept 2025 at 11:17, Naresh Kamboju naresh.kamboju@linaro.org wrote:
The following build warnings / errors noticed on the arm arm64 and x86_64 with rust config build on the Linux next-20250915 tag.
First seen on next-20250915 Good: next-20250912 Bad: next-20250915
Regression Analysis:
- New regression? yes
- Reproducibility? yes
arm, build
- rustclang-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
arm64, build
- rustclang-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
x86_64, build
- rustgcc-lkftconfig-kselftest
- rustclang-nightly-lkftconfig-kselftest
Build regression: next-20250915: error[E0425]: cannot find function `atomic_read_acquire` in crate `bindings`
Anders bisected this build regressions and found,
# first bad commit: [eb57133305f61b612252382d0c1478bba7f57b67] rust: sync: Add basic atomic operation mapping framework
Is this still an issue on next-20250916? As far as I can tell this has been fixed, but now there is another rust build issue, see https://lore.kernel.org/regressions/0fee48bb-7411-4414-b4e7-395a8c3d0f6c@heu... for more information.
Cheers, Chris
next-20250916 still fails but with a different Rust issue.
$ make SYNC include/config/auto.conf HOSTCC scripts/basic/fixdep CALL scripts/checksyscalls.sh DESCEND objtool INSTALL libsubcmd_headers RUSTC L rust/kernel.o error: expected one of `,` or `}`, found `;` --> rust/kernel/block/mq/gen_disk.rs:12:23 | 12 | fmt::{self, Write}; | ^ | | | expected one of `,` or `}` | help: missing `,`
error: aborting due to 1 previous error
make[2]: *** [rust/Makefile:553: rust/kernel.o] Error 1 make[1]: *** [/home/dcarpenter/progs/kernel/devel/Makefile:1286: prepare] Error 2 make: *** [Makefile:248: __sub-make] Error 2
regards, dan carpenter