>>> libdrm 2.4.120 Extracting xzcat /home/buildroot/autobuild/instance-1/dl/libdrm/libdrm-2.4.120.tar.xz | /home/buildroot/autobuild/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120 -xf - >>> libdrm 2.4.120 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.120 Configuring rm -rf /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build mkdir -p /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-1/output-1/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', '-O0', '-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', '-O0', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-1/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-1/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-1/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-1/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" CC_FOR_BUILD="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-1/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/instance-1/output-1/host/lib/cmake -Dcairo-tests=disabled -Dman-pages=disabled -Dintel=enabled -Dradeon=disabled -Damdgpu=disabled -Dnouveau=enabled -Dvmwgfx=disabled -Domap=disabled -Detnaviv=disabled -Dexynos=disabled -Dfreedreno=disabled -Dtegra=disabled -Dvc4=disabled -Dudev=false -Dvalgrind=disabled -Dtests=false /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/ /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build The Meson build system Version: 1.3.1 Source dir: /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120 Build dir: /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/build Build type: cross build Project name: libdrm Project version: 2.4.120 C compiler for the host machine: /home/buildroot/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc (gcc 13.2.0 "sparc-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.02-986-g9fcdc50175) 13.2.0") C linker for the host machine: /home/buildroot/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc ld.bfd 2.41 C compiler for the build machine: /home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc (gcc 12.3.1 "gcc (GCC) 12.3.1 20230508 (Red Hat 12.3.1-1)") C linker for the build machine: /home/buildroot/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc ld.bfd 2.38-27 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/autobuild/instance-1/output-1/host/bin/python3 /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/autobuild/instance-1/output-1/host/bin/python3) Found pkg-config: YES (/home/buildroot/autobuild/instance-1/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency atomic_ops found: YES 7.8.2 Checking if "Intel Atomics" : links: NO Run-time dependency pciaccess found: YES 0.18.1 Checking for function "dlsym" : YES Checking for function "clock_gettime" : YES Library m found: 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/autobuild/instance-1/output-1/host/bin/cmake (3.28.3) 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 ../output-1/build/libdrm-2.4.120/meson.build:238: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. Program tests/gen4-3d.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gen4-3d.batch.sh) Program tests/gm45-3d.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gm45-3d.batch.sh) Program tests/gen5-3d.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gen5-3d.batch.sh) Program tests/gen6-3d.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gen6-3d.batch.sh) Program tests/gen7-3d.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gen7-3d.batch.sh) Program tests/gen7-2d-copy.batch.sh found: YES (/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/intel/tests/gen7-2d-copy.batch.sh) ../output-1/build/libdrm-2.4.120/intel/meson.build:107: WARNING: Project targets '>= 0.59' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead Build targets in project: 5 WARNING: Deprecated features used: * 0.55.0: {'ExternalProgram.path'} WARNING: Broken features used: * 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'} libdrm 2.4.120 Intel : true Radeon : false AMDGPU : false Nouveau : true vmwgfx : false OMAP : false Freedreno : false Freedreon-kgsl : false Tegra : false Etnaviv : false EXYNOS : false VC4 : false User defined options Cross files : /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/instance-1/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/instance-1/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true amdgpu : disabled cairo-tests : disabled etnaviv : disabled exynos : disabled freedreno : disabled intel : enabled man-pages : disabled nouveau : enabled omap : disabled radeon : disabled tegra : disabled tests : false udev : false valgrind : disabled vc4 : disabled vmwgfx : disabled Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/autobuild/instance-1/output-1/host/bin/ninja >>> libdrm 2.4.120 Building GIT_DIR=. PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-1/output-1/host/bin/ninja -C /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build ninja: Entering directory `/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120//build' [1/22] Generating format_mod_static_table with a custom command [2/22] Compiling C object intel/libdrm_intel.so.1.0.0.p/mm.c.o [3/22] Compiling C object intel/test_decode.p/test_decode.c.o [4/22] Compiling C object intel/libdrm_intel.so.1.0.0.p/intel_bufmgr.c.o In file included from ../intel/intel_bufmgr.c:34: ../include/drm/i915_drm.h:2233:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_load_balance' [-Wpacked] 2233 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2271:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_bond' [-Wpacked] 2271 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2399:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_parallel_submit' [-Wpacked] 2399 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2473:1: warning: packed attribute causes inefficient alignment for 'i915_context_param_engines' [-Wpacked] 2473 | } __attribute__((packed)); | ^ [5/22] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [6/22] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [7/22] Compiling C object nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o [8/22] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [9/22] Compiling C object nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o [10/22] Compiling C object intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_fake.c.o In file included from ../intel/intel_bufmgr_fake.c:47: ../include/drm/i915_drm.h:2233:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_load_balance' [-Wpacked] 2233 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2271:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_bond' [-Wpacked] 2271 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2399:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_parallel_submit' [-Wpacked] 2399 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2473:1: warning: packed attribute causes inefficient alignment for 'i915_context_param_engines' [-Wpacked] 2473 | } __attribute__((packed)); | ^ [11/22] Compiling C object nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o [12/22] Compiling C object nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o [13/22] Compiling C object libdrm.so.2.4.0.p/xf86drmMode.c.o [14/22] Compiling C object intel/libdrm_intel.so.1.0.0.p/intel_decode.c.o ../intel/intel_decode.c: In function 'decode_3d_1d': ../intel/intel_decode.c:2018:50: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 2018 | sprintf(instr_prefix, "PS%03d", instr); | ^~~~ ../intel/intel_decode.c:2018:47: note: directive argument in the range [0, 1431655764] 2018 | sprintf(instr_prefix, "PS%03d", instr); | ^~~~~~~~ ../intel/intel_decode.c:2018:25: note: 'sprintf' output between 6 and 13 bytes into a destination of size 10 2018 | sprintf(instr_prefix, "PS%03d", instr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [15/22] Compiling C object libdrm.so.2.4.0.p/xf86drm.c.o [16/22] Compiling C object intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_gem.c.o In file included from ../intel/intel_bufmgr_gem.c:62: ../include/drm/i915_drm.h:2233:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_load_balance' [-Wpacked] 2233 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2271:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_bond' [-Wpacked] 2271 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2399:1: warning: packed attribute causes inefficient alignment for 'i915_context_engines_parallel_submit' [-Wpacked] 2399 | } __attribute__((packed)); | ^ ../include/drm/i915_drm.h:2473:1: warning: packed attribute causes inefficient alignment for 'i915_context_param_engines' [-Wpacked] 2473 | } __attribute__((packed)); | ^ [17/22] Linking target libdrm.so.2.4.0 [18/22] Generating symbol file libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols [19/22] Linking target nouveau/libdrm_nouveau.so.2.0.0 FAILED: nouveau/libdrm_nouveau.so.2.0.0 /home/buildroot/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o nouveau/libdrm_nouveau.so.2.0.0 nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_nouveau.so.2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/build/ libdrm.so.2.4.0 -pthread /home/buildroot/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libatomic_ops.so -Wl,--end-group /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.2.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o: in function `AO_fetch_and_add_full': nouveau.c:(.text+0x50): undefined reference to `__atomic_fetch_add_4' /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.2.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o: in function `AO_fetch_and_add_full': pushbuf.c:(.text+0x18): undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status [20/22] Linking target intel/libdrm_intel.so.1.0.0 FAILED: intel/libdrm_intel.so.1.0.0 /home/buildroot/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o intel/libdrm_intel.so.1.0.0 intel/libdrm_intel.so.1.0.0.p/intel_bufmgr.c.o intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_fake.c.o intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_gem.c.o intel/libdrm_intel.so.1.0.0.p/intel_decode.c.o intel/libdrm_intel.so.1.0.0.p/mm.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_intel.so.1 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/build/ libdrm.so.2.4.0 /home/buildroot/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libpciaccess.so -pthread /home/buildroot/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libatomic_ops.so -Wl,--end-group /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/13.2.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: intel/libdrm_intel.so.1.0.0.p/intel_bufmgr_gem.c.o: in function `AO_fetch_and_add_full': intel_bufmgr_gem.c:(.text+0x200): undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-1/output-1/build/libdrm-2.4.120/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'