>>> libdrm 2.4.99 Extracting bzcat /home/buildroot/autobuild/instance-2/dl/libdrm/libdrm-2.4.99.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99 -xf - >>> libdrm 2.4.99 Patching Applying 0001-Add-ARM-support-into-xf86drm.h.patch using patch: patching file xf86drm.h Applying 0002-xf86atomic-require-CAS-support-in-libatomic_ops.patch using patch: patching file xf86atomic.h Hunk #1 succeeded at 54 (offset -4 lines). Applying 0003-meson.build-fix-intel-atomics-detection.patch using patch: patching file meson.build Applying 0004-meson.build-enable-static-build.patch using patch: patching file amdgpu/meson.build patching file etnaviv/meson.build patching file exynos/meson.build Hunk #1 succeeded at 18 with fuzz 1. patching file freedreno/meson.build Hunk #1 succeeded at 39 with fuzz 1. patching file intel/meson.build patching file libkms/meson.build Hunk #1 succeeded at 41 with fuzz 1. patching file meson.build Hunk #1 succeeded at 282 (offset 3 lines). patching file nouveau/meson.build Hunk #1 succeeded at 19 with fuzz 1. patching file omap/meson.build patching file radeon/meson.build patching file tegra/meson.build >>> libdrm 2.4.99 Configuring rm -rf /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build sed -e "s%@TARGET_CROSS@%/home/buildroot/autobuild/instance-2/output-1/host/bin/arc-linux-%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%archs%g" -e "s%@TARGET_ENDIAN@%"little"%g" -e "s%@TARGET_CFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static`%g" -e "s%@TARGET_LDFLAGS@%`printf '"%s", ' -static`%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static`%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-2/output-1/host%g" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=static --buildtype=release --cross-file=/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build/cross-compilation.conf -Dcairo-tests=false -Dmanpages=false -Dintel=false -Dradeon=false -Damdgpu=true -Dnouveau=true -Dvmwgfx=false -Domap=false -Detnaviv=true -Dexynos=false -Dfreedreno=false -Dtegra=false -Dvc4=false -Dudev=false -Dvalgrind=false /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/ /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build The Meson build system Version: 0.51.2 Source dir: /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99 Build dir: /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/build Build type: cross build WARNING: Unknown options: "manpages" Project name: libdrm Project version: 2.4.99 C compiler for the build machine: cc (gcc 6.3.0 "cc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C compiler for the host machine: /home/buildroot/autobuild/instance-2/output-1/host/bin/arc-linux-gcc (gcc 8.2.1 "arc-linux-gcc.br_real (Buildroot 2019.05.1) 8.2.1 20180814") Host machine cpu family: arc Host machine cpu: archs Target machine cpu family: arc Target machine cpu: archs Build machine cpu family: x86_64 Build machine cpu: x86_64 Run-time dependency threads found: YES Found pkg-config: /home/buildroot/autobuild/instance-2/output-1/host/usr/bin/pkg-config (1.6.1) Found CMake: NO Run-time dependency atomic_ops found: NO (tried pkgconfig and cmake) Checking if "Intel Atomics" links: YES Checking for function "dlsym" : YES Checking for function "clock_gettime" : YES Library m found: YES Checking if "sys/sysctl.h works" compiles: YES Checking if "sys/select.h works" compiles: YES Checking if "alloca.h works" compiles: YES Header has symbol "major" : YES Checking for function "open_memstream" : YES Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Wextra: 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 -Wunused-parameter: YES Compiler for C supports arguments -Wattributes: YES Compiler for C supports arguments -Wlong-long: YES Compiler for C supports arguments -Wmissing-field-initializers: YES Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: YES 2.1-3 Program xsltproc found: NO Program sed found: YES (/bin/sed) Program bash found: YES (/bin/bash) Checking if "compiler supports __attribute__(("hidden"))" compiles: YES Configuring config.h using configuration Program nm found: YES (/usr/bin/nm) meson.build:322: DEPRECATION: Library drm was passed to the "libraries" keyword argument of a previous call to generate() method instead of first positional argument. Adding libdrm to "Requires" field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case. Message: Message: libdrm will be compiled with: Message: Message: libkms true Message: Intel API false Message: vmwgfx API false Message: Radeon API false Message: AMDGPU API true Message: Nouveau API true Message: OMAP API false Message: EXYNOS API false Message: Freedreno API false (kgsl: false) Message: Tegra API false Message: VC4 API false Message: Etnaviv API true Message: Build targets in project: 23 Option buildtype is: release [default: debugoptimized] Found ninja-1.9.0 at /home/buildroot/autobuild/instance-2/output-1/host/bin/ninja >>> libdrm 2.4.99 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-2/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build ninja: Entering directory `/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99//build' [1/88] Compiling C object 'drm@sta/xf86drmRandom.c.o'. [2/88] Compiling C object 'drm@sta/xf86drmHash.c.o'. [3/88] Compiling C object 'libkms/4bec46f@@kms@sta/linux.c.o'. [4/88] Compiling C object 'drm@sta/xf86drmSL.c.o'. [5/88] Compiling C object 'libkms/4bec46f@@kms@sta/nouveau.c.o'. [6/88] Compiling C object 'libkms/4bec46f@@kms@sta/dumb.c.o'. [7/88] Compiling C object 'libkms/4bec46f@@kms@sta/api.c.o'. [8/88] Linking static target libkms/libkms.a. [9/88] Compiling C object 'drm@sta/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:264:13: note: called from here 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:290:13: note: called from here 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:310:9: note: called from here 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:348:9: note: called from here 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:405:9: note: called from here 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:424:9: note: called from here 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:442:9: note: called from here 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:455:9: note: called from here 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:611:9: note: called from here 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:622:9: note: called from here 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:741:9: note: called from here 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:871:9: note: called from here 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:887:9: note: called from here 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:969:9: note: called from here 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:985:9: note: called from here 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:1011:9: note: called from here 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:1209:9: note: called from here 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:1461:8: note: called from here 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:1490:8: note: called from here 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:1505:9: note: called from here 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:1520:8: note: called from here 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:1537:6: note: called from here 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:1546:6: note: called from here 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:1564:6: note: called from here 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:1573:6: note: called from here 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:1592:8: note: called from here ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_REVOKE_LEASE, &revoke); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [10/88] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/nouveau.c.o'. In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_object_ioctl': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:66:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_wrap_locked': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:651:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_object_init': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:235:28: note: called from here struct nouveau_drm *drm = nouveau_drm(parent); ^~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_object_mthd': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:95:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_object_sclass_get': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:137:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_device_del': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:506:5: note: called from here nouveau_drm(&nvdev->base.object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_getparam': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:519:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_device_new': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:372:28: note: called from here struct nouveau_drm *drm = nouveau_drm(parent); ^~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_setparam': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:530:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_name_ref': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:728:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_name_get': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:757:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&bo->device->object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_ref': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:593:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&bo->device->object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_prime_handle_ref': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:793:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_set_prime': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:812:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&bo->device->object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_wait': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:828:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&bo->device->object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/nouveau.c:41: ../nouveau/nouveau.c: In function 'nouveau_bo_map': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/nouveau.c:863:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&bo->device->object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11/88] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/bufctx.c.o'. [12/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_asic_id.c.o'. [13/88] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/pushbuf.c.o'. In file included from ../nouveau/pushbuf.c:39: ../nouveau/pushbuf.c: In function 'pushbuf_refn_fail': ../nouveau/private.h:63:1: warning: inlining failed in call to 'cli_kref_set.isra.2': call is unlikely and code size would grow [-Winline] cli_kref_set(struct nouveau_client *client, struct nouveau_bo *bo, ^~~~~~~~~~~~ ../nouveau/pushbuf.c:442:3: note: called from here cli_kref_set(push->client, bo, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/pushbuf.c:39: ../nouveau/pushbuf.c: In function 'nouveau_pushbuf_del': ../nouveau/private.h:63:1: warning: inlining failed in call to 'cli_kref_set.isra.2': call is unlikely and code size would grow [-Winline] cli_kref_set(struct nouveau_client *client, struct nouveau_bo *bo, ^~~~~~~~~~~~ ../nouveau/pushbuf.c:614:5: note: called from here cli_kref_set(nvpb->base.client, bo, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/pushbuf.c:39: ../nouveau/pushbuf.c: In function 'pushbuf_flush': ../nouveau/private.h:63:1: warning: inlining failed in call to 'cli_kref_set.isra.2': call is unlikely and code size would grow [-Winline] cli_kref_set(struct nouveau_client *client, struct nouveau_bo *bo, ^~~~~~~~~~~~ ../nouveau/pushbuf.c:411:3: note: called from here cli_kref_set(push->client, bo, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../nouveau/pushbuf.c:39: ../nouveau/pushbuf.c: In function 'pushbuf_kref': ../nouveau/private.h:63:1: warning: inlining failed in call to 'cli_kref_set.isra.2': call is unlikely and code size would grow [-Winline] cli_kref_set(struct nouveau_client *client, struct nouveau_bo *bo, ^~~~~~~~~~~~ ../nouveau/pushbuf.c:211:3: note: called from here cli_kref_set(push->client, bo, kref, push); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [14/88] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/abi16.c.o'. In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_engobj': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:108:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_ntfy': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:149:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_chan_nve0': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:82:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_chan_nvc0': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:61:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_chan_nv04': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:37:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_delete': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:220:28: note: called from here struct nouveau_drm *drm = nouveau_drm(obj); ^~~~~~~~~~~~~~~~ In file included from ../nouveau/private.h:10, from ../nouveau/abi16.c:30: ../nouveau/abi16.c: In function 'abi16_bo_init': ../nouveau/nouveau.h:52:1: warning: inlining failed in call to 'nouveau_drm': call is unlikely and code size would grow [-Winline] nouveau_drm(struct nouveau_object *obj) ^~~~~~~~~~~ ../nouveau/abi16.c:311:28: note: called from here struct nouveau_drm *drm = nouveau_drm(&dev->object); ^~~~~~~~~~~~~~~~~~~~~~~~~ [15/88] Linking static target nouveau/libdrm_nouveau.a. [16/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_device.c.o'. [17/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_bo.c.o'. ../amdgpu/amdgpu_bo.c: In function 'amdgpu_find_bo_by_cpu_mapping': ../amdgpu/amdgpu_bo.c:562:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cpu < (void*)((uintptr_t)bo->cpu_ptr + bo->alloc_size)) ^ [18/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_gpu_info.c.o'. [19/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_vamgr.c.o'. [20/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_vm.c.o'. [21/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/handle_table.c.o'. [22/88] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sta/amdgpu_cs.c.o'. [23/88] Linking static target amdgpu/libdrm_amdgpu.a. [24/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_device.c.o'. [25/88] Compiling C object 'drm@sta/xf86drm.c.o'. In file included from ../xf86drm.c:69: ../xf86drm.c: In function 'drmGetMinorNameForFD': ../xf86drm.h:85:23: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 55 [-Wformat-truncation=] #define DRM_DIR_NAME "/dev/dri" ^~~~~~~~~~ ../xf86drm.c:2892:50: note: in expansion of macro 'DRM_DIR_NAME' snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~ ../xf86drm.c:2892:65: note: format string is defined here snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~ ../xf86drm.c:2892:13: note: 'snprintf' output between 10 and 265 bytes into a destination of size 64 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ent->d_name); ~~~~~~~~~~~~ ../xf86drm.c: In function 'parse_separate_sysfs_files': ../xf86drm.c:3188:37: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]); ^ ../xf86drm.c:3188:9: note: 'snprintf' output 2 or more bytes (assuming 4098) into a destination of size 4096 snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drm.c: In function 'process_device': ../xf86drm.c:3218:33: warning: '/config' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(path, PATH_MAX, "%s/config", pci_path); ^~~~~~~ ../xf86drm.c:3218:5: note: 'snprintf' output between 8 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX, "%s/config", pci_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [26/88] Linking static target libdrm.a. [27/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_gpu.c.o'. [28/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_bo_cache.c.o'. [29/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_bo.c.o'. ../etnaviv/etnaviv_bo.c: In function 'lookup_bo': ../etnaviv/etnaviv_bo.c:67:43: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] if (!drmHashLookup(tbl, handle, (void **)&bo)) { ^~~ [30/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_perfmon.c.o'. [31/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_pipe.c.o'. [32/88] Compiling C object 'tests/util/16d880e@@util@sta/format.c.o'. [33/88] Compiling C object 'tests/util/16d880e@@util@sta/kms.c.o'. [34/88] Compiling C object 'etnaviv/24e13fb@@drm_etnaviv@sta/etnaviv_cmd_stream.c.o'. [35/88] Linking static target etnaviv/libdrm_etnaviv.a. [36/88] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-crtc.c.o'. [37/88] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-plane.c.o'. [38/88] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-device.c.o'. [39/88] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-framebuffer.c.o'. [40/88] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-screen.c.o'. [41/88] Linking static target tests/kms/libkms-test.a. [42/88] Compiling C object 'tests/kms/d711c5d@@kms-steal-crtc@exe/kms-steal-crtc.c.o'. [43/88] Compiling C object 'tests/kms/d711c5d@@kms-universal-planes@exe/kms-universal-planes.c.o'. [44/88] Linking target tests/kms/kms-universal-planes. [45/88] Compiling C object 'tests/modeprint/6b185c3@@modeprint@exe/modeprint.c.o'. [46/88] Compiling C object 'tests/proptest/7eb5fbb@@proptest@exe/proptest.c.o'. In file included from ../tests/proptest/proptest.c:37: ../tests/proptest/proptest.c: In function 'listObjectProperties': ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:97:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:99:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:101:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:103:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:105:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:107:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_OBJECT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:112:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:119:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:126:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:132:13: note: called from here } else if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:142:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:152:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/proptest/proptest.c:37: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/proptest/proptest.c:154:11: note: called from here else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [47/88] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/buffers.c.o'. [48/88] Compiling C object 'tests/util/16d880e@@util@sta/pattern.c.o'. ../tests/util/pattern.c: In function 'util_smpte_c8_gamma': ../tests/util/pattern.c:646:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] memset(lut, size * sizeof(struct drm_color_lut), 0); ^~~~~~ ../tests/util/pattern.c: In function 'fill_tiles_rgb16fp': ../tests/util/pattern.c:988:8: warning: unused variable 'mem_base' [-Wunused-variable] void *mem_base = mem; ^~~~~~~~ [49/88] Linking static target tests/util/libutil.a. [50/88] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/modetest.c.o'. In file included from ../tests/modetest/modetest.c:59: ../tests/modetest/modetest.c: In function 'dump_prop': ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:358:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:360:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:362:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:364:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:366:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:368:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_OBJECT)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:372:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:379:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:386:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:392:13: note: called from here } else if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:402:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:412:6: note: called from here if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/modetest/modetest.c:59: ../xf86drmMode.h:246:21: warning: inlining failed in call to 'drm_property_type_is.isra.0': call is unlikely and code size would grow [-Winline] static __inline int drm_property_type_is(drmModePropertyPtr property, ^~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:414:11: note: called from here else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c: In function 'main': ../tests/modetest/modetest.c:1298:15: warning: 'ovr' may be used uninitialized in this function [-Wmaybe-uninitialized] ovr->crtc_id = crtc->crtc->crtc_id; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../tests/modetest/modetest.c:1209:16: note: 'ovr' was declared here drmModePlane *ovr; ^~~ [51/88] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/cursor.c.o'. [52/88] Linking target tests/kms/kms-steal-crtc. [53/88] Linking target tests/modeprint/modeprint. [54/88] Compiling C object 'tests/vbltest/3928abf@@vbltest@exe/vbltest.c.o'. [55/88] Linking target tests/proptest/proptest. [56/88] Linking target tests/modetest/modetest. [57/88] Linking target tests/vbltest/vbltest. [58/88] Compiling C object 'tests/kmstest/e2824f4@@kmstest@exe/main.c.o'. [59/88] Linking target tests/kmstest/kmstest. [60/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/bo_tests.c.o'. ../tests/amdgpu/bo_tests.c: In function 'amdgpu_mem_fail_alloc': ../tests/amdgpu/bo_tests.c:285:7: warning: 'bo' may be used uninitialized in this function [-Wmaybe-uninitialized] r = amdgpu_bo_free(bo); ^~~~~~~~~~~~~~~~~~ [61/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/amdgpu_test.c.o'. [62/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/cs_tests.c.o'. ../tests/amdgpu/cs_tests.c: In function 'amdgpu_cs_uvd_decode': ../tests/amdgpu/cs_tests.c:383:4: warning: 'ctx_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] uvd_cmd(ctx_addr, 0x206, &i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [63/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/uvd_enc_tests.c.o'. [64/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vce_tests.c.o'. [65/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vcn_tests.c.o'. [66/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vm_tests.c.o'. [67/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/deadlock_tests.c.o'. [68/88] Compiling C object 'tests/etnaviv/728953a@@etnaviv_bo_cache_test@exe/etnaviv_bo_cache_test.c.o'. [69/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/syncobj_tests.c.o'. ../tests/amdgpu/syncobj_tests.c: In function 'syncobj_command_submission_helper': ../tests/amdgpu/syncobj_tests.c:99:20: warning: unused variable 'flags' [-Wunused-variable] uint32_t expired, flags; ^~~~~ [70/88] Compiling C object 'tests/etnaviv/728953a@@etnaviv_2d_test@exe/etnaviv_2d_test.c.o'. [71/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/ras_tests.c.o'. ../tests/amdgpu/ras_tests.c: In function 'set_test_card': ../tests/amdgpu/ras_tests.c:343:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ../tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_query_err_count': ../tests/amdgpu/ras_tests.c:435:6: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ ../tests/amdgpu/ras_tests.c: In function '__amdgpu_ras_inject_test': ../tests/amdgpu/ras_tests.c:547:1: warning: label 'loop' defined but not used [-Wunused-label] loop: ^~~~ ../tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_basic_test': ../tests/amdgpu/ras_tests.c:608:7: warning: unused variable 'name' [-Wunused-variable] char name[1024]; ^~~~ ../tests/amdgpu/ras_tests.c:607:20: warning: unused variable 'ce' [-Wunused-variable] unsigned long ue, ce; ^~ ../tests/amdgpu/ras_tests.c:607:16: warning: unused variable 'ue' [-Wunused-variable] unsigned long ue, ce; ^~ At top level: ../tests/amdgpu/ras_tests.c:497:13: warning: 'amdgpu_ras_enable_test' defined but not used [-Wunused-function] static void amdgpu_ras_enable_test(void) ^~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_query_err_count': ../tests/amdgpu/ras_tests.c:442:21: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(name, "%s%s%s", get_ras_sysfs_root(), ras_block_str(block), "_err_count"); ^~ ~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:442:2: note: 'sprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 sprintf(name, "%s%s%s", get_ras_sysfs_root(), ras_block_str(block), "_err_count"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_basic_test': ../tests/amdgpu/ras_tests.c:625:20: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~ ~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:625:3: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:629:20: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_sysfs_root(), "features"); ^~ ~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:629:3: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_sysfs_root(), "features"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:641:23: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s%s", get_ras_sysfs_root(), ras_block_str(j), "_err_count"); ^~ ~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:641:4: note: 'sprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 sprintf(path, "%s%s%s", get_ras_sysfs_root(), ras_block_str(j), "_err_count"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:645:23: warning: '%s' directive writing 11 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s%s", get_ras_debugfs_root(), ras_block_str(j), "_err_inject"); ^~ ~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:645:4: note: 'sprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 sprintf(path, "%s%s%s", get_ras_debugfs_root(), ras_block_str(j), "_err_inject"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_invoke': ../tests/amdgpu/ras_tests.c:423:19: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~ ~~~~~~~~~~ ../tests/amdgpu/ras_tests.c:423:2: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [72/88] Compiling C object 'tests/etnaviv/728953a@@etnaviv_2d_test@exe/write_bmp.c.o'. [73/88] Linking target tests/etnaviv/etnaviv_bo_cache_test. [74/88] Compiling C object 'tests/etnaviv/728953a@@etnaviv_cmd_stream_test@exe/etnaviv_cmd_stream_test.c.o'. [75/88] Linking target tests/etnaviv/etnaviv_2d_test. [76/88] Linking target tests/etnaviv/etnaviv_cmd_stream_test. [77/88] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/basic_tests.c.o'. ../tests/amdgpu/basic_tests.c: In function 'amdgpu_memcpy_draw': ../tests/amdgpu/basic_tests.c:2946:23: warning: unused variable 'hangs' [-Wunused-variable] uint32_t hang_state, hangs, expired; ^~~~~ ../tests/amdgpu/basic_tests.c:2946:11: warning: unused variable 'hang_state' [-Wunused-variable] uint32_t hang_state, hangs, expired; ^~~~~~~~~~ [78/88] Linking target tests/amdgpu/amdgpu_test. [79/88] Compiling C object 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o'. [80/88] Compiling C object 'tests/59830eb@@drmsl@exe/drmsl.c.o'. [81/88] Linking target tests/drmsl. [82/88] Compiling C object 'tests/59830eb@@random@exe/random.c.o'. [83/88] Compiling C object 'tests/59830eb@@hash@exe/hash.c.o'. [84/88] Linking target tests/nouveau/threaded. FAILED: tests/nouveau/threaded /home/buildroot/autobuild/instance-2/output-1/host/bin/arc-linux-gcc -o tests/nouveau/threaded 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -static -Wl,--start-group libdrm.a nouveau/libdrm_nouveau.a -pthread -lm -Wl,--end-group '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../nouveau' -Wl,-rpath-link,/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/build/ -Wl,-rpath-link,/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/build/nouveau /home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-buildroot-linux-uclibc/8.2.1/../../../../arc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(ioctl.os): in function `__GI_ioctl': ioctl.c:(.text+0x0): multiple definition of `ioctl'; tests/nouveau/e47a46e@@threaded@exe/threaded.c.o:threaded.c:(.text+0x44): first defined here collect2: error: ld returned 1 exit status [85/88] Linking target tests/random. [86/88] Linking target tests/hash. [87/88] Compiling C object 'tests/59830eb@@drmdevice@exe/drmdevice.c.o'. ninja: build stopped: subcommand failed. package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/libdrm-2.4.99/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'