>>> mesa3d 21.3.8 Extracting xzcat /home/buildroot/autobuild/run/instance-3/dl/mesa3d/mesa-21.3.8.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8 -xf - >>> mesa3d 21.3.8 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.8 Configuring rm -rf /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//build mkdir -p /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//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@%arm920t%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.8//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.8//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=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=etnaviv,panfrost,virgl -Dgallium-extra-hud=true -Ddri-drivers= -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled -Dglvnd=false /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8/ /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//build The Meson build system Version: 0.62.1 Source dir: /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8 Build dir: /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8/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.8 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: arm920t Target machine cpu family: arm Target machine cpu: arm920t Program python3 found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3) 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 threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.7 Library m found: YES Run-time dependency libdrm found: YES 2.4.110 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) 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.8/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.8/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8/src/compiler/isaspec/encode.py) Checking for function "mincore" : YES WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl.pc' pkg-config file. WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl-uninstalled.pc' pkg-config file. Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: no DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 EGL/Vulkan/VL platforms: surfaceless drm GBM: yes GBM backends path: /usr/lib/gbm Vulkan drivers: no llvm: no Gallium drivers: etnaviv panfrost virgl Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 151 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} * 0.56.0: {'meson.source_root'} mesa 21.3.8 User defined options Cross files : /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//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 : dri3 : disabled egl : enabled gallium-drivers : etnaviv,panfrost,virgl 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 : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : disabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja >>> mesa3d 21.3.8 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 -C /home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8//build' [1/1151] Generating src/git_sha1.h with a custom command [2/1151] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [3/1151] 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); ^ [4/1151] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [5/1151] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [6/1151] Generating src/util/driconf_static.h with a custom command [7/1151] Compiling C object src/util/libmesa_util.a.p/compress.c.o [8/1151] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [9/1151] Compiling C object src/util/libmesa_util.a.p/blob.c.o [10/1151] 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; ^ [11/1151] Compiling C object src/util/libmesa_util.a.p/double.c.o [12/1151] Compiling C object src/util/libmesa_util.a.p/dag.c.o [13/1151] Compiling C object src/util/libmesa_util.a.p/debug.c.o [14/1151] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [15/1151] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [16/1151] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [17/1151] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [18/1151] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [19/1151] Compiling C object src/util/libmesa_util.a.p/log.c.o [20/1151] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o [21/1151] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [22/1151] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [23/1151] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [24/1151] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o [25/1151] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [26/1151] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o [27/1151] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o [28/1151] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [29/1151] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [30/1151] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [31/1151] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [32/1151] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [33/1151] Compiling C object src/util/libmesa_util.a.p/set.c.o [34/1151] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [35/1151] Compiling C object src/util/libmesa_util.a.p/u_debug_describe.c.o [36/1151] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [37/1151] Compiling C object src/util/libmesa_util.a.p/slab.c.o [38/1151] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [39/1151] Compiling C object src/util/libmesa_util.a.p/u_hash_table.c.o [40/1151] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o [41/1151] Compiling C++ object src/util/libmesa_util.a.p/u_qsort.cpp.o [42/1151] Compiling C object src/util/libmesa_util.a.p/u_debug_refcnt.c.o [43/1151] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [44/1151] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [45/1151] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [46/1151] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [47/1151] Compiling C object src/util/libmesa_util.a.p/vma.c.o [48/1151] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [49/1151] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [50/1151] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [51/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [52/1151] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o [53/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [54/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [55/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_unpack_neon.c.o [56/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [57/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [58/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [59/1151] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [60/1151] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [61/1151] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [62/1151] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [63/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [64/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [65/1151] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [66/1151] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [67/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [68/1151] Compiling C++ object src/util/libmesa_util.a.p/u_printf.cpp.o [69/1151] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [70/1151] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [71/1151] Linking static target src/util/libxmlconfig.a [72/1151] 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]; ^ [73/1151] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [74/1151] Compiling C object src/compiler/libcompiler.a.p/shader_enums.c.o [75/1151] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [76/1151] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [77/1151] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [78/1151] Generating src/mapi/glapi/gen/marshal_generated2.c with a custom command (wrapped by meson to capture output) [79/1151] Generating src/mapi/glapi/gen/api_exec.c with a custom command (wrapped by meson to capture output) [80/1151] Generating src/mapi/glapi/gen/marshal_generated5.c with a custom command (wrapped by meson to capture output) [81/1151] Generating src/mapi/glapi/gen/marshal_generated7.c with a custom command (wrapped by meson to capture output) [82/1151] Generating src/compiler/spirv/vtn_gather_types.c with a custom command [83/1151] Generating src/compiler/spirv/spirv_info.c with a custom command [84/1151] Generating src/compiler/spirv/vtn_generator_ids.h with a custom command [85/1151] Compiling C++ object src/compiler/libcompiler.a.p/glsl_types.cpp.o [86/1151] Compiling C++ object src/compiler/libcompiler.a.p/nir_types.cpp.o [87/1151] Linking static target src/compiler/libcompiler.a [88/1151] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [89/1151] Generating src/mapi/glapi/gen/marshal_generated6.c with a custom command (wrapped by meson to capture output) [90/1151] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [91/1151] Generating src/compiler/nir/nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [92/1151] Generating src/compiler/nir/nir_intrinsics.h with a custom command [93/1151] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [94/1151] Generating src/compiler/nir/nir_intrinsic.c with a custom command [95/1151] Generating src/compiler/nir/nir_opcodes.c with a custom command (wrapped by meson to capture output) [96/1151] Generating src/mapi/glapi/gen/marshal_generated3.c with a custom command (wrapped by meson to capture output) [97/1151] Generating src/mapi/glapi/gen/marshal_generated4.c with a custom command (wrapped by meson to capture output) [98/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_cse.c.o [99/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_amd.c.o [100/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_lower_libclc.c.o [101/1151] Generating src/panfrost/bifrost/bi_builder.h with a custom command (wrapped by meson to capture output) [102/1151] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [103/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dce.c.o [104/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_clone.c.o [105/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [106/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [107/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [108/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_cfg.c.o [109/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_control_flow.c.o [110/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_spirv_info.c.o [111/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [112/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [113/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opcodes.c.o [114/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_intrinsics.c.o [115/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_vtn_gather_types.c.o [116/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_xfb_info.c.o [117/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_uniforms.c.o [118/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_builtin_builder.c.o [119/1151] Compiling C object src/compiler/nir/libnir.a.p/nir.c.o [120/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_divergence_analysis.c.o [121/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_convert_ycbcr.c.o [122/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_dominance.c.o [123/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_deref.c.o [124/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_info.c.o [125/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_from_ssa.c.o [126/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_gs_count_vertices.c.o [127/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_ssa_types.c.o [128/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_functions.c.o [129/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_amul.c.o [130/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_blend.c.o [131/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_array_deref_of_vec.c.o [132/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_liveness.c.o [133/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_instr_set.c.o [134/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu.c.o [135/1151] 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] [136/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu_to_scalar.c.o [137/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_loop_analyze.c.o [138/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alpha_test.c.o [139/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_int32.c.o [140/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_atomics_to_ssbo.c.o [141/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bitmap.c.o [142/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_float.c.o [143/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_bitsize.c.o [144/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_variable_initializers.c.o [145/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_cull_distance_arrays.c.o [146/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_disable.c.o [147/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip.c.o [148/1151] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [149/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clamp_color_outputs.c.o [150/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_halfz.c.o [151/1151] Linking target src/mapi/shared-glapi/libglapi.so.0.0.0 [152/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_convert_alu_types.c.o [153/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcolor.c.o [154/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_or_demote.c.o [155/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_goto_ifs.c.o [156/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_drawpixels.c.o [157/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flatshade.c.o [158/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_double_ops.c.o [159/1151] Generating symbol file src/mapi/shared-glapi/libglapi.so.0.0.0.p/libglapi.so.0.0.0.symbols [160/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fb_read.c.o [161/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flrp.c.o [162/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcoord_wtrans.c.o [163/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fp16_conv.c.o [164/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_frexp.c.o [165/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_global_vars_to_local.c.o [166/1151] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [167/1151] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._format_srgb.c.o [168/1151] Linking static target src/util/libmesa_util.a [169/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_interpolation.c.o [170/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_load_const_to_scalar.c.o [171/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_idiv.c.o [172/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_gs_intrinsics.c.o [173/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_locals_to_regs.c.o [174/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int64.c.o [175/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_image.c.o [176/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_indirect_derefs.c.o [177/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int_to_float.c.o [178/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_input_attachments.c.o [179/1151] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o [180/1151] Linking static target src/util/format/libmesa_format.a [181/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_temporaries.c.o [182/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_arrays_to_elements.c.o [183/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_is_helper_invocation.c.o [184/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_phis_to_scalar.c.o [185/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_scalar.c.o [186/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_multiview.c.o [187/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_pntc_ytransform.c.o [188/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_non_uniform_access.c.o [189/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memory_model.c.o [190/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memcpy.c.o [191/1151] 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/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_packing.c.o [193/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size.c.o [194/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_passthrough_edgeflags.c.o [195/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_patch_vertices.c.o [196/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_mediump.c.o [197/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_system_values.c.o [198/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_samplers.c.o [199/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io.c.o [200/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size_mov.c.o [201/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_printf.c.o [202/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_regs_to_ssa.c.o [203/1151] 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] [204/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_readonly_images_to_tex.c.o [205/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_returns.c.o [206/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_scratch.c.o [207/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ssbo.c.o [208/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_to_source_mods.c.o [209/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_viewport_transform.c.o [210/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_var_copies.c.o [211/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_undef_to_zero.c.o [212/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_two_sided_color.c.o [213/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_shader_calls.c.o [214/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec_to_movs.c.o [215/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_texcoord_replace.c.o [216/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec3_to_vec4.c.o [217/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_metadata.c.o [218/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_move_vec_src_uses_to_dest.c.o [219/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vars_to_ssa.c.o [220/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_uniforms_to_ubo.c.o [221/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_center.c.o [222/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_sysvals_to_varyings.c.o [223/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_ytransform.c.o [224/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wrmasks.c.o [225/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_tex.c.o [226/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_barriers.c.o [227/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bit_size.c.o [228/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ubo_vec4.c.o [229/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_propagate.c.o [230/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_access.c.o [231/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_conditional_discard.c.o [232/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_normalize_cubemap_coords.c.o [233/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_combine_stores.c.o [234/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_constant_folding.c.o [235/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_write_vars.c.o [236/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_cf.c.o [237/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_comparison_pre.c.o [238/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_find_array_copies.c.o [239/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_gcm.c.o [240/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_intrinsics.c.o [241/1151] Compiling C object src/panfrost/bifrost/libpanfrost_bifrost_disasm.a.p/disassemble.c.o [242/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_large_constants.c.o [243/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_prop_vars.c.o [244/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_fragdepth.c.o [245/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_constant_expressions.c.o [246/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_idiv_const.c.o [247/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_undef.c.o [248/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_remove_phis.c.o [249/1151] Generating src/panfrost/bifrost/bifrost_nir_algebraic.c with a custom command (wrapped by meson to capture output) [250/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move.c.o [251/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_uniform_atomics.c.o [252/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_loop_unroll.c.o [253/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_memcpy.c.o [254/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_if.c.o [255/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move_discards_to_top.c.o [256/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_offsets.c.o [257/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_sink.c.o [258/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_rematerialize_compares.c.o [259/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_phi_precision.c.o [260/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_trivial_continues.c.o [261/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_peephole_select.c.o [262/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_shrink_vectors.c.o [263/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_split_var_copies.c.o [264/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_vectorize.c.o [265/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_propagate_invariant.c.o [266/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_phi_builder.c.o [267/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_schedule.c.o [268/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_load_store_vectorize.c.o [269/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_remove_dead_variables.c.o [270/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_repair_ssa.c.o [271/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_sweep.c.o [272/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_validate.c.o [273/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_print.c.o [274/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_split_vars.c.o [275/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_to_lcssa.c.o [276/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_split_per_member_structs.c.o [277/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_range_analysis.c.o [278/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_search.c.o [279/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_worklist.c.o [280/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_load_libclc.c.o [281/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_subgroup.c.o [282/1151] Generating src/compiler/glsl/glcpp/glcpp-lex.c with a custom command [283/1151] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command [284/1151] Compiling C object src/compiler/nir/libnir.a.p/nir_serialize.c.o [285/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_gl_spirv.c.o [286/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_opencl.c.o [287/1151] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o [288/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_glsl450.c.o [289/1151] Generating src/compiler/glsl/glsl_lexer_cpp with a custom command [290/1151] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [291/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_alu.c.o [292/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o [293/1151] Generating src/compiler/glsl/float64_glsl.h with a custom command [294/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o [295/1151] Generating src/compiler/glsl/ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [296/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o [297/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o [298/1151] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o [299/1151] Generating src/compiler/glsl/glsl_parser with a custom command [300/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o [301/1151] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-lex.c.o [302/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o [303/1151] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o [304/1151] Compiling C object src/panfrost/shared/libpanfrost_shared.a.p/pan_minmax_cache.c.o [305/1151] Linking static target src/compiler/glsl/glcpp/libglcpp.a [306/1151] Linking static target src/etnaviv/drm/libetnaviv_drm.a [307/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/lcra.c.o [308/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/nir_mod_helpers.c.o [309/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/pan_ir.c.o [310/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/pan_liveness.c.o [311/1151] Generating src/compiler/glsl/ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [312/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_variables.c.o [313/1151] Compiling C object src/panfrost/shared/libpanfrost_shared.a.p/pan_tiling.c.o [314/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/pan_lower_helper_invocation.c.o [315/1151] Compiling C object src/panfrost/midgard/libpanfrost_midgard_disasm.a.p/disassemble.c.o [316/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_output_reads.cpp.o [317/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vector_insert.cpp.o [318/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/pan_lower_sample_position.c.o [319/1151] Generating src/panfrost/midgard/midgard_nir_algebraic.c with a custom command (wrapped by meson to capture output) [320/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vertex_id.cpp.o [321/1151] Compiling C object src/panfrost/util/libpanfrost_util.a.p/pan_lower_framebuffer.c.o [322/1151] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_spirv_to_nir.c.o [323/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_expr.cpp.o [324/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_array_index.cpp.o [325/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_type.cpp.o [326/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_variables.cpp.o [327/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_images.c.o [328/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_types.cpp.o [329/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_buffers.c.o [330/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_atomics.c.o [331/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_function.cpp.o [332/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers.c.o [333/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers_as_deref.c.o [334/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/generate_ir.cpp.o [335/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_offset_array.cpp.o [336/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_blocks.c.o [337/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_packed_varyings.cpp.o [338/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_initializers.c.o [339/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_atomics.c.o [340/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_parser.cpp.o [341/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_xfb.c.o [342/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_linker.c.o [343/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_symbol_table.cpp.o [344/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_array_refcount.cpp.o [345/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_instructions.cpp.o [346/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_basic_block.cpp.o [347/1151] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opt_algebraic.c.o [348/1151] Linking static target src/compiler/nir/libnir.a [349/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_to_hir.cpp.o [350/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/hir_field_selection.cpp.o [351/1151] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniforms.c.o [352/1151] 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.8"' '-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_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -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 [353/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_expression_flattening.cpp.o [354/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_equals.cpp.o [355/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_builder.cpp.o [356/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_clone.cpp.o [357/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_parser_extras.cpp.o [358/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir.cpp.o [359/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_constant_expression.cpp.o [360/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_lexer.cpp.o [361/1151] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_functions.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.8/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/mesa3d-21.3.8/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-3/buildroot'