>>> 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', '-O2', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-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 -Dgallium-extra-hud=true -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled -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 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) 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: 97 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 : 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 glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : disabled opengl : true osmesa : false platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : disabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-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/132] Generating src/git_sha1.h with a custom command [2/132] Compiling C object src/gallium/winsys/tegra/drm/libtegradrm.a.p/tegra_drm_winsys.c.o [3/132] Linking static target src/gallium/winsys/tegra/drm/libtegradrm.a [4/132] Generating src/compiler/nir/nir_intrinsics.h with a custom command [5/132] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [6/132] Compiling C object src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o [7/132] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_screen.c.o [8/132] Linking static target src/gallium/winsys/nouveau/drm/libnouveauwinsys.a [9/132] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_context.c.o [10/132] Linking static target src/gallium/drivers/tegra/libtegra.a [11/132] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [12/132] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [13/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_heap.c.o [14/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_bsp.c.o [15/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_fence.c.o [16/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_mm.c.o [17/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o [18/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_vp.c.o [19/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o [20/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o [21/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o [22/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o [23/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o [24/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o [25/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o [26/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o [27/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o [28/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o [29/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o [30/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o [31/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.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_screen.c.o [34/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o [35/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o [36/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o [37/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o [38/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o [39/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o [40/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o [41/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o [42/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o [43/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o [44/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o [45/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o [46/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o [47/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o [48/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o [49/132] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [50/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o [51/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [52/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o [53/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [54/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [55/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o [56/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o [57/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [58/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [59/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o [60/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o [61/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o [62/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o [63/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o [64/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o [65/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o [66/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o [67/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o [68/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o [69/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o [70/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.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/nv30_nvfx_fragprog.c.o [73/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_common.cpp.o [74/132] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_vertprog.c.o [75/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_bb.cpp.o [76/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/run/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/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -I/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm -I/home/buildroot/autobuild/run/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 -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 -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_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 -O2 -g0 -D_FORTIFY_SOURCE=2 -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:40: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: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: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_metadata operator|(nir_metadata, nir_metadata)': ../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:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ cc1plus: some warnings being treated as errors [77/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_build_util.cpp.o [78/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_graph.cpp.o [79/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_helper.cpp.o [80/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir.cpp.o [81/132] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [82/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nv50.cpp.o [83/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nv50.cpp.o [84/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_peephole.cpp.o [85/132] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_tgsi.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'