$ git log --oneline --no-decorate -1
165df656 tests/gem_barrier_race: Extend support over compute engines
$ meson build
The Meson build system
Version: 0.63.3
Source dir: /dev/shm/intel-gpu-tools
Build dir: /dev/shm/intel-gpu-tools/build
Build type: native build
Project name: igt-gpu-tools
Project version: 1.27.1
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wbad-function-cast: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wimplicit-fallthrough=0: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wno-clobbered: YES
Compiler for C supports arguments -Wno-maybe-uninitialized: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-pointer-arith: YES
Compiler for C supports arguments -Wno-address-of-packed-member: YES
Compiler for C supports arguments -Wno-sign-compare: YES
Compiler for C supports arguments -Wno-type-limits: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-unused-result: YES
Compiler for C supports arguments -Werror=address: YES
Compiler for C supports arguments -Werror=array-bounds: YES
Compiler for C supports arguments -Werror=implicit: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES
Compiler for C supports arguments -Werror=main: YES
Compiler for C supports arguments -Werror=missing-braces: YES
Compiler for C supports arguments -Werror=nonnull: YES
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=sequence-point: YES
Compiler for C supports arguments -Werror=trigraphs: YES
Compiler for C supports arguments -Werror=write-strings: YES
Compiler for C supports arguments -fno-builtin-malloc: YES
Compiler for C supports arguments -fno-builtin-calloc: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency libdrm found: YES 2.4.111
Run-time dependency libdrm_intel found: YES 2.4.111
Run-time dependency libdrm_nouveau found: YES 2.4.111
Run-time dependency libdrm_amdgpu found: YES 2.4.111
Run-time dependency pciaccess found: YES 0.13.2
Run-time dependency libkmod found: YES 22
Run-time dependency libprocps found: YES 3.3.17
Found CMake: /usr/bin/cmake (3.25.2)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Run-time dependency libdw found: YES 0.176
Run-time dependency pixman-1 found: YES 0.38.4
Run-time dependency valgrind found: YES 3.18.1
Run-time dependency cairo found: YES 1.17.2
Run-time dependency libudev found: YES 242
Run-time dependency glib-2.0 found: YES 2.70.0
Run-time dependency xmlrpc found: NO (tried pkgconfig and cmake)
Run-time dependency xmlrpc_util found: NO (tried pkgconfig and cmake)
Run-time dependency xmlrpc_client found: NO (tried pkgconfig and cmake)
Program xmlrpc-c-config found: NO
Run-time dependency gsl found: YES 2.5
Run-time dependency alsa found: YES 1.1.5
Run-time dependency libcurl found: YES 7.76.1
Run-time dependency threads found: YES
Library m found: YES
Library rt found: YES
Library dl found: YES
Library z found: YES
Checking if "built-in atomics" : links: YES
Has header "linux/kd.h" : YES
Has header "sys/kd.h" : YES
Has header "libgen.h" : YES
Has header "sys/io.h" : YES
Checking if "cpuid.h" : links: YES
Header "unistd.h" has symbol "gettid" : YES
Checking whether type "struct sysinfo" has member "totalram" : YES
Checking for function "memfd_create" : YES
Configuring config.h using configuration
Program python3 found: YES (/pkg/python-3.10.8-0/bin/python3)
Configuring i915-perf.pc using configuration
Program generate_testlist.sh found: YES (/dev/shm/intel-gpu-tools/tests/generate_testlist.sh)
Program igt_command_line.sh found: YES (/dev/shm/intel-gpu-tools/tests/igt_command_line.sh)
Run-time dependency json-c found: YES 0.15
Run-time dependency liboping found: NO (tried pkgconfig and cmake)
Compiler for C supports arguments -Wno-declaration-after-statement: YES
Compiler for C supports arguments -Wno-discarded-qualifiers: YES
Compiler for C supports arguments -Wno-missing-format-attribute: YES
Compiler for C supports arguments -Wno-old-style-definition: YES
Compiler for C supports arguments -Wno-redundant-decls: YES
Compiler for C supports arguments -Wno-shadow: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types-discards-qualifiers: NO
Program flex found: YES (/usr/bin/flex)
Program bison found: YES (/usr/bin/bison)
Configuring intel-gen4asm.pc using configuration
Program test/run-test.sh found: YES (/bin/sh /dev/shm/intel-gpu-tools/assembler/test/run-test.sh)
Run-time dependency xv found: YES 1.0.10
Run-time dependency x11 found: YES 1.8.1
Run-time dependency xext found: YES 1.3.2
Run-time dependency dri2proto found: YES 2.8
Run-time dependency cairo-xlib found: YES 1.17.2
Run-time dependency xrandr found: YES 1.5.1
Program leg found: NO
Message: WARNING: leg command not found, disabling overlay; try : apt-get install peg
Configuring defs.rst using configuration
Program rst2man-3 rst2man found: NO
Program rst2man.sh found: YES (/dev/shm/intel-gpu-tools/man/rst2man.sh)
Run-time dependency gtk-doc found: YES 1.33.1
Program generate_description_xml.py found: YES (/dev/shm/intel-gpu-tools/docs/reference/igt-gpu-tools/generate_description_xml.py)
Program generate_programs_xml.sh found: YES (/dev/shm/intel-gpu-tools/docs/reference/igt-gpu-tools/generate_programs_xml.sh)
Configuring version.xml using configuration
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref)
Message: Build options
Message: =============
Message: Build type: debugoptimized
Message: With libdrm: intel,nouveau,amdgpu
Message: With libunwind: false
Message: Valgrind annotations: true
Message: Build Chamelium test: false
Message: Build tests: true
Message: Build test runner: true
Message: Build overlay: false
Message: Build man pages: false
Message: Build documentation: true
Build targets in project: 634
NOTICE: Future-deprecated features used:
* 0.56.0: {'meson.source_root'}
Found ninja-1.10.2 at /usr/bin/ninja
$ ninja -C build
ninja: Entering directory `build'
[122/1233] Compiling C object tests/drm_read.p/drm_read.c.o
In file included from /usr/include/features.h:490,
from /usr/include/unistd.h:25,
from ../lib/drmtest.h:31,
from ../lib/igt.h:27,
from ../tests/drm_read.c:32:
In function ‘read’,
inlined from ‘test_invalid_buffer’ at ../tests/drm_read.c:112:2,
inlined from ‘__igt_unique____real_main256’ at ../tests/drm_read.c:295:3:
/usr/include/bits/unistd.h:38:10: warning: ‘__read_alias’ writing 4096 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
38 | return __glibc_fortify (read, __nbytes, sizeof (char),
| ^~~~~~~~~~~~~~~
/usr/include/bits/unistd.h: In function ‘__igt_unique____real_main256’:
/usr/include/bits/unistd.h:26:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’
26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf,
| ^~~~~~~~~~
[741/1233] Linking target lib/libigt.so.0
FAILED: lib/libigt.so.0
cc -o lib/libigt.so.0 lib/libigt.so.0.p/dummy.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libigt.so.0 -Wl,--whole-archive lib/libigt-drmtest_c.a lib/libigt-dmabuf_sync_file_c.a lib/libigt-huc_copy_c.a lib/libigt-i915_gem_c.a lib/libigt-i915_gem_context_c.a lib/libigt-i915_gem_create_c.a lib/libigt-i915_gem_engine_topology_c.a lib/libigt-i915_gem_scheduler_c.a lib/libigt-i915_gem_submission_c.a lib/libigt-i915_gem_ring_c.a lib/libigt-i915_gem_mman_c.a lib/libigt-i915_gem_vm_c.a lib/libigt-i915_intel_decode_c.a lib/libigt-i915_intel_memory_region_c.a lib/libigt-i915_intel_mocs_c.a lib/libigt-i915_intel_cmds_info_c.a lib/libigt-i915_i915_blt_c.a lib/libigt-i915_i915_crc_c.a lib/libigt-igt_collection_c.a lib/libigt-igt_color_encoding_c.a lib/libigt-igt_crc_c.a lib/libigt-igt_debugfs_c.a lib/libigt-igt_device_c.a lib/libigt-igt_device_scan_c.a lib/libigt-igt_drm_fdinfo_c.a lib/libigt-igt_aux_c.a lib/libigt-igt_gt_c.a lib/libigt-igt_halffloat_c.a lib/libigt-igt_hwmon_c.a lib/libigt-igt_io_c.a lib/libigt-igt_matrix_c.a lib/libigt-igt_os_c.a lib/libigt-igt_params_c.a lib/libigt-igt_perf_c.a lib/libigt-igt_pipe_crc_c.a lib/libigt-igt_power_c.a lib/libigt-igt_primes_c.a lib/libigt-igt_pci_c.a lib/libigt-igt_rand_c.a lib/libigt-igt_stats_c.a lib/libigt-igt_syncobj_c.a lib/libigt-igt_sysfs_c.a lib/libigt-igt_sysrq_c.a lib/libigt-igt_taints_c.a lib/libigt-igt_thread_c.a lib/libigt-igt_types_c.a lib/libigt-igt_vec_c.a lib/libigt-igt_vgem_c.a lib/libigt-igt_x86_c.a lib/libigt-instdone_c.a lib/libigt-intel_allocator_c.a lib/libigt-intel_allocator_msgchannel_c.a lib/libigt-intel_allocator_reloc_c.a lib/libigt-intel_allocator_simple_c.a lib/libigt-intel_batchbuffer_c.a lib/libigt-intel_bufops_c.a lib/libigt-intel_chipset_c.a lib/libigt-intel_ctx_c.a lib/libigt-intel_device_info_c.a lib/libigt-intel_mmio_c.a lib/libigt-ioctl_wrappers_c.a lib/libigt-media_spin_c.a lib/libigt-media_fill_c.a lib/libigt-gpgpu_fill_c.a lib/libigt-gpu_cmds_c.a lib/libigt-rendercopy_i915_c.a lib/libigt-rendercopy_i830_c.a lib/libigt-rendercopy_gen4_c.a lib/libigt-rendercopy_gen6_c.a lib/libigt-rendercopy_gen7_c.a lib/libigt-rendercopy_gen8_c.a lib/libigt-rendercopy_gen9_c.a lib/libigt-runnercomms_c.a lib/libigt-sw_sync_c.a lib/libigt-intel_aux_pgtable_c.a lib/libigt-intel_reg_map_c.a lib/libigt-intel_iosf_c.a lib/libigt-igt_kms_c.a lib/libigt-igt_fb_c.a lib/libigt-igt_core_c.a lib/libigt-igt_draw_c.a lib/libigt-igt_list_c.a lib/libigt-igt_map_c.a lib/libigt-igt_pm_c.a lib/libigt-igt_dummyload_c.a lib/libigt-igt_store_c.a lib/libigt-uwildmat_uwildmat_c.a lib/libigt-igt_kmod_c.a lib/libigt-igt_panfrost_c.a lib/libigt-igt_v3d_c.a lib/libigt-igt_vc4_c.a lib/libigt-igt_psr_c.a lib/libigt-igt_amd_c.a lib/libigt-igt_edid_c.a lib/libigt-igt_eld_c.a lib/libigt-igt_infoframe_c.a lib/libigt-veboxcopy_gen12_c.a lib/libigt-igt_msm_c.a lib/libigt-igt_dsc_c.a lib/libigt-igt_nouveau_c.a lib/libigt-nouveau_cea0b5_c.a lib/libigt-amdgpu_amd_memory_c.a lib/libigt-amdgpu_amd_command_submission_c.a lib/libigt-amdgpu_amd_compute_c.a lib/libigt-amdgpu_amd_gfx_c.a lib/libigt-amdgpu_amd_ip_blocks_c.a lib/libigt-amdgpu_amd_shaders_c.a lib/libigt-amdgpu_amd_gfx_v8_0_c.a lib/libigt-amdgpu_amd_gfx_v9_0_c.a lib/libigt-amdgpu_amd_dispatch_helpers_c.a lib/libigt-amdgpu_amd_dispatch_c.a lib/libigt-amdgpu_amd_deadlock_helpers_c.a lib/libigt-amdgpu_amd_pci_unplug_c.a lib/libigt-amdgpu_xalloc_h.a lib/libigt-amdgpu_amd_cp_dma_c.a lib/libigt-igt_frame_c.a lib/libigt-igt_audio_c.a lib/libigt-igt_alsa_c.a -Wl,--no-whole-archive /usr/lib/libcairo.so /usr/lib/libglib-2.0.so /usr/lib/libdrm.so /usr/lib/libdw.so /usr/lib/libelf.so /usr/lib/libkmod.so /usr/lib/libprocps.a /lib/libudev.so -lm /usr/lib/libpciaccess.so /usr/lib/libpixman-1.so -pthread -lrt -lz /usr/lib/libdrm_nouveau.so /usr/lib/libdrm_amdgpu.so /usr/lib/libgsl.so /usr/lib/libgslcblas.so /usr/lib/libasound.so -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -lz -Wl,--end-group
/usr/bin/ld: /usr/lib/libprocps.a(readproc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libprocps.a(alloc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libprocps.a(escape.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libprocps.a(pwcache.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/libprocps.a(alloc.o): warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
collect2: error: ld returned 1 exit status
[759/1233] Compiling C object runner/runner_test.p/runner_tests.c.o
ninja: build stopped: subcommand failed.
$ file /usr/lib/libprocps.a
/usr/lib/libprocps.a: current ar archive