Created attachment 921921 [details] build.log It is basically certain that https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65ef3fddd9ef9cc3d2d172f6da9a39231b1e2d1 is the cause. The failure only occurs when rust is built with RUSTFLAGS="-Zdylib-lto" and CARGO_PROFILE_RELEASE_LTO="thin"/CARGO_PROFILE_RELEASE_LTO="fat" and with the commit. dev-lang/rust-1.85.1::gentoo was built with the following: USE="lto (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -rust-analyzer -rust-src -rustfmt -system-llvm -test -verify-sig -wasm" CPU_FLAGS_X86="sse2" LLVM_SLOT="(19)" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa" CFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
Created attachment 921922 [details] emerge --info
I think it's a dupe of bug 951740. *** This bug has been marked as a duplicate of bug 951740 ***