With recently updated llvm 17.0.0.1 package, all versions of mesa package fail to compile for Intel GPU with vulkan use flag. According to my tests, the temporary resolutions for this issue are 1. Use llvm 16.0.6 2. Use llvm 17.0.0.1 without vulkan use flag Could you check and patch mesa package to compile with llvm 17.x for Intel, vulkan use flag? Reproducible: Always Steps to Reproduce: 1. upgrade llvm to 17.0.0.1 2. setup VIDEO_CARDS="intel" 3. emerge mesa Actual Results: Compile failure. Expected Results: Successfully install mesa
Already on it, please see 907965. *** This bug has been marked as a duplicate of bug 907965 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90da97e78ade65753dfb2e0fb30ec9067c5aa766 commit 90da97e78ade65753dfb2e0fb30ec9067c5aa766 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-27 01:49:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-27 01:51:44 +0000 media-libs/mesa: fix LLVM detection Meson will prefer looking up LLVM via CMake to llvm-config and it's non-trivial to try coerce CMake into looking at the right thing, so we end up trying to use the wrong LLVM and exploding - fortunately just at configure time. Add a patch to force using llvm-config - which llvm.eclass controls the availability of - and avoid the CMake problem entirely. Of course, it'd be far better if LLVM just finally adopted pkg-config. Bug: https://bugs.gentoo.org/914632 Bug: https://bugs.gentoo.org/914742 Bug: https://bugs.gentoo.org/914775 Closes: https://bugs.gentoo.org/907965 Thanks-to: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/mesa/files/clang_config_tool.patch | 13 +++++++++++++ media-libs/mesa/mesa-23.1.8.ebuild | 3 +++ media-libs/mesa/mesa-23.2.0_rc4.ebuild | 5 +++++ media-libs/mesa/mesa-9999.ebuild | 5 +++++ 4 files changed, 26 insertions(+)