>>> libglvnd 1.3.2 Extracting gzip -d -c /tmp/instance-1/dl/libglvnd/libglvnd-v1.3.2.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/libglvnd-1.3.2 -xf - >>> libglvnd 1.3.2 Patching >>> libglvnd 1.3.2 Configuring rm -rf /tmp/instance-1/output-1/build/libglvnd-1.3.2//build mkdir -p /tmp/instance-1/output-1/build/libglvnd-1.3.2//build sed -e 's%@TARGET_CROSS@%/tmp/instance-1/output-1/host/bin/sparc-linux-%g' -e 's%@TARGET_ARCH@%sparc%g' -e 's%@TARGET_CPU@%v8%g' -e 's%@TARGET_ENDIAN@%big%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%@HOST_DIR@%/tmp/instance-1/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-1/output-1/build/libglvnd-1.3.2//build/cross-compilation.conf PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/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-1/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-1/output-1/build/libglvnd-1.3.2//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-1/output-1/host/lib/pkgconfig -Dgles1=false -Dgles2=false /tmp/instance-1/output-1/build/libglvnd-1.3.2/ /tmp/instance-1/output-1/build/libglvnd-1.3.2//build The Meson build system Version: 0.61.0 Source dir: /tmp/instance-1/output-1/build/libglvnd-1.3.2 Build dir: /tmp/instance-1/output-1/build/libglvnd-1.3.2/build Build type: cross build Project name: glvnd Project version: 1.3.2 C compiler for the host machine: /tmp/instance-1/output-1/host/bin/sparc-linux-gcc (gcc 10.3.0 "sparc-linux-gcc.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 10.3.0") C linker for the host machine: /tmp/instance-1/output-1/host/bin/sparc-linux-gcc ld.bfd 2.36.1 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 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: sparc Host machine cpu: v8 Target machine cpu family: sparc Target machine cpu: v8 Program python3 found: YES (/tmp/instance-1/output-1/host/bin/python3) WARNING: Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.platlibdir" option. WARNING: Python files installed by Meson might not be found by python interpreter. This warning can be avoided by setting "python.purelibdir" option. Program nm found: YES (/usr/bin/nm) Message: Host CPU family: sparc Message: Host CPU: v8 Library dl found: YES Library m found: YES Run-time dependency threads found: YES Found pkg-config: /tmp/instance-1/output-1/host/bin/pkgconf (1.6.3) Found CMake: NO Run-time dependency x11 found: NO (tried pkgconfig and cmake) Checking if "typeof" : compiles: YES Checking if "initial-exec TLS" : compiles: YES Message: Using dispatch stub type: pure_c Compiler for C supports function attribute constructor: YES Checking if "pthread rwlock" : compiles: YES Checking if "sync intrinsics" : compiles: YES Checking for function "mincore" : YES Header has symbol "RTLD_NOLOAD" : YES Checking whether type "struct dirent" has member "d_type" : YES Program cp found: YES (/bin/cp) Build targets in project: 35 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} glvnd 1.3.2 User defined options Cross files : /tmp/instance-1/output-1/build/libglvnd-1.3.2//build/cross-compilation.conf build.pkg_config_path: /tmp/instance-1/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false gles1 : false gles2 : false Found ninja-1.10.2 at /tmp/instance-1/output-1/host/bin/ninja >>> libglvnd 1.3.2 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-1/output-1/host/bin/ninja -j32 -C /tmp/instance-1/output-1/build/libglvnd-1.3.2//build ninja: Entering directory `/tmp/instance-1/output-1/build/libglvnd-1.3.2//build' [1/82] Compiling C object tests/egldevice.p/egl_test_utils.c.o [2/82] Compiling C object src/util/libtrace.a.p/trace.c.o [3/82] Compiling C object tests/egldisplay.p/egl_test_utils.c.o [4/82] Linking static target src/util/libtrace.a [5/82] Compiling C object src/util/libapp_error_check.a.p/app_error_check.c.o [6/82] Linking static target src/util/libapp_error_check.a [7/82] Compiling C object tests/egldisplay.p/testegldisplay.c.o [8/82] Compiling C object tests/egldevice.p/testegldevice.c.o [9/82] Compiling C object tests/eglgetprocaddress.p/egl_test_utils.c.o [10/82] Compiling C object tests/eglmakecurrent.p/egl_test_utils.c.o [11/82] Compiling C object tests/eglerror.p/egl_test_utils.c.o [12/82] Compiling C object src/util/libutils_misc.a.p/utils_misc.c.o [13/82] Linking static target src/util/libutils_misc.a [14/82] Compiling C object tests/egldebug.p/egl_test_utils.c.o [15/82] Compiling C object tests/dummy/libpatchentrypoints.a.p/patchentrypoints.c.o [16/82] Linking static target tests/dummy/libpatchentrypoints.a [17/82] Compiling C object tests/eglgetprocaddress.p/testeglgetprocaddress.c.o [18/82] Compiling C object src/OpenGL/libopengl_main.a.p/libopengl.c.o [19/82] Linking static target src/OpenGL/libopengl_main.a [20/82] Compiling C object tests/eglerror.p/testeglerror.c.o [21/82] Compiling C object src/util/libglvnd_pthread.a.p/glvnd_pthread.c.o [22/82] Compiling C object tests/testgldispatchthread.p/testgldispatchthread.c.o [23/82] Compiling C object tests/eglmakecurrent.p/testeglmakecurrent.c.o [24/82] Linking static target src/util/libglvnd_pthread.a [25/82] Compiling C object src/EGL/libEGL.so.1.1.0.p/libeglerror.c.o [26/82] Compiling C object src/util/libwinsys_dispatch.a.p/winsys_dispatch.c.o [27/82] Linking static target src/util/libwinsys_dispatch.a [28/82] Compiling C object tests/egldebug.p/testegldebug.c.o [29/82] Compiling C object src/EGL/libEGL.so.1.1.0.p/libeglcurrent.c.o [30/82] Compiling C object tests/testgldispatch.p/testgldispatch.c.o [31/82] Compiling C object src/EGL/libEGL.so.1.1.0.p/libeglvendor.c.o [32/82] Compiling C object tests/dummy/libEGL_dummy0.so.0.p/EGL_dummy.c.o [33/82] Linking target tests/dummy/libEGL_dummy0.so.0 [34/82] Compiling C object tests/dummy/libEGL_dummy1.so.0.p/EGL_dummy.c.o [35/82] Compiling C object src/GLdispatch/libGLdispatch.so.0.0.0.p/GLdispatch.c.o [36/82] Linking target tests/dummy/libEGL_dummy1.so.0 [37/82] Compiling C object src/EGL/libEGL.so.1.1.0.p/libeglmapping.c.o [38/82] Compiling C object src/EGL/libEGL.so.1.1.0.p/libegl.c.o [39/82] Compiling C object src/util/libcJSON.a.p/cJSON.c.o [40/82] Linking static target src/util/libcJSON.a [41/82] Generating src/generate/g_egldispatchstubs.h with a custom command (wrapped by meson to capture output) [42/82] Generating src/generate/g_egldispatchstubs.c with a custom command (wrapped by meson to capture output) [43/82] Compiling C object src/EGL/libegl_dispatch_stubs.a.p/egldispatchstubs.c.o [44/82] Compiling C object src/EGL/libegl_dispatch_stubs.a.p/meson-generated_.._.._generate_g_egldispatchstubs.c.o [45/82] Linking static target src/EGL/libegl_dispatch_stubs.a [46/82] Generating src/generate/g_glapi_mapi_glesv2_tmp.h with a custom command (wrapped by meson to capture output) [47/82] Generating src/generate/g_glapi_mapi_glesv1_tmp.h with a custom command (wrapped by meson to capture output) [48/82] Generating src/generate/g_glapi_mapi_opengl_tmp.h with a custom command (wrapped by meson to capture output) [49/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_glesv2.a.p/stub.c.o [50/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_glesv1.a.p/stub.c.o [51/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_opengl.a.p/stub.c.o [52/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_glesv1.a.p/entry_pure_c.c.o [53/82] Linking static target src/GLdispatch/vnd-glapi/libglapi_glesv1.a [54/82] Generating src/generate/g_glapi_mapi_gl_tmp.h with a custom command (wrapped by meson to capture output) [55/82] Generating src/generate/glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [56/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_glesv2.a.p/entry_pure_c.c.o [57/82] Linking static target src/GLdispatch/vnd-glapi/libglapi_glesv2.a [58/82] Compiling C object src/GLdispatch/vnd-glapi/liblibglapi.a.p/u_current_tls.c.o [59/82] Compiling C object src/GLdispatch/vnd-glapi/liblibglapi.a.p/mapi_glapi.c.o [60/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_gl.a.p/stub.c.o [61/82] Compiling C object src/GLdispatch/vnd-glapi/liblibglapi.a.p/stub.c.o [62/82] Compiling C object src/GLdispatch/vnd-glapi/liblibglapi.a.p/table.c.o [63/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_opengl.a.p/entry_pure_c.c.o [64/82] Linking static target src/GLdispatch/vnd-glapi/libglapi_opengl.a [65/82] Compiling C object src/GLdispatch/vnd-glapi/libglapi_gl.a.p/entry_pure_c.c.o [66/82] Linking static target src/GLdispatch/vnd-glapi/libglapi_gl.a [67/82] Compiling C object src/GLdispatch/vnd-glapi/liblibglapi.a.p/entry_pure_c.c.o [68/82] Linking static target src/GLdispatch/vnd-glapi/liblibglapi.a [69/82] Linking target src/GLdispatch/libGLdispatch.so.0.0.0 [70/82] Generating symbol file src/GLdispatch/libGLdispatch.so.0.0.0.p/libGLdispatch.so.0.0.0.symbols [71/82] Linking target src/EGL/libEGL.so.1.1.0 FAILED: src/EGL/libEGL.so.1.1.0 /tmp/instance-1/output-1/host/bin/sparc-linux-gcc -o src/EGL/libEGL.so.1.1.0 src/EGL/libEGL.so.1.1.0.p/libegl.c.o src/EGL/libEGL.so.1.1.0.p/libeglcurrent.c.o src/EGL/libEGL.so.1.1.0.p/libeglmapping.c.o src/EGL/libEGL.so.1.1.0.p/libeglvendor.c.o src/EGL/libEGL.so.1.1.0.p/libeglerror.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libEGL.so.1 '-Wl,-rpath,$ORIGIN/../GLdispatch' -Wl,-rpath-link,/tmp/instance-1/output-1/build/libglvnd-1.3.2/build/src/GLdispatch src/EGL/libegl_dispatch_stubs.a src/util/libtrace.a src/util/libglvnd_pthread.a src/util/libutils_misc.a src/util/libcJSON.a src/util/libwinsys_dispatch.a src/GLdispatch/libGLdispatch.so.0.0.0 -Wl,-Bsymbolic -pthread -ldl -lm -Wl,--end-group /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/EGL/libEGL.so.1.1.0.p/libegl.c.o: in function `AtomicIncrement': libegl.c:(.text+0x614): undefined reference to `__sync_add_and_fetch_4' /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/EGL/libEGL.so.1.1.0.p/libegl.c.o: in function `AtomicCompareAndSwap': libegl.c:(.text+0x62c): undefined reference to `__sync_val_compare_and_swap_4' /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/EGL/libEGL.so.1.1.0.p/libegl.c.o: in function `AtomicDecrementClampAtZero': libegl.c:(.text+0x690): undefined reference to `__sync_val_compare_and_swap_4' collect2: error: ld returned 1 exit status [72/82] Linking target tests/testgldispatchthread [73/82] Linking target src/OpenGL/libOpenGL.so.0.0.0 ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:295: /tmp/instance-1/output-1/build/libglvnd-1.3.2/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-1/buildroot'