Here is the trace when building PCRE 8.31 from Ubuntu sources:
sudo dpkg-buildpackage
...
CC_FOR_BUILD=cc CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-Wall -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security"
LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" \
./configure \
--host=powerpc64le-linux-gnu --build=powerpc64le-linux-gnu \
--prefix=/usr --mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--libdir=\${prefix}/lib/powerpc64le-linux-gnu \
--enable-utf8 --enable-unicode-properties \
--disable-silent-rules
No JIT, and no 16bit library.
pcre-8.31 configuration summary:
Install prefix .................. : /usr
C preprocessor .................. : powerpc64le-linux-gnu-gcc -E
C compiler ...................... : powerpc64le-linux-gnu-gcc
C++ preprocessor ................ : powerpc64le-linux-gnu-g++ -E
C++ compiler .................... : powerpc64le-linux-gnu-g++
Linker .......................... : /usr/bin/ld
C preprocessor flags ............ : -D_FORTIFY_SOURCE=2
C compiler flags ................ : -Wall -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
C++ compiler flags .............. : -O2
Linker flags .................... : -Wl,-Bsymbolic-functions -Wl,-z,relro
Extra libraries ................. :
Build 8 bit pcre library ........ : yes
Build 16 bit pcre library ....... : no
Build C++ library ............... : yes
Enable JIT compiling support .... : no
Enable UTF-8/16 support ......... : yes
Unicode properties .............. : yes
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : yes
Build static libs ............... : yes
Use JIT in pcregrep ............. : no
Buffer size for pcregrep ........ : 20480
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libedit ...... : no
Link pcretest with libreadline .. : no
PASS: pcrecpp_unittest
PASS: pcre_scanner_unittest
PASS: pcre_stringpiece_unittest
PASS: RunTest
PASS: RunGrepTest
In order to check that all main PCRE features run fine on Ubuntu/PPC/LE, at
least the following options should be added to the ./configure line:
--enable-shared=no --enable-pcre16 --enable-pcre32 --enable-unicode-properties
--enable-jit
Using --enable-jit with this 8.31 version will not work; too old for
PPC. Use fresher version, like 8.34 . However, work is still being done
for making JIT test OK on PCRE 8.34 on Ubuntu/PPC/LE (ABI issue).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1270862
Title:
libpcre3 1:8.31-2ubuntu2 : not ready for --enable-jit option
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1270862/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs