>>> libdrm 2.4.112 Extracting xzcat /home/buildroot/autobuild/run/instance-2/dl/libdrm/libdrm-2.4.112.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/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-2/output-1/build/libdrm-2.4.112//build mkdir -p /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm920t%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-2/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-2/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/cmake -Dcairo-tests=false -Dman-pages=false -Dintel=false -Dradeon=false -Damdgpu=false -Dnouveau=false -Dvmwgfx=false -Domap=false -Detnaviv=false -Dexynos=true -Dfreedreno=false -Dtegra=true -Dvc4=false -Dudev=false -Dvalgrind=false /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112/ /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build The Meson build system Version: 0.63.1 Source dir: /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112 Build dir: /home/buildroot/autobuild/run/instance-2/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-2/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-2/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: arm920t Target machine cpu family: arm Target machine cpu: arm920t Run-time dependency threads found: YES Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/python3) Found pkg-config: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake (3.22.3) Run-time dependency atomic_ops found: NO (tried pkgconfig and cmake) 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 Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: YES 2.1-3 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 : False EXYNOS : True VC4 : False User defined options Cross files : /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-2/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-2/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 : false exynos : true freedreno : false intel : false man-pages : false nouveau : false omap : false radeon : false tegra : true udev : false valgrind : false vc4 : false vmwgfx : false Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja >>> libdrm 2.4.112 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112//build' [1/68] Generating format_mod_static_table with a custom command [2/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/channel.c.o [3/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o [4/68] Compiling C object tests/util/libutil.a.p/format.c.o [5/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o [6/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/job.c.o [7/68] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [8/68] Compiling C object tests/util/libutil.a.p/kms.c.o [9/68] Compiling C object exynos/libdrm_exynos.so.1.0.0.p/exynos_drm.c.o [10/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o [11/68] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [12/68] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [13/68] Compiling C object exynos/libdrm_exynos.so.1.0.0.p/exynos_fimg2d.c.o ../exynos/exynos_fimg2d.c: In function 'g2d_scale_and_blend': ../exynos/exynos_fimg2d.c:987:14: warning: 'scale_y' may be used uninitialized in this function [-Wmaybe-uninitialized] g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y); ^ ../exynos/exynos_fimg2d.c:986:14: warning: 'scale_x' may be used uninitialized in this function [-Wmaybe-uninitialized] g2d_add_cmd(ctx, SRC_XSCALE_REG, scale_x); ^ [14/68] Compiling C object tests/proptest/proptest.p/proptest.c.o [15/68] Compiling C object tests/modetest/modetest.p/cursor.c.o [16/68] 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; ^ [17/68] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [18/68] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [19/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o [20/68] Compiling C object tests/tegra/libdrm-test.a.p/drm-test.c.o [21/68] Linking static target tests/tegra/libdrm-test.a [22/68] Compiling C object tests/exynos/exynos_fimg2d_perf.p/exynos_fimg2d_perf.c.o [23/68] Compiling C object tests/exynos/exynos_fimg2d_event.p/exynos_fimg2d_event.c.o [24/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic.c.o [25/68] 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); ^ [26/68] Compiling C object tests/exynos/exynos_fimg2d_test.p/exynos_fimg2d_test.c.o ../tests/exynos/exynos_fimg2d_test.c: In function 'main': ../tests/exynos/exynos_fimg2d_test.c:111:43: warning: 'connector' may be used uninitialized in this function [-Wmaybe-uninitialized] if (c->encoder->encoder_id == connector->encoder_id) ^ ../tests/exynos/exynos_fimg2d_test.c:59:20: note: 'connector' was declared here drmModeConnector *connector; ^ [27/68] Compiling C object tests/tegra/tegra-openclose.p/openclose.c.o [28/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic40.c.o [29/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic30.c.o [30/68] Compiling C object tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o [31/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic41.c.o [32/68] Compiling C object tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o [33/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic42.c.o [34/68] Compiling C object tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o [35/68] Linking static target tests/tegra/libdrm-test-tegra.a [36/68] Compiling C object tests/tegra/tegra-vic-blit.p/vic-blit.c.o [37/68] Compiling C object tests/tegra/tegra-vic-clear.p/vic-clear.c.o [38/68] Compiling C object tests/drmsl.p/drmsl.c.o [39/68] Compiling C object tests/tegra/tegra-vic-flip.p/vic-flip.c.o [40/68] Compiling C object tests/hash.p/hash.c.o [41/68] Compiling C object tests/drmdevice.p/drmdevice.c.o [42/68] Compiling C object tests/util/libutil.a.p/pattern.c.o [43/68] Linking static target tests/util/libutil.a [44/68] 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; ^ [45/68] 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"," ^ [46/68] Linking target libdrm.so.2.4.0 [47/68] Generating symbol file libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols [48/68] Linking target exynos/libdrm_exynos.so.1.0.0 [49/68] Linking target tegra/libdrm_tegra.so.0.0.0 [50/68] Linking target tests/modeprint/modeprint [51/68] Linking target tests/proptest/proptest [52/68] Linking target tests/modetest/modetest [53/68] Linking target tests/vbltest/vbltest [54/68] Linking target tests/hash [55/68] Linking target tests/drmsl [56/68] Linking target tests/drmdevice [57/68] Generating symbol file tegra/libdrm_tegra.so.0.0.0.p/libdrm_tegra.so.0.0.0.symbols [58/68] Generating symbol file exynos/libdrm_exynos.so.1.0.0.p/libdrm_exynos.so.1.0.0.symbols [59/68] Linking target tests/tegra/tegra-openclose [60/68] Linking target tests/tegra/tegra-syncpt-timeout [61/68] Linking target tests/tegra/tegra-gr2d-fill FAILED: tests/tegra/tegra-gr2d-fill /home/buildroot/autobuild/run/instance-2/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-2/output-1/build/libdrm-2.4.112/build/ -Wl,-rpath-link,/home/buildroot/autobuild/run/instance-2/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-2/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 [62/68] Linking target tests/tegra/tegra-syncpt-wait [63/68] Linking target tests/tegra/tegra-vic-clear [64/68] Linking target tests/tegra/tegra-vic-blit [65/68] Linking target tests/tegra/tegra-vic-flip [66/68] Linking target tests/exynos/exynos_fimg2d_test [67/68] Linking target tests/exynos/exynos_fimg2d_perf [68/68] Linking target tests/exynos/exynos_fimg2d_event ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.112/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'