>>> mesa3d 22.1.6 Extracting xzcat /home/buildroot/autobuild/run/instance-0/dl/mesa3d/mesa-22.1.6.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6 -xf - >>> mesa3d 22.1.6 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 131 (offset 8 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-util-remove-needless-c99-compat-h-includes.patch using patch: patching file src/util/bitscan.h patching file src/util/compiler.h patching file src/util/format_srgb.h patching file src/util/hash_table.h patching file src/util/list.h patching file src/util/macros.h patching file src/util/mesa-sha1.h patching file src/util/ptralloc.h Applying 0007-include-drop-c11-compat-h.patch using patch: patching file include/c11_compat.h patching file src/amd/common/ac_sqtt.h patching file src/imagination/vulkan/pvr_cmd_buffer.c patching file src/util/macros.h Applying 0008-Fix-uClibc-build.patch using patch: patching file src/egl/main/egldisplay.c patching file src/util/compiler.h >>> mesa3d 22.1.6 Configuring rm -rf /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm926ej-s%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/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-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=debug --cross-file=/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-0/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=freedreno,swrast -Dgallium-extra-hud=true -Dvulkan-drivers= -Dosmesa=true -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=enabled -Dzstd=enabled -Dglvnd=false /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/ /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build The Meson build system Version: 0.63.0 Source dir: /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6 Build dir: /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3) Project name: mesa Project version: 22.1.6 C compiler for the host machine: /home/buildroot/autobuild/run/instance-0/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-0/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-0/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-0/output-1/host/bin/arm-none-linux-gnueabi-g++ ld.bfd 2.24.51.20140217 C compiler for the build machine: /usr/bin/gcc (gcc 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.30 C++ compiler for the build machine: /usr/bin/g++ (gcc 7.5.0 "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.30 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm926ej-s Target machine cpu family: arm Target machine cpu: arm926ej-s ../output-1/build/mesa3d-22.1.6/meson.build:526: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default Program python3 found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3) 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 link arguments -Wl,--gc-sections: YES 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 -Wno-microsoft-enum-value: NO 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 -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES 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 -Wno-microsoft-enum-value: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: 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=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=gnu-empty-initializer: 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 "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO 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 "errno.h" 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-0/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.12 Run-time dependency libzstd found: YES 1.5.2 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.8 Library m found: YES Run-time dependency libdrm found: YES 2.4.112 Found CMake: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake (3.22.3) Run-time dependency libudev found: NO (tried pkgconfig and cmake) Program bison found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/flex) Library sensors found: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/encode.py) Run-time dependency lua54 found: NO (tried pkgconfig and cmake) Run-time dependency lua53 found: NO (tried pkgconfig and cmake) Run-time dependency lua52 found: NO (tried pkgconfig and cmake) Run-time dependency lua found: NO (tried pkgconfig and cmake) Run-time dependency libarchive found: NO (tried pkgconfig and cmake) Run-time dependency libxml-2.0 found: YES 2.9.14 Program gzip found: YES (/bin/gzip) Run-time dependency libconfig found: NO (tried pkgconfig and cmake) Run-time dependency ncurses found: YES 6.1.20200118 Checking for size of "size_t" : 4 Compiler for C supports arguments -Wpacked-bitfield-compat: YES Compiler for C++ supports arguments -Wpacked-bitfield-compat: YES WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa.pc' pkg-config file. WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa-uninstalled.pc' pkg-config file. Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: libOSMesa EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: freedreno swrast Gallium st: mesa HUD lmsensors: yes Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 159 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path', 'meson.has_exe_wrapper'} * 0.56.0: {'meson.source_root'} mesa 22.1.6 User defined options Cross files : /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-0/output-1/host/lib/pkgconfig buildtype : debug default_library : shared libdir : lib prefix : /usr strip : false b_asneeded : false b_pie : false dri3 : disabled egl : disabled gallium-drivers : freedreno,swrast 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 : disabled gles1 : disabled gles2 : disabled glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : enabled opengl : true osmesa : true platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : enabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja >>> mesa3d 22.1.6 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/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-0/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6//build' [1/1074] Generating src/git_sha1.h with a custom command [2/1074] Compiling C object src/util/libmesa_util.a.p/double.c.o [3/1074] 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/1074] Compiling C object src/util/libmesa_util.a.p/log.c.o [5/1074] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [6/1074] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [7/1074] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [8/1074] Compiling C object src/util/libmesa_util.a.p/compress.c.o [9/1074] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [10/1074] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [11/1074] Compiling C object src/util/libmesa_util.a.p/blob.c.o [12/1074] Compiling C object src/util/libmesa_util.a.p/dag.c.o [13/1074] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [14/1074] Compiling C object src/util/libmesa_util.a.p/debug.c.o [15/1074] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [16/1074] Generating src/util/u_indices_gen.c with a custom command (wrapped by meson to capture output) [17/1074] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [18/1074] 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; ^ [19/1074] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o [20/1074] Generating src/util/u_unfilled_gen.c with a custom command (wrapped by meson to capture output) [21/1074] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [22/1074] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [23/1074] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [24/1074] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [25/1074] Compiling C object src/util/libmesa_util.a.p/slab.c.o [26/1074] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o [27/1074] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o [28/1074] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [29/1074] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [30/1074] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [31/1074] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [32/1074] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [33/1074] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_unfilled_gen.c.o [34/1074] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o [35/1074] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [36/1074] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [37/1074] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [38/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [39/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [40/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [41/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_unpack_neon.c.o [42/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [43/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [44/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [45/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [46/1074] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [47/1074] Compiling C++ object src/util/libmesa_util.a.p/u_qsort.cpp.o [48/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [49/1074] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [50/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [51/1074] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [52/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [53/1074] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o [54/1074] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [55/1074] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o [56/1074] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [57/1074] Compiling C object src/util/libmesa_util.a.p/u_printf.c.o [58/1074] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [59/1074] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [60/1074] Compiling C object src/util/libmesa_util.a.p/u_hash_table.c.o [61/1074] Compiling C object src/util/libmesa_util.a.p/u_debug_refcnt.c.o [62/1074] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [63/1074] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [64/1074] Compiling C object src/util/libmesa_util.a.p/set.c.o [65/1074] Compiling C object src/util/libmesa_util.a.p/u_debug_describe.c.o [66/1074] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [67/1074] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [68/1074] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [69/1074] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [70/1074] Compiling C object src/util/libmesa_util.a.p/vma.c.o [71/1074] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [72/1074] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o [73/1074] Compiling C object src/util/libmesa_util.a.p/indices_u_primconvert.c.o [74/1074] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [75/1074] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [76/1074] Generating src/mapi/glapi/gen/glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [77/1074] Generating src/mapi/glapi/gen/api_save.h with a custom command (wrapped by meson to capture output) [78/1074] Generating src/mapi/glapi/gen/api_exec_init.c with a custom command (wrapped by meson to capture output) [79/1074] Generating src/mapi/glapi/gen/api_exec_decl.h with a custom command (wrapped by meson to capture output) [80/1074] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [81/1074] Generating src/mapi/glapi/gen/marshal_generated2.c with a custom command (wrapped by meson to capture output) [82/1074] Generating src/mapi/glapi/gen/api_vtxfmt_init.h with a custom command (wrapped by meson to capture output) [83/1074] Compiling C++ object src/compiler/libcompiler.a.p/glsl_types.cpp.o [84/1074] Generating src/mapi/glapi/gen/marshal_generated4.c with a custom command (wrapped by meson to capture output) [85/1074] Generating src/mapi/glapi/gen/marshal_generated3.c with a custom command (wrapped by meson to capture output) [86/1074] Generating src/mapi/glapi/gen/api_save_init.h with a custom command (wrapped by meson to capture output) [87/1074] Compiling C object src/compiler/libcompiler.a.p/shader_enums.c.o [88/1074] Generating src/compiler/spirv/spirv_info.c with a custom command [89/1074] Generating src/compiler/spirv/vtn_generator_ids.h with a custom command [90/1074] Generating src/mapi/glapi/gen/marshal_generated5.c with a custom command (wrapped by meson to capture output) [91/1074] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [92/1074] Generating src/compiler/spirv/vtn_gather_types.c with a custom command [93/1074] Compiling C++ object src/compiler/libcompiler.a.p/nir_types.cpp.o [94/1074] Linking static target src/compiler/libcompiler.a [95/1074] Compiling C object src/mapi/glapi/libglapi_static.a.p/.._entry.c.o [96/1074] Linking static target src/mapi/glapi/libglapi_static.a [97/1074] Generating src/mapi/glapi/gen/marshal_generated7.c with a custom command (wrapped by meson to capture output) [98/1074] Generating src/mapi/glapi/gen/marshal_generated6.c with a custom command (wrapped by meson to capture output) [99/1074] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_indices_gen.c.o [100/1074] Generating src/compiler/nir/nir_intrinsics.h with a custom command [101/1074] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [102/1074] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [103/1074] Generating src/compiler/glsl/glsl_lexer_cpp with a custom command [104/1074] Generating src/compiler/nir/nir_intrinsic.c with a custom command [105/1074] Generating src/compiler/glsl/glcpp/glcpp-lex.c with a custom command [106/1074] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [107/1074] Generating src/compiler/nir/nir_opcodes.c with a custom command (wrapped by meson to capture output) [108/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [109/1074] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [110/1074] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command [111/1074] Generating src/compiler/nir/nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [112/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [113/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [114/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [115/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_remove_dead_variables.c.o [116/1074] Generating src/compiler/glsl/glsl_parser with a custom command [117/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_split_var_copies.c.o [118/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_repair_ssa.c.o [119/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_split_per_member_structs.c.o [120/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_sysvals_to_varyings.c.o [121/1074] Generating src/compiler/glsl/ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [122/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_uniforms_to_ubo.c.o [123/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_spirv_info.c.o [124/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_divergence_analysis.c.o [125/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opcodes.c.o [126/1074] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [127/1074] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._format_srgb.c.o [128/1074] Linking static target src/util/libmesa_util.a [129/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_split_vars.c.o [130/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_vtn_gather_types.c.o [131/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_deref.c.o [132/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_builtin_builder.c.o [133/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_intrinsics.c.o [134/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_builder.c.o [135/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_clone.c.o [136/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_control_flow.c.o [137/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_ssa_types.c.o [138/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_convert_ycbcr.c.o [139/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_from_ssa.c.o [140/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_dominance.c.o [141/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_functions.c.o [142/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_info.c.o [143/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_uniforms.c.o [144/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_xfb_info.c.o [145/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_gs_count_vertices.c.o [146/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [147/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_group_loads.c.o [148/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_amul.c.o [149/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_liveness.c.o [150/1074] Compiling C object src/compiler/nir/libnir.a.p/nir.c.o [151/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_array_deref_of_vec.c.o [152/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_instr_set.c.o [153/1074] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [154/1074] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o [155/1074] Linking static target src/util/format/libmesa_format.a [156/1074] Linking target src/mapi/shared-glapi/libglapi.so.0.0.0 [157/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu.c.o [158/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alpha_test.c.o [159/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_atomics_to_ssbo.c.o [160/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_linking_helpers.c.o ../src/compiler/nir/nir_linking_helpers.c: In function 'nir_link_xfb_varyings': ../src/compiler/nir/nir_linking_helpers.c:961:4: warning: missing braces around initializer [-Wmissing-braces] nir_variable *input_vars[MAX_VARYING][4] = { 0 }; ^ ../src/compiler/nir/nir_linking_helpers.c:961:4: warning: (near initialization for 'input_vars[0]') [-Wmissing-braces] ../src/compiler/nir/nir_linking_helpers.c: In function 'replace_varying_input_by_uniform_load': ../src/compiler/nir/nir_linking_helpers.c:1261:13: warning: missing braces around initializer [-Wmissing-braces] nir_alu_src src = {0}; ^ ../src/compiler/nir/nir_linking_helpers.c:1261:13: warning: (near initialization for 'src.src') [-Wmissing-braces] [161/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_loop_analyze.c.o [162/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clamp_color_outputs.c.o [163/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bitmap.c.o [164/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu_to_scalar.c.o [165/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_bitsize.c.o [166/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_float.c.o [167/1074] Generating symbol file src/mapi/shared-glapi/libglapi.so.0.0.0.p/libglapi.so.0.0.0.symbols [168/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_int32.c.o [169/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flatshade.c.o [170/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_or_demote.c.o [171/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_blend.c.o [172/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flrp.c.o [173/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_cull_distance_arrays.c.o [174/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip.c.o [175/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_halfz.c.o [176/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_disable.c.o [177/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_if.c.o [178/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fb_read.c.o [179/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_variable_initializers.c.o [180/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcoord_wtrans.c.o [181/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcolor.c.o [182/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fp16_conv.c.o [183/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_frexp.c.o [184/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_double_ops.c.o [185/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_convert_alu_types.c.o [186/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_drawpixels.c.o [187/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_global_vars_to_local.c.o [188/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_idiv.c.o [189/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_load_const_to_scalar.c.o [190/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_locals_to_regs.c.o [191/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_input_attachments.c.o [192/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_image.c.o ../src/compiler/nir/nir_lower_image.c: In function 'lower_cube_size': ../src/compiler/nir/nir_lower_image.c:48:4: warning: missing braces around initializer [-Wmissing-braces] nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = { 0 }; ^ ../src/compiler/nir/nir_lower_image.c:48:4: warning: (near initialization for 'comps[0]') [-Wmissing-braces] [193/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_interpolation.c.o [194/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_goto_ifs.c.o [195/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_indirect_derefs.c.o [196/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int_to_float.c.o [197/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_gs_intrinsics.c.o [198/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_temporaries.c.o [199/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_is_helper_invocation.c.o [200/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_arrays_to_elements.c.o [201/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int64.c.o [202/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_patch_vertices.c.o [203/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_multiview.c.o [204/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memory_model.c.o [205/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_vector.c.o [206/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_non_uniform_access.c.o [207/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_scalar.c.o [208/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_phis_to_scalar.c.o [209/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memcpy.c.o [210/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_packing.c.o [211/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_mediump.c.o [212/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_passthrough_edgeflags.c.o [213/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_scratch.c.o [214/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_regs_to_ssa.c.o [215/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_pntc_ytransform.c.o [216/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size.c.o [217/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_readonly_images_to_tex.c.o [218/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_returns.c.o [219/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_printf.c.o [220/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size_mov.c.o [221/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_system_values.c.o [222/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_samplers.c.o [223/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_tex_shadow.c.o [224/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ssbo.c.o [225/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec3_to_vec4.c.o [226/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vars_to_ssa.c.o [227/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_to_source_mods.c.o [228/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_undef_to_zero.c.o [229/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_shader_calls.c.o [230/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_texcoord_replace.c.o [231/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec_to_movs.c.o [232/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_two_sided_color.c.o [233/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_move_vec_src_uses_to_dest.c.o [234/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io.c.o [235/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_viewport_transform.c.o [236/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_var_copies.c.o [237/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_access.c.o [238/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_normalize_cubemap_coords.c.o [239/1074] 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:423:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value min_shift[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:423:4: warning: (near initialization for 'min_shift[0]') [-Wmissing-braces] ../src/compiler/nir/nir_lower_subgroups.c:428:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value max_shift[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:428: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:504:4: warning: missing braces around initializer [-Wmissing-braces] nir_const_value min_idx[4] = { 0 }; ^ ../src/compiler/nir/nir_lower_subgroups.c:504:4: warning: (near initialization for 'min_idx[0]') [-Wmissing-braces] [240/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_center.c.o [241/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_metadata.c.o [242/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_write_vars.c.o [243/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wrmasks.c.o [244/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bit_size.c.o [245/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_propagate.c.o [246/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_ytransform.c.o [247/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_barriers.c.o [248/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_combine_stores.c.o ../src/compiler/nir/nir_opt_combine_stores.c: In function 'combine_stores': ../src/compiler/nir/nir_opt_combine_stores.c:127:4: warning: missing braces around initializer [-Wmissing-braces] nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = {0}; ^ ../src/compiler/nir/nir_opt_combine_stores.c:127:4: warning: (near initialization for 'comps[0]') [-Wmissing-braces] [249/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_comparison_pre.c.o [250/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_find_array_copies.c.o [251/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_cse.c.o [252/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_conditional_discard.c.o [253/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_constant_folding.c.o [254/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dce.c.o [255/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_fragdepth.c.o [256/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_cf.c.o [257/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_gcm.c.o [258/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_offsets.c.o [259/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ubo_vec4.c.o [260/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_tex.c.o ../src/compiler/nir/nir_lower_tex.c: In function 'lower_tg4_offsets': ../src/compiler/nir/nir_lower_tex.c:1092:4: warning: missing braces around initializer [-Wmissing-braces] nir_ssa_scalar dest[5] = { 0 }; ^ ../src/compiler/nir/nir_lower_tex.c:1092:4: warning: (near initialization for 'dest[0]') [-Wmissing-braces] [261/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_prop_vars.c.o [262/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_intrinsics.c.o [263/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_idiv_const.c.o [264/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_constant_expressions.c.o [265/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_large_constants.c.o [266/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_if.c.o [267/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_memcpy.c.o [268/1074] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [269/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move.c.o [270/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_phi_precision.c.o [271/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move_discards_to_top.c.o [272/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_ray_queries.c.o [273/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_preamble.c.o [274/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_trivial_continues.c.o [275/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_phi_builder.c.o [276/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_loop_unroll.c.o [277/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_remove_phis.c.o [278/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_rematerialize_compares.c.o [279/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_peephole_select.c.o [280/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_sink.c.o [281/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_shrink_stores.c.o [282/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_shrink_vectors.c.o ../src/compiler/nir/nir_opt_shrink_vectors.c: In function 'opt_shrink_vector': ../src/compiler/nir/nir_opt_shrink_vectors.c:117:4: warning: missing braces around initializer [-Wmissing-braces] nir_ssa_scalar srcs[NIR_MAX_VEC_COMPONENTS] = { 0 }; ^ ../src/compiler/nir/nir_opt_shrink_vectors.c:117:4: warning: (near initialization for 'srcs[0]') [-Wmissing-braces] [283/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_undef.c.o [284/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_uniform_atomics.c.o [285/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_propagate_invariant.c.o [286/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_load_store_vectorize.c.o [287/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_vectorize.c.o [288/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_schedule.c.o [289/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_search.c.o [290/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_to_lcssa.c.o [291/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_print.c.o [292/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_sweep.c.o [293/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_gl_spirv.c.o [294/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_load_libclc.c.o [295/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_worklist.c.o [296/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_lower_libclc.c.o [297/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_serialize.c.o [298/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_validate.c.o [299/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_glsl450.c.o [300/1074] Compiling C object src/compiler/nir/libnir.a.p/nir_range_analysis.c.o [301/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_alu.c.o [302/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_subgroup.c.o [303/1074] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o [304/1074] Generating src/compiler/glsl/float64_glsl.h with a custom command [305/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_amd.c.o [306/1074] Generating src/compiler/glsl/ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [307/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_cfg.c.o [308/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_opencl.c.o [309/1074] Generating src/freedreno/common/freedreno_devices.h with a custom command (wrapped by meson to capture output) [310/1074] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-lex.c.o [311/1074] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o [312/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_cond_assign.cpp.o [313/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_swizzle.cpp.o [314/1074] Linking static target src/compiler/glsl/glcpp/libglcpp.a [315/1074] Generating src/freedreno/registers/adreno.xml.h with a custom command (wrapped by meson to capture output) [316/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vector.cpp.o [317/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_subroutine.cpp.o [318/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_tess_level.cpp.o [319/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_variable_index_to_cond_assign.cpp.o [320/1074] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opt_algebraic.c.o [321/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_variables.cpp.o [322/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_type.cpp.o [323/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_variables.c.o [324/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_expr.cpp.o [325/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_array_index.cpp.o [326/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_function.cpp.o [327/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_builder.cpp.o [328/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_symbol_table.cpp.o [329/1074] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_images.c.o [330/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_types.cpp.o [331/1074] 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-0/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-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -fvisibility=hidden -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O0 -g -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_FREEDRENO -DHAVE_SWRAST -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DDEBUG -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=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 -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2 -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:40: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:221: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:2944: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:221: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:61:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../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:221: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:221: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 [332/1074] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers.c.o [333/1074] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_atomics.c.o [334/1074] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_buffers.c.o [335/1074] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_spirv_to_nir.c.o [336/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_parser.cpp.o [337/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/generate_ir.cpp.o [338/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_to_hir.cpp.o [339/1074] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_lexer.cpp.o [340/1074] 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-0/output-1/build/mesa3d-22.1.6/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.1.6/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'