>>> mesa3d 22.2.2 Extracting xzcat /home/buildroot/autobuild/run/instance-0/dl/mesa3d/mesa-22.2.2.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2 -xf - >>> mesa3d 22.2.2 Patching Applying 0001-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0002-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 0003-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c Applying 0004-Fix-uClibc-build.patch using patch: patching file src/egl/main/egldisplay.c patching file src/util/compiler.h >>> mesa3d 22.2.2 Configuring rm -rf /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-strip%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%archs%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-0/output-1/host/lib/cmake -Dgallium-omx=disabled -Dpower8=disabled -Ddri3=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=swrast -Dgallium-extra-hud=true -Dvulkan-drivers= -Dosmesa=true -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=enabled -Dglvnd=false /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/ /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build The Meson build system Version: 0.63.3 Source dir: /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2 Build dir: /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3) Project name: mesa Project version: 22.2.2 C compiler for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gcc (gcc 10.2.0 "arc-linux-gcc.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 10.2.0") C linker for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gcc ld.bfd 2.34.50.20200611 C++ compiler for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-g++ (gcc 10.2.0 "arc-linux-g++.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 10.2.0") C++ linker for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-g++ ld.bfd 2.34.50.20200611 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: arc Host machine cpu: archs Target machine cpu family: arc Target machine cpu: archs ../output-1/build/mesa3d-22.2.2/meson.build:528: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default Program python3 found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : 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 Checking for function "reallocarray" : 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: 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 -Wno-microsoft-enum-value: NO Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C supports arguments -Wno-unused-variable: YES Compiler for C supports arguments -Wno-unused-but-set-variable: 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 -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-unused-variable: YES Compiler for C++ supports arguments -Wno-unused-but-set-variable: 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=vla: 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=vla: 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: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic: links: NO 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" : NO 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" : YES Checking for function "qsort_r" : YES Checking for function "qsort_s" : NO Header "time.h" has symbol "struct timespec" : YES Checking for function "thrd_create" : NO Header "errno.h" has symbol "program_invocation_name" : YES Header "math.h" has symbol "issignaling" : NO 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" : YES Checking for function "dladdr" with dependency : YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.13 Run-time dependency libzstd found: YES 1.5.2 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.5.0 Library m found: YES Run-time dependency libdrm found: YES 2.4.113 Found CMake: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake (3.22.3) Run-time dependency libudev found: NO (tried pkgconfig and cmake) Program bison found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/flex) Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/bin/install_megadrivers.py) Program decode.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/src/compiler/isaspec/encode.py) Program ln found: YES (/bin/ln) WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa.pc' pkg-config file. WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa-uninstalled.pc' pkg-config file. Checking for function "mincore" : YES WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl.pc' pkg-config file. WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl-uninstalled.pc' pkg-config file. Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: libOSMesa DRI platform: drm DRI drivers: no DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 EGL/Vulkan/VL platforms: surfaceless drm GBM: yes GBM backends path: /usr/lib/gbm Video Codecs: Vulkan drivers: no llvm: no Gallium drivers: swrast Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 110 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path', 'meson.has_exe_wrapper'} * 0.56.0: {'meson.source_root'} mesa 22.2.2 User defined options Cross files : /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false dri3 : disabled egl : enabled gallium-drivers : swrast gallium-extra-hud : true gallium-omx : disabled gallium-opencl : disabled gallium-va : disabled gallium-vc4-neon : disabled gallium-vdpau : disabled gallium-xa : disabled gallium-xvmc : disabled gbm : enabled gles1 : disabled gles2 : disabled glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : disabled opengl : true osmesa : true platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : enabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja >>> mesa3d 22.2.2 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2//build' [1/933] Compiling C object src/c11/impl/libmesa_util_c11.a.p/time.c.o [2/933] Generating src/git_sha1.h with a custom command [3/933] Compiling C object src/c11/impl/libmesa_util_c11.a.p/threads_posix.c.o [4/933] Linking static target src/c11/impl/libmesa_util_c11.a [5/933] Compiling C object src/util/libmesa_util.a.p/debug.c.o [6/933] Compiling C object src/util/libmesa_util_sse41.a.p/streaming-load-memcpy.c.o [7/933] Generating src/util/driconf_static.h with a custom command [8/933] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [9/933] Linking static target src/util/libmesa_util_sse41.a [10/933] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [11/933] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o [12/933] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o [13/933] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [14/933] Compiling C object src/util/libmesa_util.a.p/compress.c.o [15/933] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [16/933] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [17/933] Compiling C object src/util/libmesa_util.a.p/blob.c.o [18/933] Compiling C object src/util/libmesa_util.a.p/dag.c.o [19/933] Compiling C object src/util/libmesa_util.a.p/slab.c.o [20/933] Compiling C object src/util/libmesa_util.a.p/double.c.o [21/933] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o [22/933] Generating src/util/u_unfilled_gen.c with a custom command (wrapped by meson to capture output) [23/933] Generating src/util/u_indices_gen.c with a custom command (wrapped by meson to capture output) [24/933] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [25/933] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [26/933] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [27/933] Compiling C object src/util/libmesa_util.a.p/fossilize_db.c.o [28/933] Compiling C object src/util/libmesa_util.a.p/log.c.o [29/933] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [30/933] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [31/933] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [32/933] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [33/933] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [34/933] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [35/933] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [36/933] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [37/933] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [38/933] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [39/933] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o [40/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [41/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [42/933] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_unfilled_gen.c.o [43/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [44/933] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [45/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [46/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [47/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_unpack_neon.c.o [48/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [49/933] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [50/933] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [51/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [52/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [53/933] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o [54/933] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [55/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [56/933] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [57/933] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o ../src/util/u_atomic.c:53: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] 53 | __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:66: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] 66 | __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:79:1: warning: conflicting types for built-in function '__sync_fetch_and_add_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 79 | __sync_fetch_and_add_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:92:1: warning: conflicting types for built-in function '__sync_fetch_and_sub_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 92 | __sync_fetch_and_sub_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:105: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] 105 | __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [58/933] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [59/933] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [60/933] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [61/933] Compiling C object src/util/libmesa_util.a.p/set.c.o [62/933] Compiling C++ object src/util/libmesa_util.a.p/u_qsort.cpp.o [63/933] Compiling C object src/util/libmesa_util.a.p/u_debug_describe.c.o [64/933] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [65/933] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [66/933] Compiling C object src/util/libmesa_util.a.p/u_dl.c.o [67/933] Compiling C object src/util/libmesa_util.a.p/u_debug_refcnt.c.o [68/933] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [69/933] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o [70/933] Compiling C object src/util/libmesa_util.a.p/u_hash_table.c.o [71/933] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o [72/933] Compiling C object src/util/libmesa_util.a.p/u_printf.c.o [73/933] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [74/933] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [75/933] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [76/933] Compiling C object src/util/libmesa_util.a.p/u_worklist.c.o [77/933] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [78/933] Compiling C object src/util/libmesa_util.a.p/vma.c.o [79/933] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [80/933] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [81/933] Compiling C object src/util/libmesa_util.a.p/indices_u_primconvert.c.o [82/933] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [83/933] Linking static target src/util/libxmlconfig.a [84/933] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [85/933] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [86/933] Generating src/mapi/glapi/gen/api_hw_select_init.h with a custom command (wrapped by meson to capture output) [87/933] Generating src/mapi/glapi/gen/glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [88/933] Generating src/mapi/glapi/gen/api_save_init.h with a custom command (wrapped by meson to capture output) [89/933] Compiling C++ object src/compiler/libcompiler.a.p/nir_types.cpp.o [90/933] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [91/933] Compiling C object src/compiler/libcompiler.a.p/shader_enums.c.o FAILED: src/compiler/libcompiler.a.p/shader_enums.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arc-linux-gcc -Isrc/compiler/libcompiler.a.p -Isrc/compiler -I../src/compiler -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Iinclude -I../include -Isrc -I../src -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c11 -O3 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.2.2"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -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___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 -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_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRISW_KMS -DMESA_EXECMEM -DHAVE_GALLIUM_EXTRA_HUD=1 -DVK_USE_PLATFORM_DISPLAY_KHR -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 -Wno-unused-function -Werror=format -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-variable -Wno-unused-but-set-variable -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Werror=pointer-arith -Werror=vla -Wno-override-init -MD -MQ src/compiler/libcompiler.a.p/shader_enums.c.o -MF src/compiler/libcompiler.a.p/shader_enums.c.o.d -o src/compiler/libcompiler.a.p/shader_enums.c.o -c ../src/compiler/shader_enums.c In file included from ../src/compiler/shader_enums.h:29, from ../src/compiler/shader_enums.c:29: ../src/compiler/shader_enums.c: In function 'gl_shader_stage_name': ../src/util/macros.h:73:4: error: implicit declaration of function 'static_assert' [-Werror=implicit-function-declaration] 73 | static_assert(cond, #cond); \ | ^~~~~~~~~~~~~ ../src/compiler/shader_enums.c:56:4: note: in expansion of macro 'STATIC_ASSERT' 56 | STATIC_ASSERT(ARRAY_SIZE(names) == MESA_ALL_SHADER_STAGES); | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors [92/933] Generating src/mapi/glapi/gen/api_exec_decl.h with a custom command (wrapped by meson to capture output) [93/933] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [94/933] Generating src/mapi/glapi/gen/api_exec_init.c with a custom command (wrapped by meson to capture output) [95/933] Generating src/mapi/glapi/gen/api_vtxfmt_init.h with a custom command (wrapped by meson to capture output) [96/933] Generating src/mapi/glapi/gen/api_save.h with a custom command (wrapped by meson to capture output) [97/933] Compiling C++ object src/compiler/libcompiler.a.p/glsl_types.cpp.o [98/933] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._u_indices_gen.c.o [99/933] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [100/933] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/mesa3d-22.2.2/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'