I have emerged intel_clc using the binary package (official x86-64-v3 binary hosting) and the /usr/bin/intel_clc binary depends on LLVM and clang version 16 (see ldd output below). However, the dependencies allow any LLVM and clang version between 15 and 17, and on my machine only version 17 is installed, thus the binary package is not working. If I reinstall intel_clc from source then it works as expected. > ldd /usr/bin/intel_clc linux-vdso.so.1 (0x00007ffec471f000) libz.so.1 => /usr/lib64/libz.so.1 (0x00007f3630f72000) libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f3630f5b000) libclang-cpp.so.16 => not found libLLVM-16.so => not found libLLVMSPIRVLib.so.16 => not found libSPIRV-Tools-opt.so => /usr/lib64/libSPIRV-Tools-opt.so (0x00007f3630400000) libSPIRV-Tools.so => /usr/lib64/libSPIRV-Tools.so (0x00007f3630280000) libSPIRV-Tools-link.so => /usr/lib64/libSPIRV-Tools-link.so (0x00007f3630f3e000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007f362fe00000) libm.so.6 => /lib64/libm.so.6 (0x00007f3630724000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f3630f19000) libc.so.6 => /lib64/libc.so.6 (0x00007f36300bd000) /lib64/ld-linux-x86-64.so.2 (0x00007f3630fac000) Reproducible: Always Steps to Reproduce: 1. Make sure that only LLVM and clang version 17 is installed on the system. 2. Emerge dev-util/intel_clc-23.3.5 with --getbinpkg=y 3. Try to start it. Actual Results: > intel_clc intel_clc: error while loading shared libraries: libclang-cpp.so.16: cannot open shared object file: No such file or directory
This is fixed by llvm-r1.eclass which newer versions of intel_clc (>=24.0.1) are already ported to.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13236593cbd00ae106ac27544010f302d98dc115 commit 13236593cbd00ae106ac27544010f302d98dc115 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-05 05:01:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-05 05:04:57 +0000 dev-util/intel_clc: backport llvm-r1 to 23.x Bug: https://bugs.gentoo.org/923228 Closes: https://bugs.gentoo.org/924876 Signed-off-by: Sam James <sam@gentoo.org> dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+)