tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: de90d455a35e474a184c898e66a6a108c3a99434 commit: 8a0c7b7132b6162d17c987d703e1ce69fadbd085 [11152/11162] Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git config: x86_64-rhel-8.3-rust compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8a0c7b7132b6162d17c987d703e1ce69fadbd085 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 8a0c7b7132b6162d17c987d703e1ce69fadbd085 # save the config file mkdir build_dir && cp config build_dir/.config O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: kernel::print::format_strings::INFO >>> referenced by rust_minimal.rs:35 (samples/rust/rust_minimal.rs:35) >>> samples/rust/rust_minimal.o:(core::ptr::drop_in_place::>) in archive vmlinux.a >>> referenced by rust_minimal.rs:36 (samples/rust/rust_minimal.rs:36) >>> samples/rust/rust_minimal.o:(core::ptr::drop_in_place::>) in archive vmlinux.a >>> referenced by rust_minimal.rs:21 (samples/rust/rust_minimal.rs:21) >>> samples/rust/rust_minimal.o:(::init) in archive vmlinux.a >>> referenced 3 more times -- >> ld.lld: error: undefined symbol: kernel::print::call_printk >>> referenced by rust_minimal.rs:35 (samples/rust/rust_minimal.rs:35) >>> samples/rust/rust_minimal.o:(core::ptr::drop_in_place::>) in archive vmlinux.a >>> referenced by rust_minimal.rs:36 (samples/rust/rust_minimal.rs:36) >>> samples/rust/rust_minimal.o:(core::ptr::drop_in_place::>) in archive vmlinux.a >>> referenced by rust_minimal.rs:21 (samples/rust/rust_minimal.rs:21) >>> samples/rust/rust_minimal.o:(::init) in archive vmlinux.a >>> referenced 3 more times -- >> ld.lld: error: undefined symbol: ::fmt >>> referenced by num.rs:191 (/opt/cross/rustc-1.62.0-bindgen-0.56.0/rustup/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/num.rs:191) >>> samples/rust/rust_minimal.o:(<&i32 as core::fmt::Debug>::fmt) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: ::debug_list >>> referenced by mod.rs:2337 (/opt/cross/rustc-1.62.0-bindgen-0.56.0/rustup/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:2337) >>> samples/rust/rust_minimal.o:( as core::fmt::Debug>::fmt) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: ::entry >>> referenced by builders.rs:643 (/opt/cross/rustc-1.62.0-bindgen-0.56.0/rustup/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/builders.rs:643) >>> samples/rust/rust_minimal.o:( as core::fmt::Debug>::fmt) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: ::finish >>> referenced by mod.rs:2337 (/opt/cross/rustc-1.62.0-bindgen-0.56.0/rustup/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:2337) >>> samples/rust/rust_minimal.o:( as core::fmt::Debug>::fmt) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: ::fmt >>> referenced by rust_minimal.rs:22 (samples/rust/rust_minimal.rs:22) >>> samples/rust/rust_minimal.o:(::init) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: >::from >>> referenced by rust_minimal.rs:0 (samples/rust/rust_minimal.rs:0) >>> samples/rust/rust_minimal.o:(::init) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: ::to_kernel_errno >>> referenced by rust_minimal.rs:7 (samples/rust/rust_minimal.rs:7) >>> samples/rust/rust_minimal.o:(__rust_minimal_init) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: rust_fmt_argument >>> referenced by vsprintf.c:2459 (lib/vsprintf.c:2459) >>> lib/vsprintf.o:(pointer) in archive vmlinux.a -- >> ld.lld: error: undefined symbol: __rust_dealloc >>> referenced by alloc.rs:109 (rust/alloc/alloc.rs:109) >>> samples/rust/rust_minimal.o:(core::ptr::drop_in_place::>) in archive vmlinux.a >>> referenced by alloc.rs:109 (rust/alloc/alloc.rs:109) >>> samples/rust/rust_minimal.o:(::init) in archive vmlinux.a .. -- 0-DAY CI Kernel Test Service https://01.org/lkp