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
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).
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" \ powerpc64le- linux-gnu --build= powerpc64le- linux-gnu \ \${prefix} /share/ man \ \${prefix} /share/ info \ \${prefix} /lib/powerpc64l e-linux- gnu \ unicode- properties \ silent- rules
./configure \
--host=
--prefix=/usr --mandir=
--infodir=
--libdir=
--enable-utf8 --enable-
--disable-
No JIT, and no 16bit library.
pcre-8.31 configuration summary:
Install prefix .................. : /usr linux-gnu- gcc -E ....... ....... . : powerpc64le- linux-gnu- gcc linux-gnu- g++ -E ....... ...... : powerpc64le- linux-gnu- g++ ....... ....... ..... : /usr/bin/ld ssp-buffer- size=4 -Wformat -Werror= format- security ....... ...... : -Wl,-Bsymbolic- functions -Wl,-z,relro
C preprocessor .................. : powerpc64le-
C compiler .......
C++ preprocessor ................ : powerpc64le-
C++ compiler .......
Linker .......
C preprocessor flags ............ : -D_FORTIFY_SOURCE=2
C compiler flags ................ : -Wall -g -O2 -fstack-protector --param=
C++ compiler flags .............. : -O2
Linker flags .......
Extra libraries ................. :
Build 8 bit pcre library ........ : yes ....... ....... : 10000000
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 .......
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 unittest e_unittest
PASS: pcre_scanner_
PASS: pcre_stringpiec
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: unicode- properties --enable-jit
--enable-shared=no --enable-pcre16 --enable-pcre32 --enable-
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).