[pcre-dev] [Bug 2553] detect use of memfd_create

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 2553] detect use of memfd_create
https://bugs.exim.org/show_bug.cgi?id=2553

--- Comment #1 from Carlo Marcelo Arenas Belón <carenas@???> ---
any chance this could be included for 10.35?, it fixes bug 2455 as well as bug
2445 (and other similar ones that could benefit from having improved logic and
a somehow recent linux stack).

optional support for memfd_create is already in 10.35 but without this it is
somehow cumbersome to use

if we are worried not to propagate this dependency, as the function is really
only needed if compiled with both JIT and the alternative experimental
allocator an alternative patch similar to the one from bug 2561 could be used
instead (at least for cmake) but if applied also to configure could be too
risky this late in the release cycle.

to test the simplest (without patching your own release and using configure as
it is more tricky with cmake) will be :

$ tar -xf pcre2-10.35-RC1.tar.bz2 && cd pcre2-10.35-RC1
$ ./configure --enable-jit --enable-jit-sealloc
$ make CPPFLAGS=-DHAVE_MEMFD_CREATE check

--
You are receiving this mail because:
You are on the CC list for the bug.