lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mEYacdZmHKvpbahJzO_X_qqYyiSiSTYaWEQZAfp6sbxg@mail.gmail.com>
Date: Tue, 9 Dec 2025 11:56:08 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>
Cc: Andreas Hindborg <a.hindborg@...nel.org>, Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
	Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, 
	Danilo Krummrich <dakr@...nel.org>, Benno Lossin <lossin@...nel.org>, Will Deacon <will@...nel.org>, 
	Peter Zijlstra <peterz@...radead.org>, Mark Rutland <mark.rutland@....com>, 
	rust-for-linux <rust-for-linux@...r.kernel.org>, 
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Mainline x86_64/arm64 defconfig+Rust `rusttest` error

Hi all,

I am seeing in mainline x86_64/arm64 defconfig+Rust the following
`rusttest` error [1].

Cheers,
Miguel

[1]

 ---- rust/macros/lib.rs - module (line 62) stdout ----
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "/tmp/rustcHhYZSx/symbols.o" "<2 object files
omitted>" "-Wl,--as-needed" "-Wl,-Bstatic"
"./rust/test/{libkernel,libuapi,libbindings,libbuild_error,libpin_init,libffi}.rlib"
"<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib"
"-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl"
"-lc" "-L" "/tmp/rustcHhYZSx/raw-dylibs"
"-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld"
"-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L"
"./rust/test" "-L"
"<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o"
"/tmp/rustdoctest9bUijb/rust_out" "-Wl,--gc-sections" "-pie"
"-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all
linker arguments
  = note: rust-lld: error: undefined symbol:
rust_helper_atomic_try_cmpxchg_relaxed
          >>> referenced by kernel.e6083e32b3c2ec6-cgu.05
          >>>
kernel.kernel.e6083e32b3c2ec6-cgu.05.rcgu.o:(kernel::sync::set_once::SetOnce$LT$T$GT$::populate::hd1ceefad3c0dd5d9)
in archive ./rust/test/libkernel.rlib

          rust-lld: error: undefined symbol: rust_helper_atomic_set_release
          >>> referenced by kernel.e6083e32b3c2ec6-cgu.05
          >>>
kernel.kernel.e6083e32b3c2ec6-cgu.05.rcgu.o:(kernel::sync::set_once::SetOnce$LT$T$GT$::populate::hd1ceefad3c0dd5d9)
in archive ./rust/test/libkernel.rlib
          collect2: error: ld returned 1 exit status

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ