Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928601 - =media-libs/mesa-24.0.4 fails to build with USE=llvm
Summary: =media-libs/mesa-24.0.4 fails to build with USE=llvm
Status: RESOLVED DUPLICATE of bug 923826
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 21:11 UTC by Red
Modified: 2024-04-05 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (bz2) (mesa-build.log.bz2,128.81 KB, application/x-bzip2)
2024-04-04 21:13 UTC, Red
Details
emerge --info (mesa-emerge-info.txt,27.83 KB, text/plain)
2024-04-04 21:13 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***