=media-libs/mesa-24.0.4 fails to build with USE=llvm Linking fails with the following error message: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/frontends/rusticl/librusticl.a(rusticl.rusticl.ff318fa285b9e513-cgu.14.rcgu.o): in function `rusticl::core::program::get_disk_cache': rusticl.ff318fa285b9e513-cgu.14:(.text._ZN7rusticl4core7program14get_disk_cache17h439d92c59d0b7fd5E+0x1e): undefined reference to `clang::getClangFullVersion()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: rusticl.ff318fa285b9e513-cgu.14:(.text._ZN7rusticl4core7program14get_disk_cache17h439d92c59d0b7fd5E+0x2a): undefined reference to `llvm::writeSpirv(llvm::Module*, SPIRV::TranslatorOpts const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)' collect2: error: ld returned 1 exit status Build log and emerge --info attached. Reproducible: Always
Created attachment 889462 [details] Build log (bz2)
Created attachment 889463 [details] emerge --info
*** This bug has been marked as a duplicate of bug 923826 ***