Fedora Account System
Red Hat Associate
Red Hat Customer
Compiling doctests of the tokei crate during koji builds started to fail (also happened during the F36 mass rebuild). It seems to be isolated to Rust + LLVM 13, since this problem only occurs on Fedora 35+, and not on Fedora 34 (where Rust still uses LLVM 12). First kind of error (on rawhide): ---- src/language/mod.rs - language::Language::new (line 34) stdout ---- /usr/lib/librustc_driver-fae02aa6c6980a78.so(+0x4af6ec)[0xb427f6ec] /usr/lib/libc.so.6(__default_sa_restorer+0x0)[0xb3af9380] /usr/lib/libLLVM-13.so(_ZN4llvm12LiveRegUnits10accumulateERKNS_12MachineInstrE+0x80)[0xaf602f28] /usr/lib/libLLVM-13.so(_ZN4llvm12RegScavenger25scavengeRegisterBackwardsERKNS_19TargetRegisterClassENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEEbib+0x110)[0xaf7c1030] /usr/lib/libLLVM-13.so(+0xc01ca4)[0xaf7c1ca4] /usr/lib/libLLVM-13.so(+0xc018d8)[0xaf7c18d8] /usr/lib/libLLVM-13.so(_ZN4llvm24scavengeFrameVirtualRegsERNS_15MachineFunctionERNS_12RegScavengerE+0x60)[0xaf7c1614] /usr/lib/libLLVM-13.so(+0xb9bfb8)[0xaf75bfb8] /usr/lib/libLLVM-13.so(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x10c)[0xaf671490] /usr/lib/libLLVM-13.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x238)[0xaf474384] /usr/lib/libLLVM-13.so(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x30)[0xaf47a1d0] /usr/lib/libLLVM-13.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x378)[0xaf474934] Couldn't compile the test. Second kind of error (Fedora 35): ---- target/release/build/tokei-8e5c426229098942/out/language_type.rs - language::language_type::LanguageType::name (line 228) stdout ---- /usr/lib/librustc_driver-5d25649674e7f2a9.so(+0x4af8f4)[0xb42728f4] /usr/lib/libc.so.6(__default_sa_restorer+0x0)[0xb3aec300] Couldn't compile the test. For now, I will disable compiling and running tests for the tokei crate entirely, since on Fedora, compiling tests is broken on f34 on i686, as well. Failed koji build on rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=81831081 Failed koji build on f35: https://koji.fedoraproject.org/koji/taskinfo?taskID=81831106
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
This also affects rav1e.
*** This bug has been marked as a duplicate of bug 2086106 ***