>>> libdrm 2.4.114 Extracting xzcat /home/buildroot/autobuild/instance-0/dl/libdrm/libdrm-2.4.114.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114 -xf - >>> libdrm 2.4.114 Patching Applying 0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch using patch: patching file tests/meson.build Hunk #1 succeeded at 40 (offset -4 lines). >>> libdrm 2.4.114 Configuring rm -rf /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gfortran%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%aarch64%g" -e "s%@TARGET_CPU@%cortex-a53%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g2'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/instance-0/output-1/host/lib/cmake -Dcairo-tests=disabled -Dman-pages=disabled -Dintel=disabled -Dradeon=disabled -Damdgpu=enabled -Dnouveau=disabled -Dvmwgfx=disabled -Domap=disabled -Detnaviv=disabled -Dexynos=disabled -Dfreedreno=disabled -Dtegra=disabled -Dvc4=disabled -Dudev=false -Dvalgrind=disabled /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114/ /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build The Meson build system Version: 0.64.1 Source dir: /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114 Build dir: /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114/build Build type: cross build Project name: libdrm Project version: 2.4.114 C compiler for the host machine: /home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc (gcc 7.3.1 "aarch64_be-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]") C linker for the host machine: /home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc ld.bfd 2.28.2.20170706 C compiler for the build machine: /usr/bin/gcc (gcc 6.3.0 "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C linker for the build machine: /usr/bin/gcc ld.bfd 2.28 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: aarch64 Host machine cpu: cortex-a53 Target machine cpu family: aarch64 Target machine cpu: cortex-a53 Run-time dependency threads found: YES Program symbols-check.py found: YES (/home/buildroot/autobuild/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/autobuild/instance-0/output-1/host/bin/python3) Found pkg-config: /home/buildroot/autobuild/instance-0/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake (3.22.3) Run-time dependency atomic_ops found: NO (tried pkgconfig and cmake) Checking if "Intel Atomics" : links: YES Dependency pciaccess skipped: feature intel disabled Checking for function "dlsym" : NO Library dl found: YES Checking for function "clock_gettime" : YES Library m found: YES Check usable header "sys/select.h" : YES Check usable header "alloca.h" : YES Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Checking for function "open_memstream" : YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-attributes: YES Compiler for C supports arguments -Wno-long-long: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Run-time dependency cunit found: YES 2.1-3 Dependency cairo skipped: feature cairo-tests disabled Dependency valgrind skipped: feature valgrind disabled Program rst2man rst2man.py skipped: feature man-pages disabled Compiler for C supports function attribute visibility:hidden: YES Configuring config.h using configuration Build targets in project: 13 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} libdrm 2.4.114 Intel : False Radeon : False AMDGPU : True Nouveau : False vmwgfx : False OMAP : False Freedreno : False Freedreon-kgsl : False Tegra : False Etnaviv : False EXYNOS : False VC4 : False User defined options Cross files : /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false amdgpu : enabled cairo-tests : disabled etnaviv : disabled exynos : disabled freedreno : disabled intel : disabled man-pages : disabled nouveau : disabled omap : disabled radeon : disabled tegra : disabled udev : false valgrind : disabled vc4 : disabled vmwgfx : disabled Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja >>> libdrm 2.4.114 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja -C /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build ninja: Entering directory `/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114//build' [1/57] Generating format_mod_static_table with a custom command [2/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o [3/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o [4/57] Compiling C object tests/util/libutil.a.p/format.c.o [5/57] Compiling C object tests/util/libutil.a.p/kms.c.o [6/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o [7/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o [8/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o [9/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o [10/57] Compiling C object tests/modetest/modetest.p/buffers.c.o [11/57] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [12/57] Compiling C object tests/amdgpu/amdgpu_test.p/shader_test_util.c.o FAILED: tests/amdgpu/amdgpu_test.p/shader_test_util.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc -Itests/amdgpu/amdgpu_test.p -Itests/amdgpu -I../tests/amdgpu -I. -I.. -I../include/drm -Iamdgpu -I../amdgpu -I/home/buildroot/autobuild/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -O3 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -pthread -MD -MQ tests/amdgpu/amdgpu_test.p/shader_test_util.c.o -MF tests/amdgpu/amdgpu_test.p/shader_test_util.c.o.d -o tests/amdgpu/amdgpu_test.p/shader_test_util.c.o -c ../tests/amdgpu/shader_test_util.c In file included from ../tests/amdgpu/shader_test_util.c:10:0: ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[0][0].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[0][0].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[0][0].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[0][0].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:119:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[0][1].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[0][1].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[0][1].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[0][1].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:119:29: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 9), SHADER_PS_INFO(tex, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[1][0].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[1][0].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[1][0].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[1][0].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:120:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[1][1].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[1][1].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[1][1].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[1][1].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:120:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 10), SHADER_PS_INFO(tex, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[2][0].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[2][0].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[2][0].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[2][0].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:121:3: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: error: initializer element is not constant ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:113:2: note: (near initialization for 'shader_test_ps[2][1].patchinfo_code_size') ps_##_ps##_shader_patchinfo_code_size_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:114:2: note: (near initialization for 'shader_test_ps[2][1].patchinfo_code') ps_##_ps##_shader_patchinfo_code_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: error: initializer element is not constant ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:116:35: note: (near initialization for 'shader_test_ps[2][1].num_sh_reg') ps_##_ps##_sh_registers_gfx##_n, ps_##_ps##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: error: initializer element is not constant ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:117:40: note: (near initialization for 'shader_test_ps[2][1].num_context_reg') ps_##_ps##_context_registers_gfx##_n, ps_##_ps##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:121:30: note: in expansion of macro 'SHADER_PS_INFO' {SHADER_PS_INFO(const, 11), SHADER_PS_INFO(tex, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: error: initializer element is not constant vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:129:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: note: (near initialization for 'shader_test_vs[0][0].num_sh_reg') vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:129:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: error: initializer element is not constant vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:129:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: note: (near initialization for 'shader_test_vs[0][0].num_context_reg') vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:129:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 9)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: error: initializer element is not constant vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:130:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: note: (near initialization for 'shader_test_vs[1][0].num_sh_reg') vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:130:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: error: initializer element is not constant vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:130:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: note: (near initialization for 'shader_test_vs[1][0].num_context_reg') vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:130:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 10)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: error: initializer element is not constant vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:131:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:126:35: note: (near initialization for 'shader_test_vs[2][0].num_sh_reg') vs_##_vs##_sh_registers_gfx##_n, vs_##_vs##_num_sh_registers_gfx##_n, \ ^ ../tests/amdgpu/shader_code.h:131:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: error: initializer element is not constant vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:131:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:127:40: note: (near initialization for 'shader_test_vs[2][0].num_context_reg') vs_##_vs##_context_registers_gfx##_n, vs_##_vs##_num_context_registers_gfx##_n} ^ ../tests/amdgpu/shader_code.h:131:3: note: in expansion of macro 'SHADER_VS_INFO' {SHADER_VS_INFO(RectPosTexFast, 11)}, ^~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:149:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(9),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: note: (near initialization for 'shader_test_gfx_info[0].sh_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:149:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(9),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:149:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(9),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: note: (near initialization for 'shader_test_gfx_info[0].context_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:149:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(9),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:150:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(10),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: note: (near initialization for 'shader_test_gfx_info[1].sh_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:150:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(10),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:150:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(10),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: note: (near initialization for 'shader_test_gfx_info[1].context_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:150:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(10),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:151:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(11),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:2: note: (near initialization for 'shader_test_gfx_info[2].sh_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:151:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(11),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: error: initializer element is not constant sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:151:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(11),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_code.h:146:23: note: (near initialization for 'shader_test_gfx_info[2].context_reg_base') sh_reg_base_gfx##_n, context_reg_base_gfx##_n ^ ../tests/amdgpu/shader_code.h:151:3: note: in expansion of macro 'SHADER_TEST_GFX_INFO' {SHADER_TEST_GFX_INFO(11),}, ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_dispatch_init': ../tests/amdgpu/shader_test_util.c:296:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_dispatch_write_cumask': ../tests/amdgpu/shader_test_util.c:315:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_dispatch_write2hw': ../tests/amdgpu/shader_test_util.c:534:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_draw_setup_and_write_drawblt_surf_info': ../tests/amdgpu/shader_test_util.c:1161:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_draw_setup_and_write_drawblt_state': ../tests/amdgpu/shader_test_util.c:1291:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_draw_vs_RectPosTexFast_write2hw': ../tests/amdgpu/shader_test_util.c:1539:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_draw_ps_write2hw': ../tests/amdgpu/shader_test_util.c:1674:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_draw_draw': ../tests/amdgpu/shader_test_util.c:1690:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_priv->info->version) { ^~~~~~ ../tests/amdgpu/shader_test_util.c: In function 'amdgpu_memcpy_draw_test': ../tests/amdgpu/shader_test_util.c:1983:2: warning: enumeration value 'AMDGPU_TEST_GFX_MAX' not handled in switch [-Wswitch] switch (test_info->version) { ^~~~~~ [13/57] Compiling C object tests/proptest/proptest.p/proptest.c.o [14/57] Compiling C object tests/amdgpu/amdgpu_test.p/syncobj_tests.c.o [15/57] Compiling C object tests/modetest/modetest.p/cursor.c.o [16/57] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [17/57] Compiling C object tests/amdgpu/amdgpu_test.p/security_tests.c.o [18/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o [19/57] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [20/57] Compiling C object tests/hash.p/hash.c.o [21/57] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [22/57] Compiling C object tests/amdgpu/amdgpu_test.p/vm_tests.c.o [23/57] Compiling C object tests/drmsl.p/drmsl.c.o [24/57] Compiling C object tests/amdgpu/amdgpu_test.p/hotunplug_tests.c.o [25/57] Compiling C object tests/amdgpu/amdgpu_test.p/cs_tests.c.o [26/57] Compiling C object tests/drmdevice.p/drmdevice.c.o [27/57] Compiling C object tests/amdgpu/amdgpu_test.p/deadlock_tests.c.o [28/57] Compiling C object tests/amdgpu/amdgpu_test.p/cp_dma_tests.c.o [29/57] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [30/57] Compiling C object tests/amdgpu/amdgpu_test.p/bo_tests.c.o [31/57] Compiling C object tests/amdgpu/amdgpu_test.p/jpeg_tests.c.o [32/57] Compiling C object tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o [33/57] Compiling C object tests/amdgpu/amdgpu_test.p/ras_tests.c.o [34/57] Compiling C object tests/amdgpu/amdgpu_test.p/amdgpu_test.c.o [35/57] Compiling C object tests/amdgpu/amdgpu_test.p/uvd_enc_tests.c.o [36/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o [37/57] Compiling C object tests/amdgpu/amdgpu_test.p/vce_tests.c.o [38/57] Compiling C object tests/amdgpu/amdgpu_test.p/basic_tests.c.o ../tests/amdgpu/basic_tests.c:621:23: warning: 'cached_cmd_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t cached_cmd_gfx10[] = { ^~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:610:23: warning: 'cached_cmd_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t cached_cmd_gfx9[] = { ^~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:599:23: warning: 'vs_RectPosTexFast_shader_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t vs_RectPosTexFast_shader_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:588:23: warning: 'vs_RectPosTexFast_shader_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t vs_RectPosTexFast_shader_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:574:23: warning: 'ps_tex_shader_patchinfo_code_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_code_gfx10[][10][6] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:572:23: warning: 'ps_tex_shader_patchinfo_code_size_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_code_size_gfx10 = 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:568:23: warning: 'ps_tex_shader_patchinfo_offset_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_offset_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:560:23: warning: 'ps_tex_shader_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_gfx10[] = { ^~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:550:23: warning: 'ps_tex_context_reg_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_context_reg_gfx9[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:545:23: warning: 'ps_tex_sh_registers_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_sh_registers_gfx9[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:531:23: warning: 'ps_tex_shader_patchinfo_code_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_code_gfx9[][10][6] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:529:23: warning: 'ps_tex_shader_patchinfo_code_size_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_code_size_gfx9 = 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:525:23: warning: 'ps_tex_shader_patchinfo_offset_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_patchinfo_offset_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:517:23: warning: 'ps_tex_shader_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_tex_shader_gfx9[] = { ^~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:512:23: warning: 'ps_const_sh_registers_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_sh_registers_gfx10[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:510:23: warning: 'ps_num_sh_registers_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_num_sh_registers_gfx10 = 2; ^~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:506:23: warning: 'ps_const_shader_patchinfo_offset_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_offset_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:492:23: warning: 'ps_const_shader_patchinfo_code_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_code_gfx10[][10][6] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:490:23: warning: 'ps_const_shader_patchinfo_code_size_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_code_size_gfx10 = 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:484:23: warning: 'ps_const_shader_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:474:23: warning: 'ps_const_context_reg_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_context_reg_gfx9[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:472:23: warning: 'ps_num_context_registers_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_num_context_registers_gfx9 = 7; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:467:23: warning: 'ps_const_sh_registers_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_sh_registers_gfx9[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:465:23: warning: 'ps_num_sh_registers_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_num_sh_registers_gfx9 = 2; ^~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:461:23: warning: 'ps_const_shader_patchinfo_offset_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_offset_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:447:23: warning: 'ps_const_shader_patchinfo_code_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_code_gfx9[][10][6] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:445:23: warning: 'ps_const_shader_patchinfo_code_size_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_patchinfo_code_size_gfx9 = 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:439:23: warning: 'ps_const_shader_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t ps_const_shader_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:406:23: warning: 'preamblecache_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t preamblecache_gfx10[] = { ^~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:383:23: warning: 'preamblecache_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t preamblecache_gfx9[] = { ^~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:378:23: warning: 'buffercopy_cs_shader_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t buffercopy_cs_shader_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:372:23: warning: 'buffercopy_cs_shader_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t buffercopy_cs_shader_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:370:23: warning: 'bufferclear_cs_shader_registers_num_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t bufferclear_cs_shader_registers_num_gfx9 = 5; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:362:23: warning: 'bufferclear_cs_shader_registers_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t bufferclear_cs_shader_registers_gfx9[][2] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:356:23: warning: 'bufferclear_cs_shader_gfx10' defined but not used [-Wunused-const-variable=] static const uint32_t bufferclear_cs_shader_gfx10[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/basic_tests.c:349:23: warning: 'bufferclear_cs_shader_gfx9' defined but not used [-Wunused-const-variable=] static const uint32_t bufferclear_cs_shader_gfx9[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ [39/57] Compiling C object libdrm.so.2.4.0.p/xf86drmMode.c.o [40/57] Compiling C object tests/util/libutil.a.p/pattern.c.o [41/57] Compiling C object tests/modetest/modetest.p/modetest.c.o [42/57] Compiling C object tests/amdgpu/amdgpu_test.p/vcn_tests.c.o [43/57] Compiling C object libdrm.so.2.4.0.p/xf86drm.c.o ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.114/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'