Re: [pcre-dev] PCRE2 10.30-RC1 test release

Top Page
Delete this message
Author: Petr Pisar
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] PCRE2 10.30-RC1 test release
On Thu, Jul 20, 2017 at 10:36:18AM +0200, Petr Pisar via Pcre-dev wrote:
> On Wed, Jul 19, 2017 at 05:12:39PM +0100, ph10@??? wrote:
> > I have just put the tarballs for the 10.30-RC1 test release in the usual
> > place:
> >
> The SELinux-friendly JIT allocator cannot be built:
>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c src/pcre2_jit_compile.c  -fPIC -DPIC -o src/.libs/libpcre2_8_la-pcre2_jit_compile.o
> In file included from src/pcre2_jit_compile.c:78:0:
> src/sljit/sljitLir.c:259:10: fatal error: sljitProtExecAllocator.c: No such file or directory
>  #include "sljitProtExecAllocator.c"
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~

>
> I think you forgot to add the src/sljit/sljitProtExecAllocator.c into
> EXTRA_DIST variable in Makefile.am.
>

Like this:

diff --git a/Makefile.am b/Makefile.am
index bbf23b8..7fa98c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -442,6 +442,7 @@ EXTRA_DIST += \
src/sljit/sljitNativeX86_32.c \
src/sljit/sljitNativeX86_64.c \
src/sljit/sljitNativeX86_common.c \
+ src/sljit/sljitProtExecAllocator.c \
src/sljit/sljitUtils.c

# Some of the JIT sources are also in separate files that are #included.