>>> libdrm 2.4.124 Extracting xzcat /home/autobuild/autobuild/instance-21/dl/libdrm/libdrm-2.4.124.tar.xz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-21/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 rm -rf /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build mkdir -p /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/home/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-strip%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@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-21/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-21/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-21/output-1/host/sparc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/autobuild/autobuild/instance-21/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build/cross-compilation.conf PATH="/home/autobuild/autobuild/instance-21/output-1/host/bin:/home/autobuild/autobuild/instance-21/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-21/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=both --buildtype=release --cross-file=/home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/autobuild/autobuild/instance-21/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/autobuild/autobuild/instance-21/output-1/host/lib/cmake -Dcairo-tests=disabled -Dman-pages=disabled -Dintel=disabled -Dradeon=disabled -Damdgpu=enabled -Dnouveau=disabled -Dvmwgfx=disabled -Domap=disabled -Detnaviv=disabled -Dexynos=disabled -Dfreedreno=disabled -Dtegra=disabled -Dvc4=disabled -Dudev=false -Dvalgrind=disabled -Dtests=false /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124/ /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build The Meson build system Version: 1.6.0 Source dir: /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124 Build dir: /home/autobuild/autobuild/instance-21/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/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc (gcc 13.3.0 "sparc-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.11-163-g4d2561e01f) 13.3.0") C linker for the host machine: /home/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc ld.bfd 2.42 C compiler for the build machine: /usr/bin/gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20240910") C linker for the build machine: /usr/bin/gcc ld.bfd 2.43.0 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/autobuild/autobuild/instance-21/output-1/host/bin/python3 /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/autobuild/autobuild/instance-21/output-1/host/bin/python3) Found pkg-config: YES (/home/autobuild/autobuild/instance-21/output-1/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: /usr/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: 5 libdrm 2.4.124 Intel : false Radeon : false AMDGPU : true Nouveau : false vmwgfx : false OMAP : false Freedreno : false Freedreon-kgsl : false Tegra : false Etnaviv : false EXYNOS : false VC4 : false User defined options Cross files : /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build/cross-compilation.conf build.cmake_prefix_path: /home/autobuild/autobuild/instance-21/output-1/host/lib/cmake build.pkg_config_path : /home/autobuild/autobuild/instance-21/output-1/host/lib/pkgconfig amdgpu : enabled b_pie : false b_staticpic : true buildtype : release cairo-tests : disabled default_library : both etnaviv : disabled 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/autobuild/autobuild/instance-21/output-1/host/bin/ninja >>> libdrm 2.4.124 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-21/output-1/host/bin:/home/autobuild/autobuild/instance-21/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-21/output-1/host/bin/ninja -C /home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build ninja: Entering directory `/home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124//build' [1/19] Generating format_mod_static_table with a custom command [2/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/handle_table.c.o [3/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_vm.c.o [4/19] Compiling C object libdrm.so.2.124.0.p/xf86drmRandom.c.o [5/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_asic_id.c.o [6/19] Compiling C object libdrm.so.2.124.0.p/xf86drmHash.c.o [7/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_device.c.o [8/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_gpu_info.c.o [9/19] Compiling C object libdrm.so.2.124.0.p/xf86drmSL.c.o [10/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_vamgr.c.o [11/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o [12/19] Compiling C object amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_cs.c.o [13/19] Linking static target amdgpu/libdrm_amdgpu.a [14/19] Compiling C object libdrm.so.2.124.0.p/xf86drmMode.c.o [15/19] Compiling C object libdrm.so.2.124.0.p/xf86drm.c.o [16/19] Linking static target libdrm.a [17/19] Linking target libdrm.so.2.124.0 [18/19] Generating symbol file libdrm.so.2.124.0.p/libdrm.so.2.124.0.symbols [19/19] Linking target amdgpu/libdrm_amdgpu.so.1.124.0 FAILED: amdgpu/libdrm_amdgpu.so.1.124.0 /home/autobuild/autobuild/instance-21/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o amdgpu/libdrm_amdgpu.so.1.124.0 amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_asic_id.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_cs.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_device.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_gpu_info.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_vamgr.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_vm.c.o amdgpu/libdrm_amdgpu.so.1.124.0.p/handle_table.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,-soname,libdrm_amdgpu.so.1 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/home/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124/build/ -Wl,--start-group libdrm.so.2.124.0 -pthread /home/autobuild/autobuild/instance-21/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libatomic_ops.so -Wl,--end-group /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o: in function `amdgpu_bo_inc_ref': amdgpu_bo.c:(.text+0x43c): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o: in function `amdgpu_bo_free.localalias': amdgpu_bo.c:(.text+0x6f4): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o: in function `amdgpu_bo_import': amdgpu_bo.c:(.text+0xa14): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_bo.c.o: in function `amdgpu_find_bo_by_cpu_mapping': amdgpu_bo.c:(.text+0xd38): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_cs.c.o: in function `amdgpu_cs_ctx_free': amdgpu_cs.c:(.text+0x7d4): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: amdgpu/libdrm_amdgpu.so.1.124.0.p/amdgpu_cs.c.o:amdgpu_cs.c:(.text+0xe54): 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/autobuild/autobuild/instance-21/output-1/build/libdrm-2.4.124/.stamp_built] Error 1 make: Leaving directory '/home/autobuild/autobuild/instance-21/buildroot'