libclc cannot be upgraded from 17.0.6 due to a linking error on Prefix: FAILED: spirv-mesa3d-.spv /home/terin/gentoo/var/tmp/portage/dev-libs/libclc-18.1.8/work/libclc_build/spirv-mesa3d-.spv /home/terin/gentoo/usr/lib/llvm/18/bin/llvm-spirv: error while loading shared libraries: libLLVMSPIRVLib.so.18.1: cannot open shared object file: No such file or directory However, this library has already been built by dev-util/spirv-llvm-translator without issue: $ equery f dev-util/spirv-llvm-translator | rg libLLVMSPIRVLib.so.18.1 /home/terin/gentoo/usr/lib/llvm/18/lib64/libLLVMSPIRVLib.so.18.1 $ file /home/terin/gentoo/usr/lib/llvm/18/lib64/libLLVMSPIRVLib.so.18.1 /home/terin/gentoo/usr/lib/llvm/18/lib64/libLLVMSPIRVLib.so.18.1: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, stripped
Please attach a build log showing the failure and provide emerge --info in a comment.
I'm guessing that this happened during an update that installed llvm:18 and spirv-llvm-translator:18. There's an /etc/env.d/*llvm* file that sets some paths and is responsible for adding the path containing libLLVMSPIRVLib.so to LDPATH. I'd try running `env-update && source /etc/profile` and try emerging libclc again.
Yes, LLVM was updated at the same time. Updating and re-sourcing the environment seems to have worked.