[Intel] [23.3 regression] 23.3.0-rc1 Intel Vulkan driver fails to build: intel_clc failures
In 23.3.0-rc1, the Intel driver fails to build without giving a detailed error message. The problem seems to be the intel_clc tool failing without giving a proper error message.
23.2.1 builds correctly.
OS is Linux 6.6.0 with glibc 2.38 and clang 17.0.3.
[98/1620] Generating src/intel/vulkan/grl...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers_indirect.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers_indirect -e primrefs_from_DXR_instances_pointers_indirect --in ../src/intel/vulkan/grl/gpu/bvh_build_primref.cl --in /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers_indirect.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[115/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers -e primrefs_from_DXR_instances_pointers --in ../src/intel/vulkan/grl/gpu/bvh_build_primref.cl --in /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_pointers.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[122/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_primref_primrefs_from_DXR_instances -e primrefs_from_DXR_instances --in ../src/intel/vulkan/grl/gpu/bvh_build_primref.cl --in /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[125/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_indirect.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_primref_primrefs_from_DXR_instances_indirect -e primrefs_from_DXR_instances_indirect --in ../src/intel/vulkan/grl/gpu/bvh_build_primref.cl --in /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu/libs/lsc_intrinsics_fallback.cl -o src/intel/vulkan/grl/gfx125_bvh_build_primref_primrefs_from_DXR_instances_indirect.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[129/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg_batchable.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS_single_wg_batchable -e DFS_single_wg_batchable --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg_batchable.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[130/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS_single_wg -e DFS_single_wg --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
[131/1620] Generating src/intel/vulkan/gr...tom command (wrapped by meson to set env)
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS.h
env MESA_SHADER_CACHE_DISABLE=true /home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS -e DFS --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/home/bero/abf/mesa/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h