Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928601

Summary: =media-libs/mesa-24.0.4 fails to build with USE=llvm
Product: Gentoo Linux Reporter: Red <redblade7>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal CC: redblade7
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log (bz2)
emerge --info

Description Red 2024-04-04 21:11:35 UTC
=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
Comment 1 Red 2024-04-04 21:13:00 UTC
Created attachment 889462 [details]
Build log (bz2)
Comment 2 Red 2024-04-04 21:13:25 UTC
Created attachment 889463 [details]
emerge --info
Comment 3 Matt Turner gentoo-dev 2024-04-05 14:47:34 UTC

*** This bug has been marked as a duplicate of bug 923826 ***