>>> 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_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_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=true -Damdgpu=false -Dnouveau=false -Dvmwgfx=false -Domap=false -Detnaviv=false -Dexynos=false -Dfreedreno=false -Dtegra=true -Dvc4=false -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) Found CMake: /home/buildroot/autobuild/run/instance-0/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: 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: 22 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} libdrm 2.4.112 Intel : False Radeon : True AMDGPU : False Nouveau : False vmwgfx : False OMAP : False Freedreno : False Freedreon-kgsl : False Tegra : True Etnaviv : False EXYNOS : False VC4 : False 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 : false exynos : false freedreno : false intel : false man-pages : false nouveau : false omap : false radeon : true 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-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/68] Generating format_mod_static_table with a custom command [2/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o [3/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o ../radeon/radeon_cs_space.c: In function 'radeon_cs_check_space_internal': ../radeon/radeon_cs_space.c:42:19: warning: inlining failed in call to 'radeon_cs_setup_bo': call is unlikely and code size would grow [-Winline] static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) ^ ../radeon/radeon_cs_space.c:126:13: warning: called from here [-Winline] ret = radeon_cs_setup_bo(&cs->bos[i], &sizes); ^ ../radeon/radeon_cs_space.c:42:19: warning: inlining failed in call to 'radeon_cs_setup_bo': call is unlikely and code size would grow [-Winline] static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) ^ ../radeon/radeon_cs_space.c:132:13: warning: called from here [-Winline] ret = radeon_cs_setup_bo(new_tmp, &sizes); ^ [4/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o [5/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/channel.c.o [6/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o [7/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o [8/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/job.c.o [9/68] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [10/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o In file included from ../radeon/radeon_cs_gem.c:38:0: ../radeon/radeon_cs_gem.c: In function 'cs_gem_emit': ../radeon/radeon_cs.h:115:20: warning: inlining failed in call to 'radeon_cs_write_dword': call is unlikely and code size would grow [-Winline] static inline void radeon_cs_write_dword(struct radeon_cs *cs, uint32_t dword) ^ ../radeon/radeon_cs_gem.c:432:23: warning: called from here [-Winline] radeon_cs_write_dword((struct radeon_cs *)cs, 0x80000000); ^ In file included from ../radeon/radeon_cs_gem.c:38:0: ../radeon/radeon_cs_gem.c: In function 'cs_gem_write_reloc': ../radeon/radeon_cs.h:115:20: warning: inlining failed in call to 'radeon_cs_write_dword': call is unlikely and code size would grow [-Winline] static inline void radeon_cs_write_dword(struct radeon_cs *cs, uint32_t dword) ^ ../radeon/radeon_cs_gem.c:234:38: warning: called from here [-Winline] radeon_cs_write_dword((struct radeon_cs *)cs, 0xc0001000); ^ In file included from ../radeon/radeon_cs_gem.c:38:0: ../radeon/radeon_cs.h:115:20: warning: inlining failed in call to 'radeon_cs_write_dword': call is unlikely and code size would grow [-Winline] static inline void radeon_cs_write_dword(struct radeon_cs *cs, uint32_t dword) ^ ../radeon/radeon_cs_gem.c:235:38: warning: called from here [-Winline] radeon_cs_write_dword((struct radeon_cs *)cs, idx); ^ In file included from ../radeon/radeon_cs_gem.c:38:0: ../radeon/radeon_cs.h:115:20: warning: inlining failed in call to 'radeon_cs_write_dword': call is unlikely and code size would grow [-Winline] static inline void radeon_cs_write_dword(struct radeon_cs *cs, uint32_t dword) ^ ../radeon/radeon_cs_gem.c:271:26: warning: called from here [-Winline] radeon_cs_write_dword((struct radeon_cs *)cs, 0xc0001000); ^ In file included from ../radeon/radeon_cs_gem.c:38:0: ../radeon/radeon_cs.h:115:20: warning: inlining failed in call to 'radeon_cs_write_dword': call is unlikely and code size would grow [-Winline] static inline void radeon_cs_write_dword(struct radeon_cs *cs, uint32_t dword) ^ ../radeon/radeon_cs_gem.c:272:26: warning: called from here [-Winline] radeon_cs_write_dword((struct radeon_cs *)cs, idx); ^ [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 tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o [14/68] Compiling C object tests/util/libutil.a.p/format.c.o [15/68] Compiling C object tests/util/libutil.a.p/kms.c.o [16/68] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o [17/68] Compiling C object tests/modetest/modetest.p/cursor.c.o [18/68] Compiling C object tests/proptest/proptest.p/proptest.c.o [19/68] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [20/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; ^ [21/68] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [22/68] Compiling C object tests/radeon/radeon_ttm.p/radeon_ttm.c.o [23/68] Compiling C object tests/radeon/radeon_ttm.p/rbo.c.o [24/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o [25/68] Compiling C object tests/tegra/libdrm-test.a.p/drm-test.c.o [26/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic.c.o [27/68] Linking static target tests/tegra/libdrm-test.a [28/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); ^ [29/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic30.c.o [30/68] Compiling C object tests/tegra/tegra-openclose.p/openclose.c.o [31/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic40.c.o [32/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic42.c.o [33/68] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic41.c.o [34/68] Linking static target tests/tegra/libdrm-test-tegra.a [35/68] Compiling C object tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o [36/68] Compiling C object tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o [37/68] Compiling C object tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o [38/68] Compiling C object tests/tegra/tegra-vic-clear.p/vic-clear.c.o [39/68] Compiling C object tests/drmsl.p/drmsl.c.o [40/68] Compiling C object tests/hash.p/hash.c.o [41/68] Compiling C object tests/tegra/tegra-vic-blit.p/vic-blit.c.o [42/68] Compiling C object tests/tegra/tegra-vic-flip.p/vic-flip.c.o [43/68] Compiling C object tests/drmdevice.p/drmdevice.c.o [44/68] Compiling C object radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o [45/68] Compiling C object tests/util/libutil.a.p/pattern.c.o [46/68] Linking static target tests/util/libutil.a [47/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; ^ [48/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"," ^ [49/68] Linking target libdrm.so.2.4.0 [50/68] Generating symbol file libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols [51/68] Linking target radeon/libdrm_radeon.so.1.0.1 [52/68] Linking target tegra/libdrm_tegra.so.0.0.0 [53/68] Linking target tests/modeprint/modeprint [54/68] Linking target tests/proptest/proptest [55/68] Linking target tests/modetest/modetest [56/68] Linking target tests/vbltest/vbltest [57/68] Linking target tests/radeon/radeon_ttm [58/68] Linking target tests/drmsl [59/68] Linking target tests/hash [60/68] Linking target tests/drmdevice [61/68] Generating symbol file tegra/libdrm_tegra.so.0.0.0.p/libdrm_tegra.so.0.0.0.symbols [62/68] Linking target tests/tegra/tegra-openclose [63/68] Linking target tests/tegra/tegra-syncpt-timeout [64/68] 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 [65/68] Linking target tests/tegra/tegra-syncpt-wait [66/68] Linking target tests/tegra/tegra-vic-clear [67/68] Linking target tests/tegra/tegra-vic-blit [68/68] Linking target tests/tegra/tegra-vic-flip 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'