Skip to content

Fix i-g-t on old systems

Lucas De Marchi igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesIn review
  2. v12 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2build: provide include for missing syscallsbenchmarks/Makefile.am debugger/Makefile.am lib/Makefile.am +7 more+21 -72 replies
2/2build: provide stub implementation for memfd_createconfigure.ac lib/stubs/syscalls/sys/mman.h meson.build+43 -06 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRodrigo ViviAntonio ArgenzianoTvrtko Ursulin
1/2R-b R-b
2/2R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 0/2] Fix i-g-t on old systems

IGT now requires memfd_create() which is not available on old versions of glibc (or some alternative libcs). This provides a minimal intrusive way to keep building on those old systems without polluting the code with a compatibility layer.

The approach is similar to what I've been using in other projects like systemd, kmod, ardupilot, etc. The syscall numbers came from systemd.

v2: add support to autotools

Lucas De Marchi (2):
build: provide include for missing syscalls
build: provide stub implementation for memfd_create

 benchmarks/Makefile.am           |  3 ++-
 configure.ac                     |  3 +++
 debugger/Makefile.am             |  3 ++-
 lib/Makefile.am                  |  3 ++-
 lib/stubs/syscalls/README        |  6 ++++++
 lib/stubs/syscalls/sys/mman.h    | 37 ++++++++++++++++++++++++++++++++
 lib/tests/Makefile.am            |  1 +
 meson.build                      |  5 ++++-
 overlay/Makefile.am              |  3 ++-
 tests/Makefile.am                |  1 +
 tools/Makefile.am                |  3 ++-
 tools/null_state_gen/Makefile.am |  3 ++-
 12 files changed, 64 insertions(+), 7 deletions(-)
 create mode 100644 lib/stubs/syscalls/README
 create mode 100644 lib/stubs/syscalls/sys/mman.h
Signature · 6 lines
2.17.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev