Created attachment 814690 [details] System information from portage I am attempting to emerge 'firefox-91.13.0', however 'compiler-rt-sanitizers-14.04' seems to be trying to use 'sys-devel/binutils-2.37_p1-r2' during build time even though a more recent version is installed on my machine. This outdated binutils is possibly part of the package 'sys-devel/crossdev' which I installed with portage following instructions on the gentoo toolchain/crossdev irc (https://github.com/riscv-collab/riscv-gnu-toolchain). The purpose of the crossdev tools is for tinkering with the 'xv6-riscv' operating system on qemu (which works perfectly fine and without issue). I also have some of the GNUStep packages installed, which may be causing a conflict with LLVM? <start of output from "emerge www-client/firefox"> Calculating dependencies... done! [ebuild NS ] sys-libs/compiler-rt-sanitizers-13.0.1:13.0.1::gentoo [14.0.4:14.0.4::gentoo] USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)" 0 KiB [ebuild NS ] sys-devel/clang-runtime-13.0.1:13.0.1::gentoo [14.0.4:14.0.4::gentoo] USE="compiler-rt openmp sanitize -libcxx" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild NS ] sys-devel/clang-13.0.1:13::gentoo [14.0.4:14::gentoo] USE="static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test (-pie%*)" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k) (-VE*)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 0 KiB [ebuild NS ] sys-devel/autoconf-2.13-r2:2.1::gentoo [2.71-r1:2.71::gentoo] USE="(-emacs%)" 0 KiB [ebuild N ] www-client/firefox-91.13.0:esr::gentoo USE="clang dbus gmp-autoupdate openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto -pgo -pulseaudio -screencast (-selinux) -sndio -system-png -wayland -wifi" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB Total: 5 packages (1 new, 4 in new slots), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: sys-devel/llvm:14 (sys-devel/llvm-14.0.6-r2:14/14::gentoo, ebuild scheduled for merge) USE="binutils-plugin libffi ncurses xml -debug -doc -exegesis -libedit -test -verify-sig -xar -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" conflicts with ~sys-devel/llvm-14.0.4[llvm_targets_PowerPC] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_XCore] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_AVR] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_X86] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_Hexagon] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_Mips] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_SystemZ] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_ARM] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_MSP430] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_RISCV] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4:14/14=[-debug,abi_x86_64(-)] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_BPF] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_Lanai] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_NVPTX] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_AArch64] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_AMDGPU] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_VE] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_WebAssembly] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ ~sys-devel/llvm-14.0.4[llvm_targets_Sparc] required by (sys-devel/clang-14.0.4:14/14::gentoo, installed) USE="(pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" ^ ^^^^^^ !!! The following update(s) have been skipped due to unsatisfied dependencies !!! triggered by backtracking: sys-devel/lld:0 !!! The following installed packages are masked: - sys-devel/binutils-2.37_p1-r2::gentoo (masked by: package.mask) /var/db/repos/gentoo/profiles/package.mask: # Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21) # (and others, updated later) # These old versions of toolchain packages (binutils, gcc, glibc) are no # longer officially supported and are not suitable for general use. Using # these packages can result in build failures (and possible breakage) for # many packages, and may leave your system vulnerable to known security # exploits. # If you still use one of these old toolchain packages, please upgrade (and # switch the compiler / the binutils) ASAP. If you need them for a specific # (isolated) use case, feel free to unmask them on your system. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. <end of emerge output> Eventually, compiler-rt-sanitizers emerge halts with the following error: <start of error snippet> * ERROR: sys-libs/compiler-rt-sanitizers-13.0.1::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3658: Called cmake_src_compile * environment, line 1637: Called cmake_build * environment, line 1606: Called eninja * environment, line 2102: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" <end of error snippet> See attached files for system info.
Please attach the full build.log.
Created attachment 814720 [details] /var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/temp/build.log
(In reply to Sam James from comment #1) > Please attach the full build.log. build.log has been uploaded as requested
[31mFAILED: [0mlib/scudo/CMakeFiles/clang_rt.scudo_minimal-i386.dir/scudo_crc32.cpp.o /usr/lib/llvm/14/bin/x86_64-pc-linux-gnu-clang++ -I/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/work/compiler-rt/lib/scudo/.. -DNDEBUG -O2 -march=native -pipe -Wall -std=c++14 -Wno-unused-parameter -m32 -fno-lto -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Werror=thread-safety -Werror=thread-safety-reference -Werror=thread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -nostdinc++ -fbuiltin -fno-rtti -fno-omit-frame-pointer -DGWP_ASAN_HOOKS -msse4.2 -MD -MT lib/scudo/CMakeFiles/clang_rt.scudo_minimal-i386.dir/scudo_crc32.cpp.o -MF lib/scudo/CMakeFiles/clang_rt.scudo_minimal-i386.dir/scudo_crc32.cpp.o.d -o lib/scudo/CMakeFiles/clang_rt.scudo_minimal-i386.dir/scudo_crc32.cpp.o -c /var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/work/compiler-rt/lib/scudo/scudo_crc32.cpp /var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/work/compiler-rt/lib/scudo/scudo_crc32.cpp:20:10: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'computeHardwareCRC32' that is compiled without support for 'crc32' return CRC32_INTRINSIC(Crc, Data); ^ /var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/work/compiler-rt/lib/scudo/scudo_crc32.h:27:27: note: expanded from macro 'CRC32_INTRINSIC' # define CRC32_INTRINSIC FIRST_32_SECOND_64(_mm_crc32_u32, _mm_crc32_u64) ^ /var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.1/work/compiler-rt/lib/scudo/../sanitizer_common/sanitizer_platform.h:132:35: note: expanded from macro 'FIRST_32_SECOND_64' # define FIRST_32_SECOND_64(a, b) (a) ^ 1 error generated. ninja: build stopped: subcommand failed.
See bug 850757. *** This bug has been marked as a duplicate of bug 850757 ***