Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893088 - media-libs/mesa-23.0.0-rc4: build failures with USE=opencl and Clang 16 installed
Summary: media-libs/mesa-23.0.0-rc4: build failures with USE=opencl and Clang 16 insta...
Status: RESOLVED DUPLICATE of bug 884193
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: 2023-02-03 12:53 UTC by Matt Jolly
Modified: 2023-02-28 04:26 UTC (History)
2 users (show)

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


Attachments
build.log (file_893088.txt,5.44 KB, text/plain)
2023-02-03 12:53 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2023-02-03 12:53:20 UTC
Created attachment 849758 [details]
build.log

While attempting to update my system dev-libs/mesa failed to build with the following error:

"The Clover OpenCL state tracker requires rtti"

This relates to https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-23.0.0-rc4/meson.build#L943

The upstream logic requires that when configured with -Dgallium-opencl=icd that -Dcpp_rtti=true

With changes to the mesa ebuild in 883955 (relating to LLVM 16 - see https://github.com/gentoo/gentoo/blob/master/media-libs/mesa/mesa-23.0.0_rc4.ebuild#L414-L418) the software will now fail to configure:

If Clang 16 is installed on the system and USE=opencl is enabled on mesa, the generated configure options are: -Dgallium-opencl=icd -Dcpp_rtti=false, which cannot build.

One package or the other will need to be amended.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 04:26:30 UTC

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