>>> libdrm 2.4.112 Extracting xzcat /home/buildroot/autobuild/run/instance-0/dl/libdrm/libdrm-2.4.112.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112 -xf - >>> libdrm 2.4.112 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.112 Configuring rm -rf /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112//build mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a8%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', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%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/arm-buildroot-linux-gnueabi/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/libdrm-2.4.112//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/libdrm-2.4.112//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 -Dcairo-tests=false -Dman-pages=false -Dintel=false -Dradeon=false -Damdgpu=false -Dnouveau=false -Dvmwgfx=false -Domap=false -Detnaviv=true -Dexynos=false -Dfreedreno=false -Dtegra=true -Dvc4=true -Dudev=false -Dvalgrind=false /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/ /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112//build The Meson build system Version: 0.63.0 Source dir: /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112 Build dir: /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/build Build type: cross build Project name: libdrm Project version: 2.4.112 C compiler for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc (gcc 4.8.3 "arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C linker for the host machine: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc ld.bfd 2.24.51.20140217 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 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: cortex-a8 Target machine cpu family: arm Target machine cpu: cortex-a8 Run-time dependency threads found: YES 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/libdrm-2.4.112/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3) Found pkg-config: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkgconf (1.6.3) Run-time dependency atomic_ops found: YES 7.6.12 Checking if "Intel Atomics" : links: YES Checking for function "dlsym" : NO Library dl found: 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/run/instance-0/output-1/host/bin/cmake (3.22.3) Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: NO (tried pkgconfig and cmake) Program rst2man rst2man.py found: NO Compiler for C supports function attribute visibility:hidden: YES Configuring config.h using configuration Build targets in project: 24 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} libdrm 2.4.112 Intel : False Radeon : False AMDGPU : False Nouveau : False vmwgfx : False OMAP : False Freedreno : False Freedreon-kgsl : False Tegra : True Etnaviv : True EXYNOS : False VC4 : True User defined options Cross files : /home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112//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 amdgpu : false cairo-tests : false etnaviv : true exynos : false freedreno : false intel : false man-pages : false nouveau : false omap : false radeon : false tegra : true udev : false valgrind : false vc4 : true vmwgfx : false Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-0/output-1/host/bin/ninja >>> libdrm 2.4.112 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/libdrm-2.4.112//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112//build' [1/74] Generating format_mod_static_table with a custom command [2/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o [3/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o [4/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/channel.c.o [5/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/job.c.o [6/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o [7/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o [8/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o [9/74] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [10/74] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [11/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o [12/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o [13/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o [14/74] Compiling C object tests/util/libutil.a.p/format.c.o [15/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o [16/74] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [17/74] Compiling C object tests/util/libutil.a.p/kms.c.o [18/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o [19/74] Compiling C object tests/modetest/modetest.p/cursor.c.o [20/74] Compiling C object tests/tegra/libdrm-test.a.p/drm-test.c.o [21/74] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [22/74] Compiling C object tests/proptest/proptest.p/proptest.c.o [23/74] Compiling C object tests/modetest/modetest.p/buffers.c.o ../tests/modetest/buffers.c: In function 'bo_create': ../tests/modetest/buffers.c:331:13: warning: 'virtual' may be used uninitialized in this function [-Wmaybe-uninitialized] planes[0] = virtual; ^ [24/74] Linking static target tests/tegra/libdrm-test.a [25/74] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [26/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o [27/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic.c.o [28/74] Compiling C object tests/tegra/tegra-openclose.p/openclose.c.o [29/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic42.c.o [30/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic41.c.o [31/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic40.c.o [32/74] Compiling C object tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o [33/74] Compiling C object libdrm.so.2.4.0.p/xf86drmMode.c.o ../xf86drmMode.c: In function 'drmModeAddFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:274:5: warning: called from here [-Winline] if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB, &f))) ^ ../xf86drmMode.c: In function 'drmModeAddFB2WithModifiers': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:300:5: warning: called from here [-Winline] if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB2, &f))) ^ ../xf86drmMode.c: In function 'drmModeRmFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:320:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_RMFB, &bufferId); ^ ../xf86drmMode.c: In function 'drmModeDirtyFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:358:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty); ^ ../xf86drmMode.c: In function 'drmModeSetCrtc': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:415:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETCRTC, &crtc); ^ ../xf86drmMode.c: In function 'drmModeSetCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:434:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^ ../xf86drmMode.c: In function 'drmModeSetCursor2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:452:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR2, &arg); ^ ../xf86drmMode.c: In function 'drmModeMoveCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:465:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^ ../xf86drmMode.c: In function 'drmModeAttachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:644:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_ATTACHMODE, &res); ^ ../xf86drmMode.c: In function 'drmModeDetachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:655:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res); ^ ../xf86drmMode.c: In function 'drmModeConnectorSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:881:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPROPERTY, &osp); ^ ../xf86drmMode.c: In function 'drmModeCrtcGetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1003:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_GETGAMMA, &l); ^ ../xf86drmMode.c: In function 'drmModeCrtcSetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1019:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETGAMMA, &l); ^ ../xf86drmMode.c: In function 'drmModePageFlip': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1101:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip); ^ ../xf86drmMode.c: In function 'drmModePageFlipTarget': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1117:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip_target); ^ ../xf86drmMode.c: In function 'drmModeSetPlane': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1143:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s); ^ ../xf86drmMode.c: In function 'drmModeObjectSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1341:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_OBJ_SETPROPERTY, &prop); ^ ../xf86drmMode.c: In function 'drmModeAtomicCommit': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1602:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ATOMIC, &atomic); ^ ../xf86drmMode.c: In function 'drmModeCreatePropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1631:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); ^ ../xf86drmMode.c: In function 'drmModeDestroyPropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1646:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy); ^ ../xf86drmMode.c: In function 'drmModeCreateLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1661:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATE_LEASE, &create); ^ ../xf86drmMode.c: In function 'drmModeListLessees': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1678:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) ^ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1687:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) { ^ ../xf86drmMode.c: In function 'drmModeGetLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1705:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) ^ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1714:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) { ^ ../xf86drmMode.c: In function 'drmModeRevokeLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1733:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_REVOKE_LEASE, &revoke); ^ ../xf86drmMode.c: In function 'drmModeGetFB2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1748:6: warning: called from here [-Winline] err = DRM_IOCTL(fd, DRM_IOCTL_MODE_GETFB2, &get); ^ [34/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic30.c.o [35/74] Linking static target tests/tegra/libdrm-test-tegra.a [36/74] Compiling C object tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o [37/74] Compiling C object tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o [38/74] Compiling C object tests/tegra/tegra-vic-clear.p/vic-clear.c.o [39/74] Compiling C object tests/tegra/tegra-vic-blit.p/vic-blit.c.o [40/74] Compiling C object tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32': ../tests/etnaviv/write_bmp.c:116:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_header_write': ../tests/etnaviv/write_bmp.c:99:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &bmp_header, sizeof(struct bmp_header)); ^ ../tests/etnaviv/write_bmp.c:100:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &dib_header, sizeof(struct dib_header)); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32_noflip': ../tests/etnaviv/write_bmp.c:132:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32_ex': ../tests/etnaviv/write_bmp.c:148:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ [41/74] Compiling C object tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o [42/74] Compiling C object tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o [43/74] Compiling C object tests/tegra/tegra-vic-flip.p/vic-flip.c.o [44/74] Compiling C object tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o [45/74] Compiling C object tests/drmsl.p/drmsl.c.o [46/74] Compiling C object tests/hash.p/hash.c.o [47/74] Compiling C object tests/util/libutil.a.p/pattern.c.o [48/74] Compiling C object tests/drmdevice.p/drmdevice.c.o [49/74] Linking static target tests/util/libutil.a [50/74] Compiling C object tests/modetest/modetest.p/modetest.c.o ../tests/modetest/modetest.c: In function 'set_mode': ../tests/modetest/modetest.c:1573:20: warning: 'pipe_args' may be used uninitialized in this function [-Wmaybe-uninitialized] struct pipe_arg *pipe_args; ^ [51/74] Compiling C object libdrm.so.2.4.0.p/xf86drm.c.o ../xf86drm.c: In function 'drmGetFormatModifierNameFromAmlogic': ../xf86drm.c:546:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str); ^ ../xf86drm.c: In function 'drmGetFormatModifierNameFromNvidia': ../xf86drm.c:359:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64"," ^ [52/74] Linking target libdrm.so.2.4.0 [53/74] Generating symbol file libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols [54/74] Linking target tegra/libdrm_tegra.so.0.0.0 [55/74] Linking target etnaviv/libdrm_etnaviv.so.1.0.0 [56/74] Linking target tests/modeprint/modeprint [57/74] Linking target tests/proptest/proptest [58/74] Linking target tests/drmsl [59/74] Linking target tests/modetest/modetest [60/74] Linking target tests/vbltest/vbltest [61/74] Linking target tests/hash [62/74] Linking target tests/drmdevice [63/74] Generating symbol file etnaviv/libdrm_etnaviv.so.1.0.0.p/libdrm_etnaviv.so.1.0.0.symbols [64/74] Generating symbol file tegra/libdrm_tegra.so.0.0.0.p/libdrm_tegra.so.0.0.0.symbols [65/74] Linking target tests/etnaviv/etnaviv_2d_test [66/74] Linking target tests/etnaviv/etnaviv_cmd_stream_test [67/74] Linking target tests/etnaviv/etnaviv_bo_cache_test [68/74] Linking target tests/tegra/tegra-gr2d-fill FAILED: tests/tegra/tegra-gr2d-fill /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -o tests/tegra/tegra-gr2d-fill tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/build/ -Wl,-rpath-link,/home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/build/tegra -Wl,--start-group libdrm.so.2.4.0 tegra/libdrm_tegra.so.0.0.0 tests/tegra/libdrm-test.a tests/tegra/libdrm-test-tegra.a -Wl,--end-group /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: tests/tegra/libdrm-test.a.p/drm-test.c.o: undefined reference to symbol 'drmModeSetCrtc' libdrm.so.2.4.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [69/74] Linking target tests/tegra/tegra-openclose [70/74] Linking target tests/tegra/tegra-syncpt-wait [71/74] Linking target tests/tegra/tegra-vic-flip [72/74] Linking target tests/tegra/tegra-syncpt-timeout [73/74] Linking target tests/tegra/tegra-vic-clear [74/74] Linking target tests/tegra/tegra-vic-blit ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/libdrm-2.4.112/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'