[igt-dev] ✗ Fi.CI.BUILD: failure for Replaced instances of mmap64() with drm_mmap()
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 5 21:01:37 UTC 2022
== Series Details ==
Series: Replaced instances of mmap64() with drm_mmap()
URL : https://patchwork.freedesktop.org/series/109431/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
17292ab1e63802d8456670f606f8ad78082d09ee igt_core: add a line break at the end of some internal_assert
ninja: Entering directory `/opt/igt/build'
[1/940] Generating version.h with a custom command.
[2/938] Compiling C object 'lib/76b5a35@@igt-i915_gem_mman_c at sta/i915_gem_mman.c.o'.
FAILED: lib/76b5a35@@igt-i915_gem_mman_c at sta/i915_gem_mman.c.o
cc -Ilib/76b5a35@@igt-i915_gem_mman_c at sta -Ilib -I../../../usr/src/igt-gpu-tools/lib -I../../../usr/src/igt-gpu-tools/include/drm-uapi -I../../../usr/src/igt-gpu-tools/include/linux-uapi -I../../../usr/src/igt-gpu-tools/lib/stubs/syscalls -I. -I../../../usr/src/igt-gpu-tools/ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fcommon -fPIC -pthread '-DIGT_DATADIR="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/usr/src/igt-gpu-tools/tests"' '-DIGT_LOG_DOMAIN="i915/gem_mman"' -MD -MQ 'lib/76b5a35@@igt-i915_gem_mman_c at sta/i915_gem_mman.c.o' -MF 'lib/76b5a35@@igt-i915_gem_mman_c at sta/i915_gem_mman.c.o.d' -o 'lib/76b5a35@@igt-i915_gem_mman_c at sta/i915_gem_mman.c.o' -c ../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c: In function ‘__gem_mmap__gtt’:
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c:121:8: error: implicit declaration of function ‘drm_mmap’; did you mean ‘gem_munmap’? [-Werror=implicit-function-declaration]
121 | ptr = drm_mmap(0, size, prot, MAP_SHARED, fd, mmap_arg.offset);
| ^~~~~~~~
| gem_munmap
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c:121:8: warning: nested extern declaration of ‘drm_mmap’ [-Wnested-externs]
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c:121:6: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
121 | ptr = drm_mmap(0, size, prot, MAP_SHARED, fd, mmap_arg.offset);
| ^
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c: In function ‘__gem_mmap_offset’:
../../../usr/src/igt-gpu-tools/lib/i915/gem_mman.c:334:6: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
334 | ptr = drm_mmap(0, size, prot, MAP_SHARED, fd, arg.offset + offset);
| ^
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
More information about the igt-dev
mailing list