Bug 2397132

Summary: Various breakage with rust 1.90
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: rustAssignee: Rust SIG <rust-sig>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amulhern, igor.raits, jchecahi, jistone, paumurph, rust-sig, TicoTimo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-22 16:19:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2025-09-21 02:30:24 UTC
Description of problem:

I'm seeing some new build failures with rust 1.90

https://koschei.fedoraproject.org/affected-by/rust?epoch1=0&version1=1.89.0&release1=4.fc44&epoch2=0&version2=1.90.0&release2=1.fc44&collection=f44

clamav is failing on ppc64le with a segfault:

     Running `/usr/bin/rustc --crate-name hex_literal --edition=2021 /usr/share/cargo/registry/hex-literal-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=382c77fbf210656e -C extra-filename=-12b6323779711aec --out-dir /builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps --target powerpc64le-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn`
error: rustc interrupted by SIGSEGV, printing backtrace
/lib64/librustc_driver-a462836d23d350af.so(+0x106da0c) [0x7fff87c6da0c]
linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0) [0x7fff8c1a0484]
/lib64/libLLVM.so.21.1(+0x5f9c2fc) [0x7fff8399c2fc]
/lib64/libLLVM.so.21.1(+0x5d68af8) [0x7fff83768af8]
/lib64/libLLVM.so.21.1(_ZN4llvm12SelectionDAG7CombineENS_12CombineLevelEPNS_14BatchAAResultsENS_15CodeGenOptLevelE+0x170c) [0x7fff837649ec]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel17CodeGenAndEmitDAGEv+0x268) [0x7fff8375c068]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE+0xd8c) [0x7fff8327e30c]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel20runOnMachineFunctionERNS_15MachineFunctionE+0x174) [0x7fff8384fdd4]
/lib64/libLLVM.so.21.1(+0x5e4fc00) [0x7fff8384fc00]
/lib64/libLLVM.so.21.1(_ZN4llvm22SelectionDAGISelLegacy20runOnMachineFunctionERNS_15MachineFunctionE+0x11c) [0x7fff83b1993c]
/lib64/libLLVM.so.21.1(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x1c8) [0x7fff8383c128]
/lib64/libLLVM.so.21.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x8a4) [0x7fff8339e004]
/lib64/libLLVM.so.21.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x4c) [0x7fff8339d56c]
/lib64/libLLVM.so.21.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x354) [0x7fff833a1c14]
/lib64/libLLVM.so.21.1(_ZN4llvm6legacy11PassManager3runERNS_6ModuleE+0x1c) [0x7fff833a189c]
/lib64/librustc_driver-a462836d23d350af.so(+0x46e872c) [0x7fff8b2e872c]
/lib64/librustc_driver-a462836d23d350af.so(+0x3f7a4a8) [0x7fff8ab7a4a8]
/lib64/librustc_driver-a462836d23d350af.so(+0x3f7c7bc) [0x7fff8ab7c7bc]
/lib64/librustc_driver-a462836d23d350af.so(_RINvNtNtCs56uYmNLu2ng_3std3sys9backtrace28___rust_begin_short_backtraceNCINvXs0_Cs3uAENGAl7ek_18rustc_codegen_llvmNtB1g_18LlvmCodegenBackendNtNtNtCs53nzcKbF4x_17rustc_codegen_ssa6traits7backend19ExtraBackendMethods18spawn_named_threadNCINvNtNtB2k_4back5write10spawn_workB1O_E0uE0uEB1g_+0x200) [0x7fff8ab5ace0]
/lib64/librustc_driver-a462836d23d350af.so(+0x3f67f98) [0x7fff8ab67f98]
/lib64/librustc_driver-a462836d23d350af.so(+0x46c06f0) [0x7fff8b2c06f0]
/lib64/glibc-hwcaps/power10/libc.so.6(+0xaf310) [0x7fff868af310]
note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal
error: could not compile `ravif` (lib)
Caused by:
  process didn't exit successfully: `/usr/bin/rustc --crate-name ravif --edition=2021 /usr/share/cargo/registry/ravif-0.11.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="threading"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "default", "threading"))' -C metadata=9f272b44988b7a59 -C extra-filename=-0ed2b73ed040c8d4 --out-dir /builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps --target powerpc64le-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/release/deps --extern avif_serialize=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/libavif_serialize-457f9f921cb04493.rmeta --extern imgref=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/libimgref-638996d326deedff.rmeta --extern loop9=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/libloop9-97b3e1981ac617f3.rmeta --extern quick_error=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/libquick_error-d7660098ff873461.rmeta --extern rav1e=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/librav1e-08cf0bc3ca6cc41e.rmeta --extern rayon=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/librayon-8788d979e4b00616.rmeta --extern rgb=/builddir/build/BUILD/clamav-1.4.3-build/clamav-1.4.3/redhat-linux-build/powerpc64le-unknown-linux-gnu/release/deps/librgb-9529ffe51329ed9c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...


Other builds seem to have a missing symbol:

FAILED: [code=1] root_store_tool 
"/usr/bin/python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./root_store_tool" -- clang++ -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--undefined-version -Wl,--no-call-graph-profile-sort --target=x86_64-unknown-linux-gnu -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections -Wl,-z,defs -Wl,--as-needed -nostdlib++ -rdynamic -pie -Wl,--disable-new-dtags prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler2.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide.rlib prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject.rlib -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -o "./root_store_tool" -Wl,--start-group @"./root_store_tool.rsp" -Wl,--end-group   /usr/lib/clang/21/lib/x86_64-redhat-linux-gnu/libclang_rt.builtins.a -ldl -lpthread -lrt -lglib-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -latomic -ldouble-conversion -lnspr4 -lnss3 -lnssutil3 -lplc4 -lplds4 -lsmime3 -Wl,--start-group obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib obj/third_party/rust/foldhash/v0_1/lib/libfoldhash_lib.rlib obj/build/rust/allocator/libbuild_srust_sallocator_callocator.rlib obj/build/rust/allocator/liballoc_error_handler_impl_ffi.rlib obj/build/rust/allocator/liballocator_impls_ffi.rlib obj/base/libbase_crust_ulogger.rlib obj/base/libbase_clogging_ulog_useverity_ubindgen.rlib obj/third_party/rust/log/v0_4/lib/liblog_lib.rlib obj/build/rust/chromium_prelude/libchromium.rlib obj/third_party/rust/serde_json_lenient/v0_2/wrapper/libthird_uparty_srust_sserde_ujson_ulenient_sv0_u2_swrapper_cwrapper.rlib obj/third_party/rust/serde/v1/lib/libserde_lib.rlib obj/third_party/rust/serde_json_lenient/v0_2/lib/libserde_json_lenient_lib.rlib obj/third_party/rust/itoa/v1/lib/libitoa_lib.rlib obj/third_party/rust/memchr/v2/lib/libmemchr_lib.rlib obj/third_party/rust/ryu/v1/lib/libryu_lib.rlib -Wl,--end-group 
clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-package-notes' [-Wunused-command-line-argument]
ld.lld: error: undefined symbol: __rustc::__rust_alloc_error_handler_should_panic_v2
>>> referenced by alloc.rs:435 (library/alloc/src/alloc.rs:435)
>>>               alloc-89c079dc503872cc.alloc.6e7db227d0aa2641-cgu.0.rcgu.o:(__rustc::__rdl_oom) in archive prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc.rlib
>>> referenced by alloc.rs:355 (library/std/src/alloc.rs:355)
>>>               std-b50617b29e31fd0b.std.2a1a0cc949c77e59-cgu.0.rcgu.o:(std::alloc::default_alloc_error_hook::heae949e1e5961fe0) in archive prebuilt_rustc_sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.rlib
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[chrome:3741/52775] CXX obj/components/sqlite_proto/sqlite_proto/key_value_table.o
[chrome:3742/52775] CXX obj/components/unexportable_keys/unexportable_keys/ref_counted_unexportable_signing_key.o
[chrome:3743/52775] CXX obj/components/unexportable_keys/unexportable_keys/unexportable_key_loader.o
[chrome:3744/52775] CXX obj/components/unexportable_keys/unexportable_keys/background_long_task_scheduler.o
[chrome:3745/52775] CXX obj/components/unexportable_keys/unexportable_keys/unexportable_key_service_impl.o
[chrome:3746/52775] CXX obj/components/unexportable_keys/unexportable_keys/unexportable_key_task_manager.o
[chrome:3747/52775] CXX obj/components/unexportable_keys/unexportable_keys/unexportable_key_tasks.o
ninja: build stopped: subcommand failed.

Comment 1 Josh Stone 2025-09-22 16:19:31 UTC
In general, please file separate bugs when they look like distinct symptoms. Both of these were already filed though, and are reassigned to other components.

(In reply to Orion Poplawski from comment #0)
> clamav is failing on ppc64le with a segfault:

This is on LLVM: https://bugzilla.redhat.com/show_bug.cgi?id=2396901

> Other builds seem to have a missing symbol:

This is on Chromium: https://bugzilla.redhat.com/show_bug.cgi?id=2396898

*** This bug has been marked as a duplicate of bug 2396901 ***