[pcre-dev] [Bug 1430] Request to spin up a new version of pc…

Páxina inicial
Borrar esta mensaxe
Autor: Tony Reix
Data:  
Para: pcre-dev
Asunto: [pcre-dev] [Bug 1430] Request to spin up a new version of pcre with ppc64le support
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1430




--- Comment #22 from Tony Reix <tony.reix@???> 2014-01-20 13:01:17 ---
Hi Zoltan,

Same with latest code for PPC64/LE environment:

$ cd pcre-8.XX
tony@tony1:~/PCRE/pcre-8.XX$ svn co svn://vcs.exim.org/pcre/code/trunk

/trunk$ ./autogen.sh
Looking for a version of libtoolize (which can have different names)...
Did not find glibtoolize
Did not find libtoolize15
Did not find libtoolize14
Found libtoolize
+ libtoolize -c -f
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
+ rm -rf autom4te.cache Makefile.in aclocal.m4
+ aclocal --force -I m4
+ autoconf -f -W all,no-obsolete
+ autoheader -f -W all
+ automake -a -c -f -W all,no-portability
configure.ac:34: installing './ar-lib'
configure.ac:34: installing './compile'
configure.ac:88: installing './config.guess'
configure.ac:88: installing './config.sub'
configure.ac:29: installing './install-sh'
configure.ac:29: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
+ rm -rf autom4te.cache
+ exit 0

$ export CFLAGS="-O0 -g -Wall" ; export LDFLAGS="-g" ; ./configure
--enable-shared=no --enable-pcre16 --enable-pcre32 --enable-unicode-properties
--enable-jit

...
checking build system type... powerpc64le-unknown-linux-gnu
checking host system type... powerpc64le-unknown-linux-gnu
checking how to convert powerpc64le-unknown-linux-gnu file names to
powerpc64le-unknown-linux-gnu format... func_convert_file_noop
checking how to convert powerpc64le-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
...

make

make test

tony@tony1:~/PCRE/pcre-8.XX/trunk$ ./pcre_jit_test
Running JIT regression tests
target CPU of SLJIT compiler: PowerPC 64bit (big endian + unaligned)
in 8 bit mode with UTF-8 enabled and ucp enabled:
in 16 bit mode with UTF-16 enabled and ucp enabled:
in 32 bit mode with UTF-32 enabled and ucp enabled:
Illegal instruction (core dumped)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email