>>> libdrm 2.4.115 Extracting xzcat /home/buildroot/autobuild/run/instance-1/dl/libdrm/libdrm-2.4.115.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115 -xf - >>> libdrm 2.4.115 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.115 Configuring rm -rf /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build mkdir -p /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/aarch64_be-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/aarch64_be-linux-gnu-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/aarch64_be-linux-gnu-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/aarch64_be-linux-gnu-strip%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', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-1/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-1/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-1/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-1/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output-1/build/libdrm-2.4.115/ /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build The Meson build system Version: 1.0.0 Source dir: /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115 Build dir: /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115/build Build type: cross build Project name: libdrm Project version: 2.4.115 C compiler for the host machine: /home/buildroot/autobuild/run/instance-1/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/run/instance-1/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 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.30 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/run/instance-1/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/autobuild/run/instance-1/output-1/host/bin/python3) Found pkg-config: /home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/buildroot/autobuild/run/instance-1/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.115 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/run/instance-1/output-1/build/libdrm-2.4.115//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-1/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-1/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/run/instance-1/output-1/host/bin/ninja >>> libdrm 2.4.115 Building PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-1/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115//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/handle_table.c.o [3/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o [4/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o [5/57] Compiling C object tests/util/libutil.a.p/format.c.o [6/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o [7/57] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [8/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o [9/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o In file included from ../amdgpu/amdgpu_device.c:41:0: ../amdgpu/amdgpu_device.c: In function 'amdgpu_device_initialize': ../amdgpu/amdgpu_internal.h:160:20: warning: inlining failed in call to 'update_references': call is unlikely and code size would grow [-Winline] static inline bool update_references(atomic_t *dst, atomic_t *src) ^~~~~~~~~~~~~~~~~ ../amdgpu/amdgpu_device.c:138:6: note: called from here if (update_references(&(*dst)->refcount, &src->refcount)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../amdgpu/amdgpu_device.c:41:0: ../amdgpu/amdgpu_device.c: In function 'amdgpu_device_deinitialize': ../amdgpu/amdgpu_internal.h:160:20: warning: inlining failed in call to 'update_references': call is unlikely and code size would grow [-Winline] static inline bool update_references(atomic_t *dst, atomic_t *src) ^~~~~~~~~~~~~~~~~ ../amdgpu/amdgpu_device.c:138:6: note: called from here if (update_references(&(*dst)->refcount, &src->refcount)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [10/57] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [11/57] Compiling C object tests/util/libutil.a.p/kms.c.o [12/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o [13/57] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [14/57] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o [15/57] Compiling C object tests/modetest/modetest.p/cursor.c.o [16/57] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [17/57] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [18/57] Compiling C object tests/modetest/modetest.p/buffers.c.o [19/57] Compiling C object tests/proptest/proptest.p/proptest.c.o [20/57] Compiling C object tests/amdgpu/amdgpu_test.p/amdgpu_test.c.o [21/57] Compiling C object tests/amdgpu/amdgpu_test.p/bo_tests.c.o [22/57] Compiling C object tests/amdgpu/amdgpu_test.p/cs_tests.c.o [23/57] Compiling C object libdrm.so.2.4.0.p/xf86drmMode.c.o ../xf86drmMode.c: In function 'drmModeAddFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:274:5: note: called from here if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB, &f))) ^ ../xf86drmMode.c: In function 'drmModeAddFB2WithModifiers': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:300:5: note: called from here if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB2, &f))) ^ ../xf86drmMode.c: In function 'drmModeRmFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:320:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_RMFB, &bufferId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeDirtyFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:358:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeSetCrtc': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:415:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETCRTC, &crtc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeSetCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:434:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeSetCursor2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:452:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR2, &arg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeMoveCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:465:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeAttachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:644:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_ATTACHMODE, &res); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeDetachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:655:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeConnectorSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:881:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPROPERTY, &osp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeCrtcGetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1003:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_GETGAMMA, &l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeCrtcSetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1019:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETGAMMA, &l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModePageFlip': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1101:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModePageFlipTarget': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1117:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip_target); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeSetPlane': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1143:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeObjectSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1341:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_OBJ_SETPROPERTY, &prop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeAtomicCommit': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1602:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ATOMIC, &atomic); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeCreatePropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1631:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeDestroyPropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1646:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeCreateLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1661:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATE_LEASE, &create); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeListLessees': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1678:6: note: called from here if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1687:6: note: called from here if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeGetLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1705:6: note: called from here if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1714:6: note: called from here if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeRevokeLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1733:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_REVOKE_LEASE, &revoke); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeGetFB2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1748:6: note: called from here err = DRM_IOCTL(fd, DRM_IOCTL_MODE_GETFB2, &get); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeCreateDumbBuffer': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1840:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATE_DUMB, &create); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeDestroyDumbBuffer': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1857:9: note: called from here return DRM_IOCTL(fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drmMode.c: In function 'drmModeMapDumbBuffer': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^~~~~~~~~ ../xf86drmMode.c:1868:6: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_MAP_DUMB, &map); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [24/57] Compiling C object tests/amdgpu/amdgpu_test.p/vm_tests.c.o [25/57] Compiling C object tests/amdgpu/amdgpu_test.p/uvd_enc_tests.c.o [26/57] Compiling C object tests/util/libutil.a.p/pattern.c.o [27/57] Linking static target tests/util/libutil.a [28/57] Compiling C object tests/amdgpu/amdgpu_test.p/deadlock_tests.c.o [29/57] Compiling C object tests/amdgpu/amdgpu_test.p/syncobj_tests.c.o [30/57] Compiling C object tests/amdgpu/amdgpu_test.p/vce_tests.c.o [31/57] Compiling C object tests/amdgpu/amdgpu_test.p/ras_tests.c.o [32/57] Compiling C object tests/amdgpu/amdgpu_test.p/basic_tests.c.o ../tests/amdgpu/basic_tests.c: In function 'amdgpu_userptr_test': ../tests/amdgpu/basic_tests.c:2206:2: warning: ignoring return value of 'posix_memalign', declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&ptr, sysconf(_SC_PAGE_SIZE), BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ../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[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ [33/57] Compiling C object tests/amdgpu/amdgpu_test.p/security_tests.c.o [34/57] Compiling C object tests/modetest/modetest.p/modetest.c.o ../tests/modetest/modetest.c: In function 'main': ../tests/modetest/modetest.c:1306:15: warning: 'ovr' may be used uninitialized in this function [-Wmaybe-uninitialized] ovr->crtc_id = p->crtc_id; ~~~~~~~~~~~~~^~~~~~~~~~~~ ../tests/modetest/modetest.c:1237:16: note: 'ovr' was declared here drmModePlane *ovr; ^~~ [35/57] Compiling C object tests/amdgpu/amdgpu_test.p/jpeg_tests.c.o [36/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/run/instance-1/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/run/instance-1/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 -Os -g0 -D_FORTIFY_SOURCE=1 -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) { ^~~~~~ [37/57] Compiling C object tests/amdgpu/amdgpu_test.p/hotunplug_tests.c.o [38/57] Compiling C object tests/amdgpu/amdgpu_test.p/cp_dma_tests.c.o [39/57] Compiling C object tests/drmsl.p/drmsl.c.o [40/57] Compiling C object tests/hash.p/hash.c.o [41/57] Compiling C object libdrm.so.2.4.0.p/xf86drm.c.o ../xf86drm.c: In function 'drmGetFormatModifierNameFromVivante': ../xf86drm.c:620:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_vivante, "%s%s%s", color_tiling, tile_status, compression); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drm.c: In function 'drmGetFormatModifierNameFromAmlogic': ../xf86drm.c:556:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drm.c: In function 'drmGetFormatModifierNameFromNvidia': ../xf86drm.c:363:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64"," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "GEN=%"PRIu64",SECTOR=%"PRIu64",COMPRESSION=%"PRIu64"", height, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kind, gen, sector, compression); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [42/57] Compiling C object tests/drmdevice.p/drmdevice.c.o [43/57] Compiling C object tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o [44/57] Compiling C object tests/amdgpu/amdgpu_test.p/vcn_tests.c.o ../tests/amdgpu/vcn_tests.c: In function 'suite_vcn_tests_enable': ../tests/amdgpu/vcn_tests.c:277:5: warning: 'dec_ring' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!dec_ring) { ^ ../tests/amdgpu/vcn_tests.c:283:36: warning: 'enc_ring' may be used uninitialized in this function [-Wmaybe-uninitialized] if (family_id == AMDGPU_FAMILY_AI || !enc_ring) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output-1/build/libdrm-2.4.115/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'