>>> mesa3d 21.0.3 Extracting xzcat /tmp/instance-2/dl/mesa3d/mesa-21.0.3.tar.xz | tar --strip-components=1 -C /tmp/instance-2/output-1/build/mesa3d-21.0.3 -xf - >>> mesa3d 21.0.3 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 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 >>> mesa3d 21.0.3 Configuring rm -rf /tmp/instance-2/output-1/build/mesa3d-21.0.3//build mkdir -p /tmp/instance-2/output-1/build/mesa3d-21.0.3//build sed -e 's%@TARGET_CROSS@%/tmp/instance-2/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-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', '-Os', '-D_FORTIFY_SOURCE=2'%g" -e 's%@HOST_DIR@%/tmp/instance-2/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-2/output-1/build/mesa3d-21.0.3//build/cross-compilation.conf PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-2/output-1/build/mesa3d-21.0.3//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-2/output-1/host/lib/pkgconfig -Dgallium-omx=disabled -Dpower8=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=etnaviv -Dgallium-extra-hud=true -Ddri-drivers= -Ddri3=disabled -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms=wayland -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /tmp/instance-2/output-1/build/mesa3d-21.0.3/ /tmp/instance-2/output-1/build/mesa3d-21.0.3//build The Meson build system Version: 0.57.2 Source dir: /tmp/instance-2/output-1/build/mesa3d-21.0.3 Build dir: /tmp/instance-2/output-1/build/mesa3d-21.0.3/build Build type: cross build Program python found: YES (/tmp/instance-2/output-1/host/bin/python) Project name: mesa Project version: 21.0.3 C compiler for the host machine: /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-2/output-1/host/bin/riscv32-linux-g++ (gcc 10.2.0 "riscv32-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C++ linker for the host machine: /tmp/instance-2/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Found CMake: NO Run-time dependency clang found: NO (tried cmake) Program python3 found: YES (/tmp/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" : YES 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: YES 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: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES 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=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: YES 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: YES 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: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic links: NO 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 "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "execinfo.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" : YES Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES 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: /tmp/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 Run-time dependency libdrm found: YES 2.4.106 Program bison found: YES (/tmp/instance-2/output-1/host/bin/bison) Program bison found: YES 3.7.6 (/tmp/instance-2/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-2/output-1/host/bin/flex) Found pkg-config: /tmp/instance-2/output-1/host/bin/pkg-config (1.6.3) Build-time dependency wayland-scanner found: YES 1.18.0 Program /tmp/instance-2/output-1/host/bin/wayland-scanner found: YES (/tmp/instance-2/output-1/host/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.20 Run-time dependency wayland-client found: YES 1.18.0 Run-time dependency wayland-server found: YES 1.18.0 Run-time dependency wayland-egl-backend found: YES 3 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 (/usr/bin/env python /tmp/instance-2/output-1/build/mesa3d-21.0.3/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-2/output-1/host/bin/python3 /tmp/instance-2/output-1/build/mesa3d-21.0.3/bin/install_megadrivers.py) Checking for function "mincore" : YES Program /tmp/instance-2/output-1/build/mesa3d-21.0.3/bin/install_megadrivers.py found: YES (/tmp/instance-2/output-1/host/bin/python3 /tmp/instance-2/output-1/build/mesa3d-21.0.3/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: no DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 GBM: yes EGL/Vulkan/VL platforms: wayland surfaceless drm Vulkan drivers: no llvm: no Gallium drivers: etnaviv Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Build targets in project: 110 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-2/output-1/host/bin/ninja >>> mesa3d 21.0.3 Building PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-2/output-1/host/bin/ninja -j96 -C /tmp/instance-2/output-1/build/mesa3d-21.0.3//build ninja: Entering directory `/tmp/instance-2/output-1/build/mesa3d-21.0.3//build' [1/958] Generating git_sha1.h with a custom command [2/958] Generating u_format_pack.h with a custom command (wrapped by meson to capture output) [3/958] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [4/958] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [5/958] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o [6/958] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [7/958] Compiling C object src/util/libmesa_util.a.p/blob.c.o [8/958] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [9/958] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [10/958] Compiling C object src/util/libmesa_util.a.p/dag.c.o [11/958] Compiling C object src/util/libmesa_util.a.p/debug.c.o [12/958] Compiling C object src/util/libmesa_util.a.p/double.c.o [13/958] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [14/958] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [15/958] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [16/958] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [17/958] Compiling C object src/util/libmesa_util.a.p/log.c.o [18/958] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [19/958] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [20/958] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [21/958] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [22/958] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [23/958] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [24/958] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [25/958] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [26/958] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [27/958] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [28/958] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [29/958] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [30/958] Compiling C object src/util/libmesa_util.a.p/set.c.o [31/958] Compiling C object src/util/libmesa_util.a.p/slab.c.o [32/958] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [33/958] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [34/958] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [35/958] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [36/958] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [37/958] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [38/958] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [39/958] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [40/958] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [41/958] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [42/958] Compiling C object src/util/libmesa_util.a.p/vma.c.o [43/958] Generating spirv_info.c with a custom command [44/958] Generating vtn_generator_ids.h with a custom command [45/958] Generating vtn_gather_types.c with a custom command [46/958] Generating nir_intrinsics.h with a custom command [47/958] Generating nir_intrinsics_indices.h with a custom command [48/958] Generating nir_intrinsic.c with a custom command [49/958] Generating glcpp-lex.c with a custom command [50/958] Generating glsl_lexer_cpp with a custom command [51/958] Generating wayland-drm-protocol.c with a custom command [52/958] Generating wayland-drm-client-protocol.h with a custom command [53/958] Generating wayland-drm-server-protocol.h with a custom command [54/958] Generating linux-dmabuf-unstable-v1-protocol.c with a custom command [55/958] Generating linux-dmabuf-unstable-v1-client-protocol.h with a custom command [56/958] Generating u_format_table.c with a custom command (wrapped by meson to capture output) [57/958] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o FAILED: src/util/libmesa_util.a.p/disk_cache_os.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache_os.c.o -MF src/util/libmesa_util.a.p/disk_cache_os.c.o.d -o src/util/libmesa_util.a.p/disk_cache_os.c.o -c ../src/util/disk_cache_os.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache_os.c:208: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [58/958] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o FAILED: src/util/libmesa_util.a.p/disk_cache.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache.c.o -MF src/util/libmesa_util.a.p/disk_cache.c.o.d -o src/util/libmesa_util.a.p/disk_cache.c.o -c ../src/util/disk_cache.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache.c:49: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [59/958] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [60/958] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o ../src/util/u_atomic.c:38:1: warning: conflicting types for built-in function '__sync_add_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 38 | __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:51:1: warning: conflicting types for built-in function '__sync_sub_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 51 | __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:64:1: warning: conflicting types for built-in function '__sync_val_compare_and_swap_8'; expected 'long long unsigned int(volatile void *, long long unsigned int, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 64 | __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [61/958] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o FAILED: src/util/libmesa_util.a.p/u_queue.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/u_queue.c.o -MF src/util/libmesa_util.a.p/u_queue.c.o.d -o src/util/libmesa_util.a.p/u_queue.c.o -c ../src/util/u_queue.c In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [62/958] Compiling C++ object src/util/libmesa_util.a.p/u_printf.cpp.o [63/958] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [64/958] Generating ir_expression_operation.h with a custom command (wrapped by meson to capture output) [65/958] Generating nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [66/958] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [67/958] Generating ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [68/958] Generating float64_glsl.h with a custom command [69/958] Generating glcpp-parse.[ch] with a custom command [70/958] Generating glsl_parser with a custom command [71/958] Generating mesa_lex with a custom command [72/958] Generating format_fallback.c with a custom command [73/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [74/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [75/958] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [76/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [77/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [78/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [79/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [80/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [81/958] Compiling C object src/mesa/drivers/dri/common/libmegadriver_stub.a.p/megadriver_stub.c.o [82/958] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_backend.c.o [83/958] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_gbm.c.o [84/958] Compiling C object src/loader/libloader.a.p/loader.c.o [85/958] Compiling C object src/loader/libloader.a.p/pci_id_driver_map.c.o [86/958] Generating u_tracepoints.c with a custom command [87/958] Generating u_tracepoints.h with a custom command [88/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_csc.c.o [89/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_decoder.c.o [90/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_gpu.c.o -c ../src/etnaviv/drm/etnaviv_gpu.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_gpu.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [91/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo.c.o -c ../src/etnaviv/drm/etnaviv_bo.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [92/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_device.c.o -c ../src/etnaviv/drm/etnaviv_device.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_device.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [93/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_bo_cache.c.o -c ../src/etnaviv/drm/etnaviv_bo_cache.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo_cache.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_bo_cache.c:27: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [94/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_perfmon.c.o -c ../src/etnaviv/drm/etnaviv_perfmon.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_perfmon.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [95/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_pipe.c.o -c ../src/etnaviv/drm/etnaviv_pipe.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_pipe.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [96/958] Compiling C object src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o FAILED: src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/etnaviv/drm/libetnaviv_drm.a.p -Isrc/etnaviv/drm -I../src/etnaviv/drm -Isrc/etnaviv -I../src/etnaviv -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -Wno-override-init -MD -MQ src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o -MF src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o.d -o src/etnaviv/drm/libetnaviv_drm.a.p/etnaviv_cmd_stream.c.o -c ../src/etnaviv/drm/etnaviv_cmd_stream.c In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_cmd_stream.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/etnaviv/drm/etnaviv_priv.h:44, from ../src/etnaviv/drm/etnaviv_cmd_stream.c:31: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [97/958] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -c ../src/mesa/drivers/dri/common/utils.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/common/utils.c:38: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [98/958] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o /tmp/instance-2/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -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_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -c ../src/mesa/drivers/dri/common/dri_util.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/extensions.h:39, from ../src/mesa/main/context.h:54, from ../src/mesa/drivers/dri/common/utils.h:33, from ../src/mesa/drivers/dri/common/dri_util.c:44: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [99/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_compositor_cs.c.o [100/958] Generating nir_opcodes.c with a custom command (wrapped by meson to capture output) [101/958] Generating ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [102/958] Compiling C object src/gallium/winsys/sw/null/libws_null.a.p/null_sw_winsys.c.o [103/958] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/meson-generated_.._wayland-drm-protocol.c.o [104/958] Generating program_parse_tab.[ch] with a custom command [105/958] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader_drm.c.o [106/958] Generating format_info.h with a custom command (wrapped by meson to capture output) [107/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_compositor.c.o [108/958] Compiling C object src/egl/libEGL.so.1.0.0.p/meson-generated_.._wayland_wayland-drm_linux-dmabuf-unstable-v1-protocol.c.o [109/958] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader.c.o [110/958] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader_sw.c.o [111/958] Compiling C object src/gallium/winsys/sw/dri/libswdri.a.p/dri_sw_winsys.c.o [112/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_bicubic_filter.c.o [113/958] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [114/958] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/wayland-drm.c.o [115/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_vertex_buffers.c.o [116/958] Generating enums.c with a custom command (wrapped by meson to capture output) [117/958] Compiling C object src/gallium/winsys/sw/kms-dri/libswkmsdri.a.p/kms_dri_sw_winsys.c.o [118/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_matrix_filter.c.o [119/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [120/958] Compiling C object src/gbm/libgbm.so.1.0.0.p/backends_dri_gbm_dri.c.o [121/958] Compiling C object src/gallium/winsys/sw/wrapper/libwsw.a.p/wrapper_sw_winsys.c.o [122/958] Generating u_unfilled_gen.c with a custom command (wrapped by meson to capture output) [123/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mpeg12_bitstream.c.o [124/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_median_filter.c.o [125/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mpeg12_decoder.c.o [126/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o [127/958] Generating format_unpack.c with a custom command (wrapped by meson to capture output) [128/958] Generating u_indices_gen.c with a custom command (wrapped by meson to capture output) [129/958] Generating marshal_generated2.c with a custom command (wrapped by meson to capture output) [130/958] Generating format_pack.c with a custom command (wrapped by meson to capture output) [131/958] Generating marshal_generated1.c with a custom command (wrapped by meson to capture output) [132/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_zscan.c.o [133/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_idct.c.o [134/958] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o [135/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mc.c.o [136/958] Generating marshal_generated5.c with a custom command (wrapped by meson to capture output) [137/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_compositor_gfx.c.o [138/958] Generating marshal_generated0.c with a custom command (wrapped by meson to capture output) [139/958] Generating marshal_generated6.c with a custom command (wrapped by meson to capture output) [140/958] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_deint_filter.c.o [141/958] Generating get_hash.h with a custom command (wrapped by meson to capture output) [142/958] Generating marshal_generated4.c with a custom command (wrapped by meson to capture output) [143/958] Generating marshal_generated7.c with a custom command (wrapped by meson to capture output) [144/958] Generating marshal_generated3.c with a custom command (wrapped by meson to capture output) [145/958] Generating api_exec.c with a custom command (wrapped by meson to capture output) [146/958] Generating marshal_generated.h with a custom command (wrapped by meson to capture output) [147/958] Generating remap_helper.h with a custom command (wrapped by meson to capture output) [148/958] Generating dispatch.h with a custom command (wrapped by meson to capture output) [149/958] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [150/958] Generating nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [151/958] Generating format_srgb with a custom command (wrapped by meson to capture output) [152/958] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-2/output-1/build/mesa3d-21.0.3/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-2/buildroot'