>>> mesa3d 22.1.6 Extracting xzcat /home/buildroot/autobuild/run/instance-2/dl/mesa3d/mesa-22.1.6.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/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-2/output-1/build/mesa3d-22.1.6//build mkdir -p /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm920t%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-2/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-2/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=nouveau,tegra,virgl -Dgallium-extra-hud=true -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=enabled -Dglvnd=false /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/ /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6//build The Meson build system Version: 0.63.0 Source dir: /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6 Build dir: /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3) Project name: mesa Project version: 22.1.6 C compiler for the host machine: /home/buildroot/autobuild/run/instance-2/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-2/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-2/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-2/output-1/host/bin/arm-none-linux-gnueabi-g++ ld.bfd 2.24.51.20140217 C compiler for the build machine: /usr/bin/gcc (gcc 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.30 C++ compiler for the build machine: /usr/bin/g++ (gcc 7.5.0 "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.30 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm920t Target machine cpu family: arm Target machine cpu: arm920t ../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-2/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-2/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_nouveau found: YES 2.4.112 Run-time dependency libdrm found: YES 2.4.112 Found CMake: /home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/flex) Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/encode.py) Program ln found: YES (/bin/ln) Checking for function "mincore" : YES WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl.pc' pkg-config file. WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl-uninstalled.pc' pkg-config file. Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: no DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 EGL/Vulkan/VL platforms: surfaceless drm GBM: yes GBM backends path: /usr/lib/gbm Vulkan drivers: no llvm: no Gallium drivers: nouveau tegra virgl Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 112 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-2/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-2/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_asneeded : false b_pie : false dri3 : disabled egl : enabled gallium-drivers : nouveau,tegra,virgl gallium-extra-hud : true gallium-omx : disabled gallium-opencl : disabled gallium-va : disabled gallium-vc4-neon : disabled gallium-vdpau : disabled gallium-xa : disabled gallium-xvmc : disabled gbm : enabled gles1 : disabled gles2 : disabled glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : disabled opengl : true osmesa : false platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : enabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja >>> mesa3d 22.1.6 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6//build' [1/1039] Generating src/git_sha1.h with a custom command [2/1039] Compiling C object src/util/libmesa_util.a.p/double.c.o [3/1039] Compiling C object src/util/libmesa_util.a.p/compress.c.o [4/1039] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [5/1039] Generating src/util/driconf_static.h with a custom command [6/1039] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [7/1039] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o ../src/util/anon_file.c: In function 'os_create_anonymous_file': ../src/util/anon_file.c:144:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s/mesa-shared-%s-XXXXXX", path, debug_name); ^ ../src/util/anon_file.c:146:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s/mesa-shared-XXXXXX", path); ^ [8/1039] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o [9/1039] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [10/1039] Compiling C object src/util/libmesa_util.a.p/blob.c.o [11/1039] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o [12/1039] Compiling C object src/util/libmesa_util.a.p/dag.c.o [13/1039] Compiling C object src/util/libmesa_util.a.p/debug.c.o [14/1039] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [15/1039] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [16/1039] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [17/1039] 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; ^ [18/1039] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [19/1039] Compiling C object src/util/libmesa_util.a.p/log.c.o [20/1039] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [21/1039] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [22/1039] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [23/1039] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [24/1039] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [25/1039] Generating src/util/u_indices_gen.c with a custom command (wrapped by meson to capture output) [26/1039] Generating src/util/u_unfilled_gen.c with a custom command (wrapped by meson to capture output) [27/1039] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [28/1039] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o [29/1039] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [30/1039] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [31/1039] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [32/1039] Compiling C object src/util/libmesa_util.a.p/u_printf.c.o [33/1039] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [34/1039] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [35/1039] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [36/1039] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [37/1039] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [38/1039] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o [39/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_unpack_neon.c.o [40/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [41/1039] Compiling C++ object src/util/libmesa_util.a.p/u_qsort.cpp.o [42/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [43/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [44/1039] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_unfilled_gen.c.o [45/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [46/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [47/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [48/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [49/1039] Compiling C object src/util/libmesa_util.a.p/slab.c.o [50/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [51/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [52/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [53/1039] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [54/1039] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [55/1039] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o [56/1039] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [57/1039] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [58/1039] Compiling C object src/util/libmesa_util.a.p/u_debug_refcnt.c.o [59/1039] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [60/1039] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [61/1039] Compiling C object src/util/libmesa_util.a.p/set.c.o [62/1039] Compiling C object src/util/libmesa_util.a.p/u_debug_describe.c.o [63/1039] Compiling C object src/util/libmesa_util.a.p/u_hash_table.c.o [64/1039] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [65/1039] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [66/1039] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [67/1039] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [68/1039] Compiling C object src/util/libmesa_util.a.p/vma.c.o [69/1039] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [70/1039] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o In file included from ../src/util/format/u_format_s3tc.c:30:0: ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h: In function 'tx_compress_dxtn': ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:889:33: warning: 'alphatest[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] writedxt5encodedalphablock( blkaddr, (GLubyte)alphatest[0], (GLubyte)alphatest[1], alphaenc3 ); ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:575:12: note: 'alphatest[1]' was declared here GLshort alphatest[2]; ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:889:33: warning: 'alphatest[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] writedxt5encodedalphablock( blkaddr, (GLubyte)alphatest[0], (GLubyte)alphatest[1], alphaenc3 ); ^ ../src/util/format/../../mesa/main/texcompress_s3tc_tmp.h:575:12: note: 'alphatest[0]' was declared here GLshort alphatest[2]; ^ [71/1039] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o [72/1039] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [73/1039] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [74/1039] Compiling C object src/util/libmesa_util.a.p/indices_u_primconvert.c.o [75/1039] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [76/1039] Linking static target src/util/libxmlconfig.a [77/1039] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [78/1039] Generating src/mapi/glapi/gen/api_save.h with a custom command (wrapped by meson to capture output) [79/1039] Generating src/mapi/glapi/gen/api_exec_decl.h with a custom command (wrapped by meson to capture output) [80/1039] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [81/1039] Generating src/mapi/glapi/gen/api_save_init.h with a custom command (wrapped by meson to capture output) [82/1039] Generating src/mapi/glapi/gen/marshal_generated4.c with a custom command (wrapped by meson to capture output) [83/1039] Generating src/mapi/glapi/gen/api_exec_init.c with a custom command (wrapped by meson to capture output) [84/1039] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [85/1039] Generating src/mapi/glapi/gen/marshal_generated2.c with a custom command (wrapped by meson to capture output) [86/1039] Compiling C++ object src/compiler/libcompiler.a.p/nir_types.cpp.o [87/1039] Generating src/mapi/glapi/gen/marshal_generated3.c with a custom command (wrapped by meson to capture output) [88/1039] Generating src/mapi/glapi/gen/api_vtxfmt_init.h with a custom command (wrapped by meson to capture output) [89/1039] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [90/1039] Generating src/compiler/spirv/spirv_info.c with a custom command [91/1039] Generating src/compiler/spirv/vtn_generator_ids.h with a custom command [92/1039] Generating src/mapi/glapi/gen/marshal_generated5.c with a custom command (wrapped by meson to capture output) [93/1039] Compiling C object src/compiler/libcompiler.a.p/shader_enums.c.o [94/1039] Generating src/compiler/spirv/vtn_gather_types.c with a custom command [95/1039] Generating src/mapi/glapi/gen/marshal_generated6.c with a custom command (wrapped by meson to capture output) [96/1039] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [97/1039] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [98/1039] Generating src/compiler/nir/nir_opcodes.c with a custom command (wrapped by meson to capture output) [99/1039] Generating src/compiler/nir/nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [100/1039] Generating src/compiler/nir/nir_intrinsics.h with a custom command [101/1039] Generating src/compiler/glsl/glcpp/glcpp-lex.c with a custom command [102/1039] Compiling C++ object src/compiler/libcompiler.a.p/glsl_types.cpp.o [103/1039] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [104/1039] Linking static target src/compiler/libcompiler.a [105/1039] Generating src/compiler/nir/nir_intrinsic.c with a custom command [106/1039] Generating src/mapi/glapi/gen/marshal_generated7.c with a custom command (wrapped by meson to capture output) [107/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_metadata.c.o [108/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_schedule.c.o [109/1039] Generating src/compiler/glsl/glsl_parser with a custom command [110/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_search.c.o [111/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_range_analysis.c.o [112/1039] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [113/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [114/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opcodes.c.o [115/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_control_flow.c.o [116/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [117/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_spirv_info.c.o [118/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_convert_ycbcr.c.o [119/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [120/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [121/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [122/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._.._spirv_vtn_gather_types.c.o [123/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_intrinsics.c.o [124/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_dominance.c.o [125/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_builder.c.o [126/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_builtin_builder.c.o [127/1039] Compiling C object src/compiler/nir/libnir.a.p/nir.c.o [128/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_clone.c.o [129/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_divergence_analysis.c.o [130/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_info.c.o [131/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_xfb_info.c.o [132/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_group_loads.c.o [133/1039] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_indices_gen.c.o [134/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_deref.c.o [135/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_functions.c.o [136/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_gather_ssa_types.c.o [137/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_from_ssa.c.o [138/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_gs_count_vertices.c.o [139/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_inline_uniforms.c.o [140/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_liveness.c.o [141/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_instr_set.c.o [142/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_or_demote.c.o [143/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_halfz.c.o [144/1039] 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] [145/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_loop_analyze.c.o [146/1039] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [147/1039] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._format_srgb.c.o [148/1039] Linking static target src/util/libmesa_util.a [149/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alpha_test.c.o [150/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu_to_scalar.c.o [151/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_alu.c.o [152/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_atomics_to_ssbo.c.o [153/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_array_deref_of_vec.c.o [154/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bitmap.c.o [155/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_amul.c.o [156/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_float.c.o [157/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clamp_color_outputs.c.o [158/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_bitsize.c.o [159/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bool_to_int32.c.o [160/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_blend.c.o [161/1039] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o [162/1039] Linking static target src/util/format/libmesa_format.a [163/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_cull_distance_arrays.c.o [164/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip.c.o [165/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_clip_disable.c.o [166/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_discard_if.c.o [167/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_convert_alu_types.c.o [168/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_variable_initializers.c.o [169/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_drawpixels.c.o [170/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_double_ops.c.o [171/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcolor.c.o [172/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flatshade.c.o [173/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_gs_intrinsics.c.o [174/1039] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [175/1039] Linking target src/mapi/shared-glapi/libglapi.so.0.0.0 [176/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fb_read.c.o [177/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fragcoord_wtrans.c.o [178/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_global_vars_to_local.c.o [179/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_flrp.c.o [180/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_fp16_conv.c.o [181/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_frexp.c.o [182/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_load_const_to_scalar.c.o [183/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int_to_float.c.o [184/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_locals_to_regs.c.o [185/1039] 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] [186/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_indirect_derefs.c.o [187/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_idiv.c.o [188/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_goto_ifs.c.o [189/1039] Generating symbol file src/mapi/shared-glapi/libglapi.so.0.0.0.p/libglapi.so.0.0.0.symbols [190/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_input_attachments.c.o [191/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_int64.c.o [192/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_interpolation.c.o [193/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memory_model.c.o [194/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_arrays_to_elements.c.o [195/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_non_uniform_access.c.o [196/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_is_helper_invocation.c.o [197/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_multiview.c.o [198/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_temporaries.c.o [199/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_scalar.c.o [200/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_packing.c.o [201/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io_to_vector.c.o ../src/compiler/nir/nir_lower_io_to_vector.c: In function 'create_new_io_vars': ../src/compiler/nir/nir_lower_io_to_vector.c:207:29: warning: 'base' may be used uninitialized in this function [-Wmaybe-uninitialized] return glsl_array_type(glsl_vector_type(base, 4), slots, 0); ^ ../src/compiler/nir/nir_lower_io_to_vector.c:162:24: note: 'base' was declared here enum glsl_base_type base; ^ [202/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_mediump.c.o [203/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_memcpy.c.o [204/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_samplers.c.o [205/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_phis_to_scalar.c.o [206/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_scratch.c.o [207/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_passthrough_edgeflags.c.o [208/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size.c.o [209/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_printf.c.o [210/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_io.c.o [211/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_patch_vertices.c.o [212/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_point_size_mov.c.o [213/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ssbo.c.o [214/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_readonly_images_to_tex.c.o [215/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_pntc_ytransform.c.o [216/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_regs_to_ssa.c.o [217/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_returns.c.o [218/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_system_values.c.o [219/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_var_copies.c.o [220/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_to_source_mods.c.o [221/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec_to_movs.c.o [222/1039] 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] [223/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_shader_calls.c.o [224/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_undef_to_zero.c.o [225/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_texcoord_replace.c.o [226/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_tex_shadow.c.o [227/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_two_sided_color.c.o [228/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_move_vec_src_uses_to_dest.c.o [229/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vec3_to_vec4.c.o [230/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_normalize_cubemap_coords.c.o [231/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_vars_to_ssa.c.o [232/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_ubo_vec4.c.o [233/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_center.c.o [234/1039] 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] [235/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_viewport_transform.c.o [236/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wrmasks.c.o [237/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_wpos_ytransform.c.o [238/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_bit_size.c.o [239/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_sysvals_to_varyings.c.o [240/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_lower_uniforms_to_ubo.c.o [241/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_barriers.c.o [242/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_constant_folding.c.o [243/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_access.c.o [244/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dce.c.o [245/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_conditional_discard.c.o [246/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_propagate.c.o [247/1039] 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] [248/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_comparison_pre.c.o [249/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_cse.c.o [250/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_cf.c.o [251/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_fragdepth.c.o [252/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_dead_write_vars.c.o [253/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_copy_prop_vars.c.o [254/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_offsets.c.o [255/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_find_array_copies.c.o [256/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_gcm.c.o [257/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_loop_unroll.c.o [258/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_large_constants.c.o [259/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_intrinsics.c.o [260/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_idiv_const.c.o [261/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move.c.o [262/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_memcpy.c.o [263/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_phi_precision.c.o [264/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_move_discards_to_top.c.o [265/1039] 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] [266/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_if.c.o [267/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_peephole_select.c.o [268/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_ray_queries.c.o [269/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_uniform_atomics.c.o [270/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_load_store_vectorize.c.o [271/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_sink.c.o [272/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_remove_phis.c.o [273/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_shrink_stores.c.o [274/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_rematerialize_compares.c.o [275/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_trivial_continues.c.o [276/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_preamble.c.o [277/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_repair_ssa.c.o [278/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_phi_builder.c.o [279/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_undef.c.o [280/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_split_per_member_structs.c.o [281/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_remove_dead_variables.c.o [282/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_propagate_invariant.c.o [283/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_constant_expressions.c.o [284/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_opt_vectorize.c.o [285/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_split_var_copies.c.o [286/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_validate.c.o [287/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_sweep.c.o [288/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_worklist.c.o [289/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_to_lcssa.c.o [290/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_gl_spirv.c.o [291/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_load_libclc.c.o [292/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_glsl450.c.o [293/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_split_vars.c.o [294/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_nir_lower_libclc.c.o [295/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_print.c.o [296/1039] Generating src/compiler/glsl/glsl_lexer_cpp with a custom command [297/1039] Compiling C object src/compiler/nir/libnir.a.p/nir_serialize.c.o [298/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_amd.c.o [299/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_subgroup.c.o [300/1039] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command [301/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_alu.c.o [302/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_cfg.c.o [303/1039] Generating src/compiler/glsl/float64_glsl.h with a custom command [304/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_opencl.c.o [305/1039] Compiling C object src/loader/libloader.a.p/loader_dri_helper.c.o [306/1039] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o [307/1039] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_backend.c.o [308/1039] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_gbm.c.o [309/1039] Generating src/mesa/program/mesa_lex with a custom command [310/1039] Generating src/compiler/glsl/ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [311/1039] Compiling C object src/loader/libloader.a.p/loader.c.o [312/1039] Linking static target src/loader/libloader.a [313/1039] Generating src/compiler/glsl/ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [314/1039] Generating src/mesa/format_fallback.c with a custom command [315/1039] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o [316/1039] Compiling C object src/gbm/libgbm.so.1.0.0.p/backends_dri_gbm_dri.c.o [317/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_vtn_variables.c.o [318/1039] Generating src/mesa/program/program_parse_tab.[ch] with a custom command [319/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_cond_assign.cpp.o [320/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_vec_index_to_swizzle.cpp.o [321/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_variable_index_to_cond_assign.cpp.o [322/1039] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-lex.c.o [323/1039] Linking static target src/compiler/glsl/glcpp/libglcpp.a [324/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_subroutine.cpp.o [325/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers.c.o [326/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_images.c.o [327/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/lower_tess_level.cpp.o [328/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_atomics.c.o [329/1039] Compiling C object src/compiler/nir/libnir.a.p/.._spirv_spirv_to_nir.c.o [330/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_array_index.cpp.o [331/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_expr.cpp.o [332/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_type.cpp.o [333/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_types.cpp.o [334/1039] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [335/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_samplers_as_deref.c.o [336/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/builtin_variables.cpp.o [337/1039] Generating src/mesa/get_hash.h with a custom command (wrapped by meson to capture output) [338/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_function.cpp.o [339/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_atomics.c.o [340/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_parser.cpp.o [341/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_array_refcount.cpp.o [342/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_basic_block.cpp.o [343/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/generate_ir.cpp.o [344/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_lower_buffers.c.o [345/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_xfb.c.o [346/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_initializers.c.o [347/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniform_blocks.c.o [348/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_linker.c.o [349/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_symbol_table.cpp.o [350/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/hir_field_selection.cpp.o [351/1039] Compiling C object src/compiler/glsl/libglsl.a.p/gl_nir_link_uniforms.c.o [352/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_equals.cpp.o [353/1039] 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-2/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-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -fvisibility=hidden -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O3 -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_NOUVEAU -DHAVE_TEGRA -DHAVE_VIRGL -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -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 -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 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o -MF src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o.d -o src/compiler/glsl/libglsl.a.p/glsl_to_nir.cpp.o -c ../src/compiler/glsl/glsl_to_nir.cpp In file included from ../src/compiler/nir/nir.h: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, 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 [354/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_expression_flattening.cpp.o [355/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_builder.cpp.o [356/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ast_to_hir.cpp.o [357/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_clone.cpp.o [358/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/glsl_parser_extras.cpp.o [359/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/ir_constant_expression.cpp.o [360/1039] Compiling C object src/compiler/nir/libnir.a.p/meson-generated_.._nir_opt_algebraic.c.o [361/1039] Compiling C++ object src/compiler/glsl/libglsl.a.p/meson-generated_.._glsl_lexer.cpp.o [362/1039] 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-2/output-1/build/mesa3d-22.1.6/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/mesa3d-22.1.6/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'