>>> mesa3d 21.3.1 Extracting xzcat /home/buildroot/autobuild/instance-2/dl/mesa3d/mesa-21.3.1.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1 -xf - >>> mesa3d 21.3.1 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt Hunk #1 succeeded at 133 (offset 10 lines). patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c Applying 0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch using patch: patching file src/util/futex.h Applying 0006-fix-valist.patch using patch: patching file src/util/u_printf.h Applying 0007-fix-cpp-detection.patch using patch: patching file include/c11_compat.h >>> mesa3d 21.3.1 Configuring rm -rf /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm926ej-s%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/home/buildroot/autobuild/instance-2/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/instance-2/output-1/host/lib/pkgconfig -Dgallium-omx=disabled -Dpower8=disabled -Db_asneeded=false -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=nouveau,tegra -Dgallium-extra-hud=true -Ddri-drivers= -Ddri3=disabled -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=enabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/ /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build The Meson build system Version: 0.60.2 Source dir: /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1 Build dir: /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/python3) Project name: mesa Project version: 21.3.1 C compiler for the host machine: /home/buildroot/autobuild/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/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/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/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 6.3.0 "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C linker for the build machine: /usr/bin/gcc ld.bfd 2.28 C++ compiler for the build machine: /usr/bin/g++ (gcc 6.3.0 "g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.28 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm926ej-s Target machine cpu family: arm Target machine cpu: arm926ej-s Program python3 found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/python3) WARNING: Broken python installation detected. Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.platlibdir" option. WARNING: Broken python installation detected. Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.purelibdir" option. Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : NO Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: NO Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" : compiles: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: NO Compiler for C supports arguments -Werror=int-conversion: NO Compiler for C supports arguments -Wimplicit-fallthrough: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: NO Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: NO Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C supports arguments -Wmicrosoft-enum-value: NO Checking if "GCC atomic builtins" : compiles: YES Checking if "GCC atomic builtins required -latomic" : links: YES Checking if "GCC 64bit atomics" with dependency not-found: links: YES Library ws2_32 found: NO Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : YES Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : NO Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : NO Checking for function "qsort_r" : YES Checking for function "qsort_s" : NO Header has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" : links: YES Checking if "Bsymbolic" : links: YES Checking if "gc-sections" : links: YES Checking if "version-script" : links: YES Checking if "dynamic-list" : links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /home/buildroot/autobuild/instance-2/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.1 Library m found: YES Message: libdrm 2.4.102 needed because nouveau has the highest requirement Run-time dependency libdrm_nouveau found: YES 2.4.109 Run-time dependency libdrm found: YES 2.4.109 Program bison found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/instance-2/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/flex) Run-time dependency libunwind found: YES 1.5.0 Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/src/compiler/isaspec/encode.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: nouveau tegra Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 96 mesa 21.3.1 User defined options Cross files : /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build/cross-compilation.conf build.pkg_config_path: /home/buildroot/autobuild/instance-2/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_asneeded : false b_pie : false dri-drivers : dri3 : disabled egl : disabled gallium-drivers : nouveau,tegra gallium-extra-hud : true gallium-omx : disabled gallium-opencl : disabled gallium-va : disabled gallium-vc4-neon : disabled gallium-vdpau : disabled gallium-xa : disabled gallium-xvmc : disabled gbm : disabled gles1 : disabled gles2 : disabled glx : disabled libunwind : enabled llvm : disabled lmsensors : disabled opengl : true osmesa : false platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : disabled Found ninja-1.10.2 at /home/buildroot/autobuild/instance-2/output-1/host/bin/ninja >>> mesa3d 21.3.1 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-2/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build ninja: Entering directory `/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1//build' [1/132] Generating src/git_sha1.h with a custom command [2/132] Generating src/compiler/nir/nir_intrinsics.h with a custom command [3/132] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [4/132] Compiling C object src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o [5/132] Linking static target src/gallium/winsys/nouveau/drm/libnouveauwinsys.a [6/132] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [7/132] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [8/132] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_screen.c.o [9/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o [10/132] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_context.c.o [11/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o [12/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o [13/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o [14/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_heap.c.o [15/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o [16/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_bsp.c.o [17/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_mm.c.o [18/132] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [19/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_fence.c.o [20/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [21/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o [22/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o [23/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [24/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [25/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [26/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [27/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o [28/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o [29/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o [30/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o [31/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_vp.c.o [32/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o [33/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o [34/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o [35/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o [36/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o [37/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o [38/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o [39/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o [40/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o [41/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o [42/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o [43/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o [44/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_fragprog.c.o [45/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o [46/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o [47/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o [48/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o [49/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o [50/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o [51/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o [52/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [53/132] Linking target src/mapi/shared-glapi/libglapi.so.0.0.0 [54/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o [55/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o [56/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o [57/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o [58/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_vertprog.c.o [59/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o [60/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o [61/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o [62/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o [63/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o [64/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o [65/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o [66/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o [67/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o [68/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o [69/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o [70/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o [71/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o [72/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o [73/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_helper.cpp.o [74/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_print.cpp.o [75/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -I/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm -I/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -DHAVE_LIBUNWIND -DHAVE_GALLIUM_EXTRA_HUD=1 -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o -c ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp In file included from ../src/compiler/nir/nir.h:41:0, from ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp:25: ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator~(nir_variable_mode)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_variable_mode operator~(nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator~(nir_metadata)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_metadata operator~(nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:3187:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:39:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:153:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ cc1plus: some warnings being treated as errors [76/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir.cpp.o [77/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_common.cpp.o [78/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_bb.cpp.o ninja: build stopped: subcommand failed. package/pkg-generic.mk:292: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/mesa3d-21.3.1/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'