>>> mesa3d 21.3.5 Extracting xzcat /home/buildroot/autobuild/run/instance-3/dl/mesa3d/mesa-21.3.5.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5 -xf - >>> mesa3d 21.3.5 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt Hunk #1 succeeded at 133 (offset 10 lines). patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c Applying 0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch using patch: patching file src/util/futex.h Applying 0006-fix-valist.patch using patch: patching file src/util/u_printf.h Applying 0007-fix-cpp-detection.patch using patch: patching file include/c11_compat.h >>> mesa3d 21.3.5 Configuring rm -rf /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build mkdir -p /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm926ej-s%g" -e "s%@TARGET_ENDIAN@%little%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-3/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/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-3/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-3/output-1/host/lib/cmake -Dgallium-omx=disabled -Dpower8=disabled -Db_asneeded=false -Ddri3=enabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=nouveau -Dgallium-extra-hud=true -Dshared-glapi=enabled -Ddri-drivers=nouveau -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms=wayland -Dgbm=enabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=enabled -Dglvnd=false /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/ /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build The Meson build system Version: 0.61.4 Source dir: /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5 Build dir: /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3) Project name: mesa Project version: 21.3.5 C compiler for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc (gcc 4.8.3 "arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C linker for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc ld.bfd 2.24.51.20140217 C++ compiler for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ (gcc 4.8.3 "arm-none-linux-gnueabi-g++ (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C++ linker for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ ld.bfd 2.24.51.20140217 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 C++ compiler for the build machine: /usr/bin/g++ (gcc 7.5.0 "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.30 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm926ej-s Target machine cpu family: arm Target machine cpu: arm926ej-s Program python3 found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3) WARNING: Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.platlibdir" option. WARNING: Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.purelibdir" option. WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : NO Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: NO Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: NO Compiler for C supports arguments -Werror=int-conversion: NO Compiler for C supports arguments -Wimplicit-fallthrough: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: NO Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: NO Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C supports arguments -Wmicrosoft-enum-value: NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" : links: YES Checking if "GCC 64bit atomics" with dependency : links: YES Library ws2_32 found: NO Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : YES Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : NO Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : NO Checking for function "qsort_r" : YES Checking for function "qsort_s" : NO Header has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" : links: YES Checking if "Bsymbolic" : links: YES Checking if "gc-sections" : links: YES Checking if "version-script" : links: YES Checking if "dynamic-list" : links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.12 Run-time dependency libzstd found: YES 1.5.2 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.5.0 Library m found: YES Message: libdrm 2.4.102 needed because nouveau has the highest requirement Run-time dependency libdrm_nouveau found: YES 2.4.109 Run-time dependency libdrm found: YES 2.4.109 Program bison found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/flex) Found pkg-config: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkg-config (1.6.3) Build-time dependency wayland-scanner found: YES 1.19.0 Program /home/buildroot/autobuild/run/instance-3/output-1/host/bin/wayland-scanner found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.25 Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-server found: YES 1.19.0 Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/src/compiler/isaspec/encode.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: nouveau DRI driver dir: /usr/lib/dri EGL: no GBM: yes GBM backends path: /usr/lib/gbm Vulkan drivers: no llvm: no Gallium drivers: nouveau Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 107 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} * 0.56.0: {'meson.source_root', 'Dependency.get_pkgconfig_variable'} mesa 21.3.5 User defined options Cross files : /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-3/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_asneeded : false b_pie : false dri-drivers : nouveau dri3 : enabled egl : disabled gallium-drivers : nouveau gallium-extra-hud : true gallium-omx : disabled gallium-opencl : disabled gallium-va : disabled gallium-vc4-neon : disabled gallium-vdpau : disabled gallium-xa : disabled gallium-xvmc : disabled gbm : enabled gles1 : disabled gles2 : disabled glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : disabled opengl : true osmesa : false platforms : wayland power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : enabled Found ninja-1.10.2 at /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja >>> mesa3d 21.3.5 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/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-3/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5//build' [1/1111] Generating src/git_sha1.h with a custom command [2/1111] Generating src/util/driconf_static.h with a custom command [3/1111] Compiling C object src/util/libmesa_util.a.p/double.c.o [4/1111] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o [5/1111] Compiling C object src/util/libmesa_util.a.p/compress.c.o [6/1111] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [7/1111] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o ../src/util/anon_file.c: In function 'os_create_anonymous_file': ../src/util/anon_file.c:144:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s/mesa-shared-%s-XXXXXX", path, debug_name); ^ ../src/util/anon_file.c:146:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s/mesa-shared-XXXXXX", path); ^ [8/1111] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [9/1111] Compiling C object src/util/libmesa_util.a.p/blob.c.o [10/1111] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [11/1111] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [12/1111] Compiling C object src/util/libmesa_util.a.p/dag.c.o [13/1111] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [14/1111] Compiling C object src/util/libmesa_util.a.p/debug.c.o [15/1111] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o [16/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [17/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [18/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o In file included from ../src/util/format/u_format_s3tc.c:30:0: ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h: In function 'tx_compress_dxtn': ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:889:33: warning: 'alphatest[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] writedxt5encodedalphablock( blkaddr, (GLubyte)alphatest[0], (GLubyte)alphatest[1], alphaenc3 ); ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:575:12: note: 'alphatest[1]' was declared here GLshort alphatest[2]; ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:889:33: warning: 'alphatest[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] writedxt5encodedalphablock( blkaddr, (GLubyte)alphatest[0], (GLubyte)alphatest[1], alphaenc3 ); ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:575:12: note: 'alphatest[0]' was declared here GLshort alphatest[2]; ^ [19/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [20/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [21/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [22/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [23/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [24/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_unpack_neon.c.o [25/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [26/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [27/1111] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [28/1111] Compiling C object src/util/libmesa_util.a.p/fossilize_db.c.o ../src/util/fossilize_db.c: In function 'lock_file_with_timeout': ../src/util/fossilize_db.c:195:4: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] return err; ^ [29/1111] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [30/1111] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [31/1111] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [32/1111] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [33/1111] Compiling C++ object src/util/libmesa_util.a.p/u_qsort.cpp.o [34/1111] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [35/1111] Compiling C object src/util/libmesa_util.a.p/log.c.o [36/1111] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [37/1111] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [38/1111] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [39/1111] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [40/1111] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [41/1111] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o [42/1111] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [43/1111] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [44/1111] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [45/1111] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o [46/1111] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [47/1111] Compiling C object src/util/libmesa_util.a.p/set.c.o [48/1111] Compiling C object src/util/libmesa_util.a.p/slab.c.o [49/1111] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [50/1111] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [51/1111] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [52/1111] Compiling C object src/util/libmesa_util.a.p/u_debug_refcnt.c.o [53/1111] Compiling C object src/util/libmesa_util.a.p/u_debug_describe.c.o [54/1111] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [55/1111] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [56/1111] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [57/1111] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o [58/1111] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [59/1111] Compiling C object src/util/libmesa_util.a.p/u_hash_table.c.o [60/1111] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o [61/1111] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [62/1111] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [63/1111] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [64/1111] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [65/1111] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [66/1111] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [67/1111] Compiling C++ object src/util/libmesa_util.a.p/u_printf.cpp.o [68/1111] Generating src/mapi/glapi/gen/marshal_generated2.c with a custom command (wrapped by meson to capture output) [69/1111] Compiling C object src/util/libmesa_util.a.p/vma.c.o [70/1111] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o ../src/util/u_debug_stack.c: In function 'debug_backtrace_capture': ../src/util/u_debug_stack.c:255:9: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wframe-address" ^ [71/1111] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [72/1111] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [73/1111] Linking static target src/util/libxmlconfig.a [74/1111] Generating src/mapi/glapi/gen/marshal_generated4.c with a custom command (wrapped by meson to capture output) [75/1111] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [76/1111] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [77/1111] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._format_srgb.c.o [78/1111] Linking static target src/util/libmesa_util.a [79/1111] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [80/1111] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [81/1111] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o [82/1111] Linking static target src/util/format/libmesa_format.a [83/1111] Generating src/mapi/glapi/gen/api_exec.c with a custom command (wrapped by meson to capture output) [84/1111] Generating src/mapi/glapi/gen/marshal_generated5.c with a custom command (wrapped by meson to capture output) [85/1111] Generating src/mapi/glapi/gen/marshal_generated6.c with a custom command (wrapped by meson to capture output) [86/1111] Generating src/mapi/glapi/gen/marshal_generated7.c with a custom command (wrapped by meson to capture output) [87/1111] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [88/1111] Generating src/compiler/spirv/vtn_gather_types.c with a custom command [89/1111] Compiling C object src/compiler/libcompiler.a.p/shader_enums.c.o [90/1111] Generating src/mapi/glapi/gen/marshal_generated3.c with a custom command (wrapped by meson to capture output) [91/1111] Generating src/compiler/spirv/spirv_info.c with a custom command [92/1111] Generating src/compiler/spirv/vtn_generator_ids.h with a custom command [93/1111] Compiling C++ object src/compiler/libcompiler.a.p/nir_types.cpp.o [94/1111] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [95/1111] Generating src/compiler/nir/nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [96/1111] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [97/1111] Compiling C++ object src/compiler/libcompiler.a.p/glsl_types.cpp.o [98/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [99/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [100/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [101/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [102/1111] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [103/1111] Linking static target src/compiler/libcompiler.a [104/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [105/1111] Generating src/compiler/nir/nir_opcodes.c with a custom command (wrapped by meson to capture output) [106/1111] Generating src/compiler/nir/nir_intrinsics.h with a custom command [107/1111] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [108/1111] Generating src/compiler/nir/nir_intrinsic.c with a custom command [109/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_load_libclc.c.o [110/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_alu.c.o [111/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_cse.c.o [112/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dce.c.o [113/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_spirv_info.c.o [114/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_spirv_to_nir.c.o [115/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_dominance.c.o [116/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_convert_ycbcr.c.o [117/1111] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [118/1111] Linking target src/mapi/shared-glapi/libglapi.so.0.0.0 [119/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_builtin_builder.c.o [120/1111] Generating symbol file src/mapi/shared-glapi/libglapi.so.0.0.0.p/libglapi.so.0.0.0.symbols [121/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opcodes.c.o [122/1111] Compiling C object src/compiler/nir/libnir.a.p/nir.c.o [123/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_intrinsics.c.o [124/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_vtn_gather_types.c.o [125/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_clone.c.o [126/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_control_flow.c.o [127/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_divergence_analysis.c.o [128/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_uniforms.c.o [129/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_deref.c.o [130/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_gs_count_vertices.c.o [131/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_instr_set.c.o [132/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_from_ssa.c.o [133/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_info.c.o [134/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_ssa_types.c.o [135/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_xfb_info.c.o [136/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_functions.c.o [137/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bitmap.c.o [138/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_liveness.c.o [139/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_loop_analyze.c.o [140/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu.c.o [141/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_linking_helpers.c.o ../src/compiler/nir/nir_linking_helpers.c: In function 'replace_varying_input_by_uniform_load': ../src/compiler/nir/nir_linking_helpers.c:1238:13: warning: missing braces around initializer [-Wmissing-braces] nir_alu_src src = {0}; ^ ../src/compiler/nir/nir_linking_helpers.c:1238:13: warning: (near initialization for 'src.src') [-Wmissing-braces] [142/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu_to_scalar.c.o [143/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alpha_test.c.o [144/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_amul.c.o [145/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_array_deref_of_vec.c.o [146/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_atomics_to_ssbo.c.o [147/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_blend.c.o [148/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_float.c.o [149/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_int32.c.o [150/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_bitsize.c.o [151/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_or_demote.c.o [152/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_double_ops.c.o [153/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_convert_alu_types.c.o [154/1111] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [155/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_cull_distance_arrays.c.o [156/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip.c.o [157/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clamp_color_outputs.c.o [158/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_disable.c.o [159/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_halfz.c.o [160/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_variable_initializers.c.o [161/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_constant_expressions.c.o [162/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_goto_ifs.c.o [163/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_gs_intrinsics.c.o [164/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcoord_wtrans.c.o [165/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fb_read.c.o [166/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flatshade.c.o [167/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_drawpixels.c.o [168/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flrp.c.o [169/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcolor.c.o [170/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fp16_conv.c.o [171/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_frexp.c.o [172/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_global_vars_to_local.c.o [173/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_load_const_to_scalar.c.o [174/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_idiv.c.o [175/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_image.c.o [176/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int64.c.o [177/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_indirect_derefs.c.o [178/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_locals_to_regs.c.o [179/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_input_attachments.c.o [180/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_interpolation.c.o [181/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int_to_float.c.o [182/1111] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opt_algebraic.c.o [183/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_is_helper_invocation.c.o [184/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_arrays_to_elements.c.o [185/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_multiview.c.o [186/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_scalar.c.o [187/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_temporaries.c.o [188/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_phis_to_scalar.c.o [189/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_patch_vertices.c.o [190/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io.c.o [191/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_vector.c.o ../src/compiler/nir/nir_lower_io_to_vector.c: In function 'create_new_io_vars': ../src/compiler/nir/nir_lower_io_to_vector.c:207:29: warning: 'base' may be used uninitialized in this function [-Wmaybe-uninitialized] return glsl_array_type(glsl_vector_type(base, 4), slots, 0); ^ ../src/compiler/nir/nir_lower_io_to_vector.c:162:24: note: 'base' was declared here enum glsl_base_type base; ^ [192/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_packing.c.o [193/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memcpy.c.o [194/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memory_model.c.o [195/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_mediump.c.o [196/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_passthrough_edgeflags.c.o [197/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_non_uniform_access.c.o [198/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_samplers.c.o [199/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_scratch.c.o [200/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size.c.o [201/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size_mov.c.o [202/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_printf.c.o [203/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_pntc_ytransform.c.o [204/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_readonly_images_to_tex.c.o [205/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_regs_to_ssa.c.o [206/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ssbo.c.o [207/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_returns.c.o [208/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_system_values.c.o [209/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_viewport_transform.c.o [210/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_subgroups.c.o ../src/compiler/nir/nir_lower_subgroups.c: In function 'build_ballot_imm_ishl': ../src/compiler/nir/nir_lower_subgroups.c:344:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value min_shift[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:344:4: warning: (near initialization for 'min_shift[0]') [-Wmissing-braces] ../src/compiler/nir/nir_lower_subgroups.c:349:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value max_shift[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:349:4: warning: (near initialization for 'max_shift[0]') [-Wmissing-braces] ../src/compiler/nir/nir_lower_subgroups.c: In function 'build_subgroup_mask': ../src/compiler/nir/nir_lower_subgroups.c:425:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value min_idx[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:425:4: warning: (near initialization for 'min_idx[0]') [-Wmissing-braces] [211/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_shader_calls.c.o [212/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_center.c.o [213/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec_to_movs.c.o [214/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_to_source_mods.c.o [215/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_texcoord_replace.c.o [216/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_two_sided_color.c.o [217/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_undef_to_zero.c.o [218/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vars_to_ssa.c.o [219/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec3_to_vec4.c.o [220/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_var_copies.c.o [221/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_sysvals_to_varyings.c.o [222/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_access.c.o [223/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_tex.c.o [224/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wrmasks.c.o [225/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_ytransform.c.o [226/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bit_size.c.o [227/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ubo_vec4.c.o [228/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_metadata.c.o [229/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_uniforms_to_ubo.c.o [230/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_barriers.c.o [231/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_move_vec_src_uses_to_dest.c.o [232/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_normalize_cubemap_coords.c.o [233/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_conditional_discard.c.o [234/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_combine_stores.c.o [235/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_constant_folding.c.o [236/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_comparison_pre.c.o [237/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_if.c.o [238/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_propagate.c.o [239/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_cf.c.o [240/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_prop_vars.c.o [241/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_find_array_copies.c.o [242/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_fragdepth.c.o [243/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_write_vars.c.o [244/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_gcm.c.o [245/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_intrinsics.c.o [246/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_idiv_const.c.o [247/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_uniform_atomics.c.o [248/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_shrink_vectors.c.o [249/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_loop_unroll.c.o [250/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_large_constants.c.o [251/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_memcpy.c.o [252/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move.c.o [253/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move_discards_to_top.c.o [254/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_load_store_vectorize.c.o [255/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_peephole_select.c.o [256/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_phi_precision.c.o [257/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_rematerialize_compares.c.o [258/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_offsets.c.o [259/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_trivial_continues.c.o [260/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_sink.c.o [261/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_remove_phis.c.o [262/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_phi_builder.c.o [263/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_vectorize.c.o [264/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_undef.c.o [265/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_remove_dead_variables.c.o [266/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_split_per_member_structs.c.o [267/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_propagate_invariant.c.o [268/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_repair_ssa.c.o [269/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_serialize.c.o [270/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_range_analysis.c.o [271/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_schedule.c.o [272/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_print.c.o [273/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_sweep.c.o [274/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_validate.c.o [275/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_split_var_copies.c.o [276/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_worklist.c.o [277/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_split_vars.c.o [278/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_search.c.o [279/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_gl_spirv.c.o [280/1111] Compiling C object src/compiler/nir/libnir.a.p/nir_to_lcssa.c.o [281/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_subgroup.c.o [282/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_amd.c.o [283/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_lower_libclc.c.o [284/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_glsl450.c.o [285/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_cfg.c.o [286/1111] Compiling C object src/mesa/libmesa_gallium.a.p/state_tracker_st_atom_constbuf.c.o [287/1111] Compiling C object src/mesa/libmesa_classic.a.p/x86_sse.c.o [288/1111] Compiling C object src/mesa/libmesa_gallium.a.p/state_tracker_st_atom_blend.c.o [289/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_variables.c.o [290/1111] Generating src/compiler/glsl/glcpp/glcpp-lex.c with a custom command [291/1111] Compiling C object src/mesa/libmesa_classic.a.p/x86_3dnow.c.o [292/1111] Generating src/compiler/glsl/glsl_lexer_cpp with a custom command [293/1111] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command [294/1111] Generating src/compiler/glsl/glsl_parser with a custom command [295/1111] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_opencl.c.o [296/1111] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o [297/1111] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-lex.c.o [298/1111] Generating src/compiler/glsl/ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [299/1111] Linking static target src/compiler/nir/libnir.a [300/1111] Compiling C object src/mesa/libmesa_classic.a.p/x86_rtasm_x86sse.c.o [301/1111] Compiling C object src/mesa/libmesa_classic.a.p/sparc_sparc.c.o [302/1111] Generating src/compiler/glsl/float64_glsl.h with a custom command [303/1111] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o [304/1111] Linking static target src/compiler/glsl/glcpp/libglcpp.a [305/1111] Compiling C object src/mesa/libmesa_classic.a.p/drivers_common_meta_generate_mipmap.c.o [306/1111] Generating src/mesa/program/mesa_lex with a custom command [307/1111] Compiling C object src/mesa/libmesa_classic.a.p/swrast_s_texture.c.o [308/1111] Generating src/compiler/glsl/ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [309/1111] Generating src/mesa/program/program_parse_tab.[ch] with a custom command [310/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vector_insert.cpp.o [311/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vector_derefs.cpp.o [312/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/opt_conditional_discard.cpp.o [313/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vertex_id.cpp.o [314/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_xfb_varying.cpp.o [315/1111] Generating src/mesa/get_hash.h with a custom command (wrapped by meson to capture output) [316/1111] Generating src/mesa/main/remap_helper.h with a custom command (wrapped by meson to capture output) [317/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_symbol_table.cpp.o [318/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_initializers.c.o [319/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_type.cpp.o [320/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_parser.cpp.o [321/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_array_index.cpp.o [322/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_parser_extras.cpp.o [323/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_expr.cpp.o [324/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_function.cpp.o [325/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_types.cpp.o [326/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_variables.cpp.o [327/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_to_hir.cpp.o [328/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_images.c.o [329/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/generate_ir.cpp.o [330/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_buffers.c.o [331/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_atomics.c.o [332/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers.c.o [333/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_lexer.cpp.o [334/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_atomics.c.o [335/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers_as_deref.c.o [336/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_blocks.c.o [337/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_xfb.c.o [338/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_array_refcount.cpp.o [339/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_linker.c.o [340/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_builder.cpp.o [341/1111] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniforms.c.o [342/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_functions.cpp.o [343/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/hir_field_selection.cpp.o [344/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_clone.cpp.o [345/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_basic_block.cpp.o [346/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o FAILED: src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ -Isrc/compiler/glsl/libglsl.a.p -Isrc/compiler/glsl -I../src/compiler/glsl -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler -I../src/compiler -Isrc/compiler/nir -I../src/compiler/nir -Isrc/util -I../src/util -I/home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -fvisibility=hidden -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.5"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o -MF src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o.d -o src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o -c ../src/compiler/glsl/glsl_to_nir.cpp In file included from ../src/compiler/nir/nir.h:41:0, from ../src/compiler/glsl/glsl_to_nir.h:31, from ../src/compiler/glsl/glsl_to_nir.cpp:29: ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator~(nir_variable_mode)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_variable_mode operator~(nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator~(nir_metadata)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_metadata operator~(nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:39:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:39:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ cc1plus: some warnings being treated as errors [347/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_cond_assign.cpp.o [348/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_swizzle.cpp.o [349/1111] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_constant_expression.cpp.o ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.5/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-3/buildroot'