[igt-dev] ✗ GitLab.Pipeline: warning for lib/intel_mmio: Fix mmapped resources not unmapped on fini

Patchwork patchwork at emeril.freedesktop.org
Tue Mar 1 14:11:08 UTC 2022


== Series Details ==

Series: lib/intel_mmio: Fix mmapped resources not unmapped on fini
URL   : https://patchwork.freedesktop.org/series/100882/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/521102 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316485):
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -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/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -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-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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function); did you mean ‘mmio_bar’?
             mmio_size,
             ^~~~~~~~~
             mmio_bar
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:13: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’; did you mean ‘mmio_size’?
    mmio_data->mmio_data->dev = NULL;
               ^~~~~~~~~
               mmio_size
  ninja: build stopped: subcommand failed.
  section_end:1646143525:step_script
  section_start:1646143525:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143531:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316488):
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  /usr/bin/aarch64-linux-gnu-gcc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -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-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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function); did you mean ‘mmio_bar’?
             mmio_size,
             ^~~~~~~~~
             mmio_bar
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:13: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’; did you mean ‘mmio_size’?
    mmio_data->mmio_data->dev = NULL;
               ^~~~~~~~~
               mmio_size
  ninja: build stopped: subcommand failed.
  section_end:1646143506:step_script
  section_start:1646143506:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143507:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316487):
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  /usr/bin/arm-linux-gnueabihf-gcc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -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-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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function); did you mean ‘mmio_bar’?
             mmio_size,
             ^~~~~~~~~
             mmio_bar
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:13: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’; did you mean ‘mmio_size’?
    mmio_data->mmio_data->dev = NULL;
               ^~~~~~~~~
               mmio_size
  ninja: build stopped: subcommand failed.
  section_end:1646143492:step_script
  section_start:1646143492:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143492:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316489):
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  /usr/bin/mips-linux-gnu-gcc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/mips-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/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -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-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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function); did you mean ‘mmio_bar’?
             mmio_size,
             ^~~~~~~~~
             mmio_bar
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:13: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’; did you mean ‘mmio_size’?
    mmio_data->mmio_data->dev = NULL;
               ^~~~~~~~~
               mmio_size
  ninja: build stopped: subcommand failed.
  section_end:1646143560:step_script
  section_start:1646143560:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143563:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316486):
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -I../lib/stubs/libunwind -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 -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-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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function); did you mean ‘mmio_bar’?
             mmio_size,
             ^~~~~~~~~
             mmio_bar
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:13: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’; did you mean ‘mmio_size’?
    mmio_data->mmio_data->dev = NULL;
               ^~~~~~~~~
               mmio_size
  ninja: build stopped: subcommand failed.
  section_end:1646143490:step_script
  section_start:1646143490:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143490:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316480):
  [17/983] Linking static target lib/libigt-ioctl_wrappers_c.a.
  [18/983] Compiling C object 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o'.
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -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="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"' -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function)
    162 |           mmio_size,
        |           ^~~~~~~~~
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:11: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’
    188 |  mmio_data->mmio_data->dev = NULL;
        |           ^~
  ninja: build stopped: subcommand failed.
  section_end:1646143466:step_script
  section_start:1646143466:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143467:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316484):
  [9/979] Linking static target lib/libigt-intel_batchbuffer_c.a.
  [10/979] Linking static target lib/libigt-intel_ctx_c.a.
  [11/979] Linking static target lib/libigt-intel_bufops_c.a.
  [12/979] Compiling C object 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o'.
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  clang -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Xclang -fcolor-diagnostics -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 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"' -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c:162:11: error: use of undeclared identifier 'mmio_size'
                                        mmio_size,
                                        ^
  ../lib/intel_mmio.c:188:13: error: no member named 'mmio_data' in 'struct intel_mmio_data'
          mmio_data->mmio_data->dev = NULL;
          ~~~~~~~~~  ^
  2 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1646143500:step_script
  section_start:1646143500:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143501:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316483):
  [14/877] Linking static target lib/libigt-ioctl_wrappers_c.a.
  [15/877] Compiling C object 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o'.
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"' -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function)
    162 |           mmio_size,
        |           ^~~~~~~~~
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:11: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’
    188 |  mmio_data->mmio_data->dev = NULL;
        |           ^~
  ninja: build stopped: subcommand failed.
  section_end:1646143476:step_script
  section_start:1646143476:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143477:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316481):
  [11/970] Linking static target lib/libigt-intel_ctx_c.a.
  [12/970] Compiling C object 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o'.
  FAILED: lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/76b5a35@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"' -MD -MQ 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/76b5a35@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function)
    162 |           mmio_size,
        |           ^~~~~~~~~
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:11: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’
    188 |  mmio_data->mmio_data->dev = NULL;
        |           ^~
  ninja: build stopped: subcommand failed.
  section_end:1646143466:step_script
  section_start:1646143466:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143466:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19316482):
  [16/1004] Linking static target lib/libigt-intel_os_c.a.
  [17/1004] Compiling C object 'lib/lib@@igt-intel_mmio_c at sta/intel_mmio.c.o'.
  FAILED: lib/lib@@igt-intel_mmio_c at sta/intel_mmio.c.o 
  cc -Ilib/lib@@igt-intel_mmio_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -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="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_mmio"'  -MD -MQ 'lib/lib@@igt-intel_mmio_c at sta/intel_mmio.c.o' -MF 'lib/lib@@igt-intel_mmio_c at sta/intel_mmio.c.o.d' -o 'lib/lib@@igt-intel_mmio_c at sta/intel_mmio.c.o' -c ../lib/intel_mmio.c
  ../lib/intel_mmio.c: In function ‘intel_mmio_use_pci_bar’:
  ../lib/intel_mmio.c:162:11: error: ‘mmio_size’ undeclared (first use in this function)
    162 |           mmio_size,
        |           ^~~~~~~~~
  ../lib/intel_mmio.c:162:11: note: each undeclared identifier is reported only once for each function it appears in
  ../lib/intel_mmio.c: In function ‘intel_mmio_unmap_pci_bar’:
  ../lib/intel_mmio.c:188:11: error: ‘struct intel_mmio_data’ has no member named ‘mmio_data’
    188 |  mmio_data->mmio_data->dev = NULL;
        |           ^~
  ninja: build stopped: subcommand failed.
  section_end:1646143467:step_script
  section_start:1646143467:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646143467:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/521102


More information about the igt-dev mailing list