>>> libdrm 2.4.124 Extracting mkdir -p /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-tar/host/ /home/buildroot/instance-0/output-1/per-package/host-tar/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host mkdir -p /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-tar/target/ /home/buildroot/instance-0/output-1/per-package/host-tar/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target xzcat /home/buildroot/instance-0/dl/libdrm/libdrm-2.4.124.tar.xz | /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libdrm-2.4.124 -xf - >>> libdrm 2.4.124 Patching Applying 0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch using patch: patching file tests/meson.build Hunk #1 succeeded at 40 (offset -4 lines). >>> libdrm 2.4.124 Configuring mkdir -p /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-meson/host/ /home/buildroot/instance-0/output-1/per-package/host-meson/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-pkgconf/host/ /home/buildroot/instance-0/output-1/per-package/host-pkgconf/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-skeleton/host/ /home/buildroot/instance-0/output-1/per-package/host-skeleton/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/libatomic_ops/host/ /home/buildroot/instance-0/output-1/per-package/libatomic_ops/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/libpthread-stubs/host/ /home/buildroot/instance-0/output-1/per-package/libpthread-stubs/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/skeleton/host/ /home/buildroot/instance-0/output-1/per-package/skeleton/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/toolchain/host/ /home/buildroot/instance-0/output-1/per-package/toolchain/host/ /home/buildroot/instance-0/output-1/per-package/libdrm/host mkdir -p /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-meson/target/ /home/buildroot/instance-0/output-1/per-package/host-meson/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-pkgconf/target/ /home/buildroot/instance-0/output-1/per-package/host-pkgconf/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/host-skeleton/target/ /home/buildroot/instance-0/output-1/per-package/host-skeleton/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/libatomic_ops/target/ /home/buildroot/instance-0/output-1/per-package/libatomic_ops/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/libpthread-stubs/target/ /home/buildroot/instance-0/output-1/per-package/libpthread-stubs/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/skeleton/target/ /home/buildroot/instance-0/output-1/per-package/skeleton/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rsync -a --hard-links --link-dest=/home/buildroot/instance-0/output-1/per-package/toolchain/target/ /home/buildroot/instance-0/output-1/per-package/toolchain/target/ /home/buildroot/instance-0/output-1/per-package/libdrm/target rm -rf /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build mkdir -p /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/sparc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/sparc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%sparc%g" -e "s%@TARGET_CPU@%v8%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0', '-DAO_NO_SPARC_V9'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Ofast', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/per-package/libdrm/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/per-package/libdrm/host/sparc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin:/home/buildroot/instance-0/output-1/per-package/libdrm/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/per-package/libdrm/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/per-package/libdrm/host/lib/cmake -Dcairo-tests=disabled -Dman-pages=disabled -Dintel=disabled -Dradeon=disabled -Damdgpu=disabled -Dnouveau=disabled -Dvmwgfx=disabled -Domap=disabled -Detnaviv=enabled -Dexynos=disabled -Dfreedreno=disabled -Dtegra=disabled -Dvc4=disabled -Dudev=false -Dvalgrind=disabled -Dtests=false /home/buildroot/instance-0/output-1/build/libdrm-2.4.124/ /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build The Meson build system Version: 1.6.0 Source dir: /home/buildroot/instance-0/output-1/build/libdrm-2.4.124 Build dir: /home/buildroot/instance-0/output-1/build/libdrm-2.4.124/build Build type: cross build Project name: libdrm Project version: 2.4.124 C compiler for the host machine: /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/sparc-buildroot-linux-uclibc-gcc (gcc 13.3.0 "sparc-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.11-158-g9c98ed5fdd) 13.3.0") C linker for the host machine: /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/sparc-buildroot-linux-uclibc-gcc ld.bfd 2.42 C compiler for the build machine: /usr/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /usr/bin/gcc ld.bfd 2.35.2 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 Run-time dependency threads found: YES Program symbols-check.py found: YES (/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/python3 /home/buildroot/instance-0/output-1/build/libdrm-2.4.124/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/python3) Found pkg-config: YES (/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/pkgconf) 2.3.0 Run-time dependency atomic_ops found: YES 7.8.2 Checking if "Intel Atomics" : links: NO Dependency pciaccess skipped: feature intel disabled Checking for function "dlsym" : YES Checking for function "clock_gettime" : YES Check usable header "sys/select.h" : YES Check usable header "alloca.h" : YES 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 Checking for function "open_memstream" : YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-attributes: YES Compiler for C supports arguments -Wno-long-long: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Found CMake: /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/cmake (3.31.2) Run-time dependency cunit found: NO (tried pkgconfig and cmake) Dependency cairo skipped: feature cairo-tests disabled Dependency valgrind skipped: feature valgrind disabled Program rst2man rst2man.py skipped: feature man-pages disabled Compiler for C supports function attribute visibility:hidden: YES Configuring config.h using configuration Build targets in project: 3 libdrm 2.4.124 Intel : false Radeon : false AMDGPU : false Nouveau : false vmwgfx : false OMAP : false Freedreno : false Freedreon-kgsl : false Tegra : false Etnaviv : true EXYNOS : false VC4 : false User defined options Cross files : /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/per-package/libdrm/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/per-package/libdrm/host/lib/pkgconfig amdgpu : disabled b_pie : false b_staticpic : true buildtype : release cairo-tests : disabled default_library : shared etnaviv : enabled exynos : disabled freedreno : disabled intel : disabled libdir : lib man-pages : disabled nouveau : disabled omap : disabled prefix : /usr radeon : disabled strip : false tegra : disabled tests : false udev : false valgrind : disabled vc4 : disabled vmwgfx : disabled Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/ninja >>> libdrm 2.4.124 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/per-package/libdrm/host/bin:/home/buildroot/instance-0/output-1/per-package/libdrm/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/libdrm-2.4.124//build' [1/16] Generating format_mod_static_table with a custom command [2/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_pipe.c.o [3/16] Compiling C object libdrm.so.2.124.0.p/xf86drmRandom.c.o [4/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_device.c.o [5/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_gpu.c.o [6/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo_cache.c.o [7/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo.c.o ../etnaviv/etnaviv_bo.c: In function 'lookup_bo': ../etnaviv/etnaviv_bo.c:63:50: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] 63 | if (!drmHashLookup(tbl, handle, (void **)&bo)) { | ^~~ [8/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_perfmon.c.o [9/16] Compiling C object libdrm.so.2.124.0.p/xf86drmHash.c.o [10/16] Compiling C object etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_cmd_stream.c.o [11/16] Compiling C object libdrm.so.2.124.0.p/xf86drmSL.c.o [12/16] Compiling C object libdrm.so.2.124.0.p/xf86drmMode.c.o [13/16] Compiling C object libdrm.so.2.124.0.p/xf86drm.c.o [14/16] Linking target libdrm.so.2.124.0 [15/16] Generating symbol file libdrm.so.2.124.0.p/libdrm.so.2.124.0.symbols [16/16] Linking target etnaviv/libdrm_etnaviv.so.1.124.0 FAILED: etnaviv/libdrm_etnaviv.so.1.124.0 /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/sparc-buildroot-linux-uclibc-gcc -o etnaviv/libdrm_etnaviv.so.1.124.0 etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_device.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_gpu.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo_cache.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_perfmon.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_pipe.c.o etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_cmd_stream.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,-soname,libdrm_etnaviv.so.1 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/home/buildroot/instance-0/output-1/build/libdrm-2.4.124/build/ -Wl,--start-group libdrm.so.2.124.0 -pthread /home/buildroot/instance-0/output-1/per-package/libdrm/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libatomic_ops.so -Wl,--end-group /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_device.c.o: in function `etna_device_ref': etnaviv_device.c:(.text+0xcc): undefined reference to `__atomic_fetch_add_4' /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_device.c.o: in function `etna_device_del_locked': etnaviv_device.c:(.text+0xe8): undefined reference to `__atomic_fetch_add_4' /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_device.c.o: in function `etna_device_del': etnaviv_device.c:(.text+0x160): undefined reference to `__atomic_fetch_add_4' /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo.c.o: in function `etna_bo_ref': etnaviv_bo.c:(.text+0x184): undefined reference to `__atomic_fetch_add_4' /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo.c.o: in function `etna_bo_from_name': etnaviv_bo.c:(.text+0x264): undefined reference to `__atomic_fetch_add_4' /home/buildroot/instance-0/output-1/per-package/libdrm/host/bin/../lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: etnaviv/libdrm_etnaviv.so.1.124.0.p/etnaviv_bo.c.o:etnaviv_bo.c:(.text+0x480): more undefined references to `__atomic_fetch_add_4' follow collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/libdrm-2.4.124/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'