Full build log and output of `emerge --info` to follow. gcc is 13.3.1_p20240614. ``` FAILED: src/intel/compiler/intel_clc x86_64-pc-linux-gnu-g++ -o src/intel/compiler/intel_clc src/intel/compiler/intel_clc.p/intel_clc.c.o src/intel/compiler/intel_clc.p/brw_kernel.c.o src/intel/compiler/intel_clc.p/elk_elk_nir_options.c.o -Wl,--as-needed -Wl,--no-undefined -march=native -O2 -pipe -fdiagnostics-color=always -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib/llvm/17/lib64 -Wl,-rpath-link,/usr/lib/llvm/17/lib64 -Wl,--start-group src/intel/common/libintel_common.a src/intel/isl/libisl.a src/intel/isl/libisl_per_hw_ver40.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/intel/dev/libintel_dev.a src/intel/isl/libisl_per_hw_ver50.a src/intel/isl/libisl_per_hw_ver60.a src/intel/isl/libisl_per_hw_ver70.a src/intel/isl/libisl_per_hw_ver75.a src/intel/isl/libisl_per_hw_ver80.a src/intel/isl/libisl_per_hw_ver90.a src/intel/isl/libisl_per_hw_ver110.a src/intel/isl/libisl_per_hw_ver120.a src/intel/isl/libisl_per_hw_ver125.a src/intel/isl/libisl_per_hw_ver200.a src/intel/isl/libisl_tiled_memcpy.a src/intel/isl/libisl_tiled_memcpy_sse41.a src/intel/common/libintel_clflushopt.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/compiler/spirv/libvtn.a src/compiler/clc/liblibmesaclc.a src/intel/compiler/libintel_compiler.a -Wl,--build-id=sha1 /usr/lib64/libz.so -pthread -lm -fPIC /usr/lib64/libdrm.so /usr/lib/llvm/17/lib64/libclang-cpp.so -L/usr/lib/llvm/17/lib64 -lLLVM-17 /usr/lib/llvm/17/lib64/libLLVMSPIRVLib.so /usr/lib64/libSPIRV-Tools-opt.so /usr/lib64/libSPIRV-Tools.so /usr/lib64/libSPIRV-Tools-link.so -Wl,--end-group /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib/llvm/17/lib64/libLLVMSPIRVLib.so: undefined reference to `__cxa_call_terminate@CXXABI_1.3.15' collect2: error: ld returned 1 exit status ``` The build log is from an attempted compilation with the `llvm_targets_SPIRV` USE flag enabled for LLVM (17.0.6), but the same error occurs with that flag disabled. Reproducible: Always
Created attachment 897951 [details] Build log
Created attachment 897952 [details] Output of `emerge --info`
This is from you downgrading GCC, see https://wiki.gentoo.org/wiki/Upgrading_GCC#Downgrading_GCC.
ionen rightly points out it's not the usual error from doing that (given it looks like libcxxabi) but i'd still bet on it being the cause unless it's not the same machine you did that on?
And yes, upon closer look I don't think it is was I thought it was despite the bit more unusual error. The GCC downgrade being the cause seems likely.
Ah, i wondered whether that might be the case. (Yes, this is on That Machine.) But i'd forgotten about revdep-rebuild. :-/ Just running that now - 243 packages to rebuild - and will report back on the result. i'll also read that wiki page in full. Thanks!
The revdep-rebuild indeed fixed the issue. :-) Thanks again!