[1587/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_coro.c.o
../mesa/src/gallium/auxiliary/gallivm/lp_bld_coro.c: In function ‘lp_build_coro_alloc_mem_array’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_coro.c:209:4: warning: ‘LLVMBuildLoad’ is deprecated [-Wdeprecated-declarations]
209 | LLVMValueRef alloced_ptr = LLVMBuildLoad(gallivm->builder, coro_hdl_ptr, "");
| ^~~~~~~~~~~~
In file included from /usr/include/llvm-c/Core.h:18,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld.h:51,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_coro.h:31,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_coro.c:27:
/usr/include/llvm-c/Core.h:3931:1: note: declared here
3931 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[1588/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_format_float.c.o
[1589/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_arit.c.o
FAILED: src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_arit.c.o
cc -Isrc/gallium/auxiliary/libgallium.a.p -Isrc/gallium/auxiliary -I../mesa/src/gallium/auxiliary -Isrc/loader -I../mesa/src/loader -I../mesa/src/gallium/include -Isrc -I../mesa/src -Iinclude -I../mesa/include -I../mesa/src/gallium/auxiliary/util -Isrc/compiler/nir -I../mesa/src/compiler/nir -Isrc/util -I../mesa/src/util -I/usr/include/libdrm -I/usr/include/valgrind -fvisibility=hidden -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O0 '-DPACKAGE_VERSION="22.2.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_R300 -DHAVE_R600 -DHAVE_RADEONSI -DHAVE_NOUVEAU -DHAVE_IRIS -DHAVE_ZINK -DHAVE_VIRGL -DHAVE_SVGA -DHAVE_SWRAST -DHAVE_PANFROST -DHAVE_LIMA -DHAVE_ASAHI -DHAVE_CROCUS -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=1 -DVIDEO_CODEC_H264ENC=1 -DVIDEO_CODEC_H265DEC=1 -DVIDEO_CODEC_H265ENC=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_LIBUDEV -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="15.0.0"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBGLVND=1 -DHAVE_VALGRIND -DMESA_EXECMEM -DHAVE_LIBUNWIND -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -mtls-dialect=gnu2 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Wno-unused-function -Werror=format -Wformat-security -ffunction-sections -fdata-sections -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -Wno-error=deprecated-declarations -fPIC -pthread -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Werror=pointer-arith -Werror=vla -MD -MQ src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_arit.c.o -MF src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_arit.c.o.d -o src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_arit.c.o -c ../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c
../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c: In function ‘lp_build_div’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c:1311:17: error: implicit declaration of function ‘LLVMConstSDiv’; did you mean ‘LLVMConstFDiv’? [-Werror=implicit-function-declaration]
1311 | return LLVMConstSDiv(a, b);
| ^~~~~~~~~~~~~
| LLVMConstFDiv
../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c:1311:17: error: returning ‘int’ from a function with return type ‘LLVMValueRef’ {aka ‘struct LLVMOpaqueValue *’} makes pointer from integer without a cast [-Werror=int-conversion]
1311 | return LLVMConstSDiv(a, b);
| ^~~~~~~~~~~~~~~~~~~
../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c:1313:17: error: implicit declaration of function ‘LLVMConstUDiv’; did you mean ‘LLVMConstFDiv’? [-Werror=implicit-function-declaration]
1313 | return LLVMConstUDiv(a, b);
| ^~~~~~~~~~~~~
| LLVMConstFDiv
../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.c:1313:17: error: returning ‘int’ from a function with return type ‘LLVMValueRef’ {aka ‘struct LLVMOpaqueValue *’} makes pointer from integer without a cast [-Werror=int-conversion]
1313 | return LLVMConstUDiv(a, b);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
[1590/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_flow.c.o
[1591/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_format_aos_array.c.o
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c: In function ‘lp_build_fetch_rgba_aos_array’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c:81:4: warning: ‘LLVMBuildGEP’ is deprecated [-Wdeprecated-declarations]
81 | ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, "");
| ^~~
In file included from /usr/include/llvm-c/Core.h:18,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld.h:51,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_const.h:41,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c:28:
/usr/include/llvm-c/Core.h:3938:1: note: declared here
3938 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[1592/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/util_u_helpers.c.o
[1593/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_format_aos.c.o
[1594/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_format_s3tc.c.o
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c: In function ‘s3tc_store_cached_block’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1137:4: warning: ‘LLVMBuildGEP’ is deprecated [-Wdeprecated-declarations]
1137 | ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), "");
| ^~~
In file included from /usr/include/llvm-c/Core.h:18,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld.h:51,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_arit.h:40,
from ../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:45:
/usr/include/llvm-c/Core.h:3938:1: note: declared here
3938 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1144:7: warning: ‘LLVMBuildGEP’ is deprecated [-Wdeprecated-declarations]
1144 | ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), "");
| ^~~
/usr/include/llvm-c/Core.h:3938:1: note: declared here
3938 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c: In function ‘s3tc_lookup_cached_pixel’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1162:4: warning: ‘LLVMBuildGEP’ is deprecated [-Wdeprecated-declarations]
1162 | member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), "");
| ^~~~~~~~~~
/usr/include/llvm-c/Core.h:3938:1: note: declared here
3938 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1163:4: warning: ‘LLVMBuildLoad’ is deprecated [-Wdeprecated-declarations]
1163 | return LLVMBuildLoad(builder, member_ptr, "cache_data");
| ^~~~~~
/usr/include/llvm-c/Core.h:3931:1: note: declared here
3931 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c: In function ‘s3tc_lookup_tag_data’:
../mesa/src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:1178:4: warning: ‘LLVMBuildGEP’ is deprecated [-Wdeprecated-declarations]
1178 | member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), "");
| ^~~~~~~~~~
/usr/include/llvm-c/Core.h:3938:1: note: declared here
3938 | LLVM_ATTRIBUTE_C_DEPRECATED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[1595/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/nir_nir_draw_helpers.c.o
[1596/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/nir_tgsi_to_nir.c.o
[1597/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_conv.c.o
[1598/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_const.c.o
[1599/2715] Compiling C object src/gallium/auxiliary/libgallium.a.p/nir_nir_to_tgsi.c.o
[1600/2715] Compiling C++ object src/gallium/auxiliary/libgallium.a.p/gallivm_lp_bld_debug.cpp.o
[1601/2715] Compiling C object src/mesa/libmesa.a.p/vbo_vbo_exec_api.c.o
[1602/2715] Linking target src/amd/vulkan/libvulkan_radeon.so
ninja: build stopped: subcommand failed.