igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/2] Fix i-g-t on old systems
@ 2018-07-19 20:54 Lucas De Marchi
  2018-07-19 20:54 ` [igt-dev] [PATCH i-g-t 1/2] build: provide include for missing syscalls Lucas De Marchi
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Lucas De Marchi @ 2018-07-19 20:54 UTC (permalink / raw)
  To: igt-dev

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.

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

 lib/stubs/syscall/README     |  6 ++++++
 lib/stubs/syscall/sys/mman.h | 37 ++++++++++++++++++++++++++++++++++++
 meson.build                  |  5 ++++-
 3 files changed, 47 insertions(+), 1 deletion(-)
 create mode 100644 lib/stubs/syscall/README
 create mode 100644 lib/stubs/syscall/sys/mman.h

-- 
2.17.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-07-20 19:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-19 20:54 [igt-dev] [PATCH i-g-t 0/2] Fix i-g-t on old systems Lucas De Marchi
2018-07-19 20:54 ` [igt-dev] [PATCH i-g-t 1/2] build: provide include for missing syscalls Lucas De Marchi
2018-07-19 20:54 ` [igt-dev] [PATCH i-g-t 2/2] stubs: provide implementation for memfd_create Lucas De Marchi
2018-07-19 21:14   ` Antonio Argenziano
2018-07-19 21:43     ` De Marchi, Lucas
2018-07-19 22:17       ` Antonio Argenziano
2018-07-20  7:05         ` Chris Wilson
2018-07-20 19:05           ` Lucas De Marchi
2018-07-20  9:48       ` Tvrtko Ursulin
2018-07-19 23:20   ` Antonio Argenziano
2018-07-20  0:41     ` Lucas De Marchi
2018-07-20  0:56       ` Lucas De Marchi
2018-07-20 19:06       ` Lucas De Marchi
2018-07-19 21:48 ` [igt-dev] ✓ Fi.CI.BAT: success for Fix i-g-t on old systems Patchwork
2018-07-20  4:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).