Try to update media-libs/mesa and got the error: ../mesa-22.2.5/src/gallium/targets/opencl/meson.build:62:2: ERROR: C++ shared or static library 'clangCodeGen' not found [ebuild U ] media-libs/mesa-22.2.5::gentoo [22.2.3::gentoo] USE="X gles2 llvm opencl proprietary-codecs vulkan wayland zstd -d3d9 -debug -gles1 -lm-sensors -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="radeon radeonsi -d3d12 (-freedreno) -intel (-lima) -nouveau (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware" I Use AMD Radeon RX 550 (VIDEO_CARDS="amdgpu radeon radeonsi vesa fbdev") and there were no problem before with updating mesa. Reproducible: Always
Created attachment 847752 [details] build.log
Created attachment 847754 [details] emerge_info.txt
Disabling OpenCL support (USE="-opencl") for media-libs/mesa fixes the configuration problem for me and mesa built successfully.
Update to recently stabilized sys-devel/llvm-15.0.6-r1 and sys-devel/clang-15.0.6-r1 fixes the build of media-libs/mesa-22.2.5[opencl] in my system.