quags
Verified User
I'm testing ubuntu 20 and ran into one error in custom build:
218
220757
174.138.181.146
CFLAGS
In file included from src/sljit/sljitLir.h:81,
from src/sljit/sljitLir.c:27,
from src/pcre2_jit_compile.c:79:
src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
219 | #error "-mshstk is needed to compile with -fcf-protection"
| ^~~~~
make[1]: *** [Makefile:2403: src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/directadmin/custombuild/pcre2-10.35'
make: *** [Makefile:1402: all] Error 2
My fix was
#!/bin/sh
export CFLAGS='-mshstk'; ./configure --enable-jit
in libpcre2/configure.libpcre2
Everything else compiled with out an error.
218
220757
174.138.181.146
CFLAGS
In file included from src/sljit/sljitLir.h:81,
from src/sljit/sljitLir.c:27,
from src/pcre2_jit_compile.c:79:
src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
219 | #error "-mshstk is needed to compile with -fcf-protection"
| ^~~~~
make[1]: *** [Makefile:2403: src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/directadmin/custombuild/pcre2-10.35'
make: *** [Makefile:1402: all] Error 2
My fix was
#!/bin/sh
export CFLAGS='-mshstk'; ./configure --enable-jit
in libpcre2/configure.libpcre2
Everything else compiled with out an error.