[pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studi…

Kezdőlap
Üzenet törlése
Szerző: Dennis Clarke
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #1 from Dennis Clarke <dclarke@???> 2012-08-12 09:39:31 ---

I edited the Makefile thus :

$ diff Makefile Makefile_backup
379c379
< EXTRA_LIBPCRECPP_LDFLAGS = -version-info 0:0:0                           
---

> EXTRA_LIBPCRECPP_LDFLAGS = -Wl,-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE -version-info 0:0:0                           



scary but true, I simply removed the entire -Wl,-i__foobar

then with slightly more verbose CXXFLAGS :


$ echo $LD_OPTIONS
-L/usr/local/lib
$
$ echo $CXXFLAGS
-erroff -xildoff -m64 -xmemalign=8s -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-g -xs -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -R/usr/local/lib
-L/usr/local/lib -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
$
$ echo $CFLAGS
-erroff -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32
-xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none
-xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16
-D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
$


$ gmake 
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
gmake  all-am
gmake[1]: Entering directory `/usr/local/build/pcre-8.31_sparcv9_002'
  CC     pcre_byte_order.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_compile.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_config.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_dfa_exec.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_exec.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_fullinfo.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_get.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_globals.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_jit_compile.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_maketables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_newline.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_ord2utf8.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_refcount.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_string_utils.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_study.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_tables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_ucd.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_valid_utf8.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_version.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_xclass.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_chartables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CCLD   libpcre.la
ld: warning: option -Q appears more than once, first setting taken
  CC     pcre16_byte_order.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_chartables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_compile.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_config.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_dfa_exec.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_exec.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_fullinfo.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_get.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_globals.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_jit_compile.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_maketables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_newline.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_ord2utf16.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_refcount.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_string_utils.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_study.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_tables.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_ucd.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_utf16_utils.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_valid_utf16.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_version.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_xclass.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CCLD   libpcre16.la
ld: warning: option -Q appears more than once, first setting taken
  CC     pcreposix.lo
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CCLD   libpcreposix.la
ld: warning: option -Q appears more than once, first setting taken
  CXX    pcrecpp.lo
  CXX    pcre_scanner.lo
  CXX    pcre_stringpiece.lo
  CXXLD  libpcrecpp.la
  CC     pcretest.o
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre_printint.o
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CC     pcre16_printint.o
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CCLD   pcretest
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1510
ld: warning: option -Q appears more than once, first setting taken
ld: warning: file /usr/local/build/pcre-8.31_sparcv9_002/.libs/libpcre.so:
linked to ./.libs/libpcre.so: attempted multiple inclusion of file
  CC     pcregrep.o
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
  CCLD   pcregrep
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1510
ld: warning: option -Q appears more than once, first setting taken
ld: warning: file /usr/local/build/pcre-8.31_sparcv9_002/.libs/libpcre.so:
linked to ./.libs/libpcre.so: attempted multiple inclusion of file
  CXX    pcrecpp_unittest.o
  CXXLD  pcrecpp_unittest
  CXX    pcre_scanner_unittest.o
  CXXLD  pcre_scanner_unittest
  CXX    pcre_stringpiece_unittest.o
  CXXLD  pcre_stringpiece_unittest
gmake[1]: Leaving directory `/usr/local/build/pcre-8.31_sparcv9_002'
$ 


$ find . -type f | xargs file | grep ELF | cut -f1 -d\: | grep -v "\.o$" 
./.libs/libpcre16.so.0.0.1
./.libs/libpcreposix.so.0.0.1
./.libs/pcretest
./.libs/pcrecpp_unittest
./.libs/pcregrep
./.libs/libpcre.so.1.0.1
./.libs/libpcrecpp.so.0.0.0
./.libs/pcre_scanner_unittest
./.libs/pcre_stringpiece_unittest
$ 
$ ldd ./.libs/libpcre16.so.0.0.1
        libc.so.1 =>     /lib/64/libc.so.1
        libm.so.2 =>     /lib/64/libm.so.2
        /platform/SUNW,T5240/lib/sparcv9/libc_psr.so.1
$ ldd ./.libs/libpcreposix.so.0.0.1
        libpcre.so.1 => 
/usr/local/build/pcre-8.31_sparcv9_002/.libs/libpcre.so.1
        libc.so.1 =>     /lib/64/libc.so.1
        libm.so.2 =>     /lib/64/libm.so.2
        /platform/SUNW,T5240/lib/sparcv9/libc_psr.so.1
$ ldd ./.libs/pcretest
        libreadline.so.6 =>      /usr/local/lib/libreadline.so.6
        libcurses.so.1 =>        /lib/64/libcurses.so.1
        libpcre.so.1 =>  (file not found)
        libpcreposix.so.0 =>     (file not found)
        libpcre16.so.0 =>        (file not found)
        libc.so.1 =>     /lib/64/libc.so.1
        libm.so.2 =>     /lib/64/libm.so.2
        /platform/SUNW,T5240/lib/sparcv9/libc_psr.so.1
$ elfdump -d ./.libs/libpcre16.so.0.0.1


Dynamic Section:  .dynamic
     index  tag                value
       [0]  NEEDED            0x658               libc.so.1
       [1]  INIT              0x42250             
       [2]  FINI              0x42260             
       [3]  SONAME            0x66b               libpcre16.so.0
       [4]  RUNPATH           0x67a              
/usr/local/lib/$ISALIST:/usr/local/lib
       [5]  RPATH             0x67a              
/usr/local/lib/$ISALIST:/usr/local/lib
       [6]  HASH              0x338               
       [7]  STRTAB            0xe48               
       [8]  STRSZ             0x8a1               
       [9]  SYMTAB            0x608               
      [10]  SYMENT            0x18                
      [11]  CHECKSUM          0xb692              
      [12]  VERNEED           0x16f0              
      [13]  VERNEEDNUM        0x1                 
      [14]  RELACOUNT         0x19                
      [15]  PLTRELSZ          0x240               
      [16]  PLTREL            0x7                 
      [17]  JMPREL            0x1cb8              
      [18]  RELA              0x17c0              
      [19]  RELASZ            0x738               
      [20]  RELAENT           0x18                
      [21]  FLAGS             0                   0
      [22]  FLAGS_1           0                   0
      [23]  SUNW_STRPAD       0x200               
      [24]  SUNW_LDMACH       0x2b                EM_SPARCV9
      [25]  PLTGOT            0x144800            
   [26-36]  NULL              0                   
$ pwd
/usr/local/build/pcre-8.31_sparcv9_002
$ 
$ date 
Sun Aug 12 08:33:19 GMT 2012
$ ptime gmake check 
gmake  check-am
gmake[1]: Entering directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake  
gmake[2]: Entering directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake  all-am
gmake[3]: Entering directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake[3]: Leaving directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake[2]: Leaving directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake  check-TESTS
gmake[2]: Entering directory `/usr/local/build/pcre-8.31_sparcv9_002'
PCRE C++ wrapper tests
Testing FullMatch
Testing PartialMatch
Testing hex
Testing octal
Testing decimal
Testing Replace
Testing Extract
Testing Consume
Testing FindAndConsume
Testing QuoteMeta
Testing match-number peculiarity
Testing error reporting
Testing recursion
Testing Options
Testing Option <CASELESS (class)>
Testing Option <CASELESS (class2)>
Testing Option <CASELESS (class)>
Testing Option <CASELESS (function)>
Testing Option <CASELESS (function)>
Testing Option <no CASELESS>
Testing Option <MULTILINE (class)>
Testing Option <MULTILINE (class2)>
Testing Option <MULTILINE (function)>
Testing Option <no MULTILINE>
Testing Option <DOTALL (class)>
Testing Option <DOTALL (class2)>
Testing Option <DOTALL (function)>
Testing Option <no DOTALL>
Testing Option <no DOLLAR_ENDONLY>
Testing Option <DOLLAR_ENDONLY 1>
Testing Option <DOLLAR_ENDONLY 2>
Testing Option <EXTENDED (class)>
Testing Option <EXTENDED (class2)>
Testing Option <EXTENDED (class)>
Testing Option <EXTENDED (function)>
Testing Option <EXTENDED (function)>
Testing Option <no EXTENDED>
Testing Option <no NO_AUTO_CAPTURE>
testing Option <NO_AUTO_CAPTURE>
Testing Option <UNGREEDY 1>
Testing Option <UNGREEDY 2>
Testing Option <UNGREEDY>
Testing Option <no UNGREEDY>
Testing Option <no UNGREEDY>
Testing Option <EXTRA 1>
Testing Option <EXTRA 2>
Testing Option <no EXTRA>
Testing Option <all_options (CASELESS|DOTALL)>
Testing Option <all_options (0)>
Testing Option <all_options (MULTILINE|EXTENDED)>
Testing Option <all_options (MULTILINE|EXTENDED) with constructor>
Testing Option <all_options (MULTILINE|EXTENDED) with concatenation>
Testing Option <all_options (0)>
Testing constructors
OK
PASS: pcrecpp_unittest
OK
PASS: pcre_scanner_unittest
OK
PASS: pcre_stringpiece_unittest
No differences encountered


PCRE C library tests using test data from ./testdata
PCRE version 8.31 2012-07-06

---- Testing 8-bit library ----

Test 1: Main functionality (Compatible with Perl >= 5.10)
No differences encountered
  OK
No differences encountered
  OK with study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-8)
No differences encountered
  OK
No differences encountered
  OK with study
Test 3: Locale-specific features (using 'fr_FR' locale)
--- ./testdata/testoutput3      Sat Sep 26 15:38:59 2009
+++ testtry     Sun Aug 12 08:33:31 2012
@@ -156,7 +156,7 @@
 ------------------------------------------------------------------
         Bra
         [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
-        [a-z\xb5\xdf-\xf6\xf8-\xff]
+        [a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
         [A-Z\xc0-\xd6\xd8-\xde]
         Ket
         End


Locale test did not run entirely successfully.
This usually means that there is a problem with the locale
settings rather than a bug in PCRE.
Test 4: UTF-8 support (Compatible with Perl >= 5.10)
No differences encountered
OK
No differences encountered
OK with study
Test 5: API, internals, and non-Perl stuff for UTF-8 support
No differences encountered
OK
No differences encountered
OK with study
Test 6: Unicode property support (Compatible with Perl >= 5.10)
Skipped because Unicode property support is not available
Test 7: API, internals, and non-Perl stuff for Unicode property support
Skipped because Unicode property support is not available
Test 8: DFA matching main functionality
No differences encountered
OK
No differences encountered
OK with study
Test 9: DFA matching with UTF-8
No differences encountered
OK
No differences encountered
OK with study
Test 10: DFA matching with Unicode properties
Skipped because Unicode property support is not available
Test 11: Internal offsets and code size tests
Skipped because link size is not 2
Test 12: JIT-specific features (JIT available)
Skipped because JIT is not available or not usable
Test 13: JIT-specific features (JIT not available)
No differences encountered
OK
Test 14: Specials for the basic 8-bit library
No differences encountered
OK
No differences encountered
OK with study
Test 15: Specials for the 8-bit library with UTF-8 support
No differences encountered
OK
No differences encountered
OK with study
Test 16: Specials for the 8-bit library with Unicode propery support
Skipped because Unicode property support is not available
Test 17: Specials for the basic 16-bit library
Skipped when running 8-bit tests
Test 18: Specials for the 16-bit library with UTF-16 support
Skipped when running 8-bit tests
Test 19: Specials for the 16-bit library with Unicode propery support
Skipped when running 8-bit tests
Test 20: DFA specials for the basic 16-bit library
Skipped when running 8-bit tests
Test 21: Reloads for the basic 16-bit library
Skipped when running 8-bit tests
Test 22: Reloads for the 16-bit library with UTF-16 support
Skipped when running 8-bit tests

---- Testing 16-bit library ----

Test 1: Main functionality (Compatible with Perl >= 5.10)
No differences encountered
  OK
No differences encountered
  OK with study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-16)
No differences encountered
  OK
No differences encountered
  OK with study
Test 3: Locale-specific features (using 'fr_FR' locale)
--- ./testdata/testoutput3      Sat Sep 26 15:38:59 2009
+++ testtry     Sun Aug 12 08:33:36 2012
@@ -156,7 +156,7 @@
 ------------------------------------------------------------------
         Bra
         [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
-        [a-z\xb5\xdf-\xf6\xf8-\xff]
+        [a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
         [A-Z\xc0-\xd6\xd8-\xde]
         Ket
         End


Locale test did not run entirely successfully.
This usually means that there is a problem with the locale
settings rather than a bug in PCRE.
Test 4: UTF-16 support (Compatible with Perl >= 5.10)
No differences encountered
OK
No differences encountered
OK with study
Test 5: API, internals, and non-Perl stuff for UTF-16 support
No differences encountered
OK
No differences encountered
OK with study
Test 6: Unicode property support (Compatible with Perl >= 5.10)
Skipped because Unicode property support is not available
Test 7: API, internals, and non-Perl stuff for Unicode property support
Skipped because Unicode property support is not available
Test 8: DFA matching main functionality
No differences encountered
OK
No differences encountered
OK with study
Test 9: DFA matching with UTF-16
No differences encountered
OK
No differences encountered
OK with study
Test 10: DFA matching with Unicode properties
Skipped because Unicode property support is not available
Test 11: Internal offsets and code size tests
Skipped because link size is not 2
Test 12: JIT-specific features (JIT available)
Skipped because JIT is not available or not usable
Test 13: JIT-specific features (JIT not available)
No differences encountered
OK
Test 14: Specials for the basic 8-bit library
Skipped when running 16-bit tests
Test 15: Specials for the 8-bit library with UTF-8 support
Skipped when running 16-bit tests
Test 16: Specials for the 8-bit library with Unicode propery support
Skipped when running 16-bit tests
Test 17: Specials for the basic 16-bit library
No differences encountered
OK
No differences encountered
OK with study
Test 18: Specials for the 16-bit library with UTF-16 support
No differences encountered
OK
No differences encountered
OK with study
Test 19: Specials for the 16-bit library with Unicode propery support
Skipped because Unicode property support is not available
Test 20: DFA specials for the basic 16-bit library
No differences encountered
OK
No differences encountered
OK with study
Test 21: Reloads for the basic 16-bit library
Skipped because link size is not 2
Test 22: Reloads for the 16-bit library with UTF-16 support
Skipped because link size is not 2
PASS: RunTest

Testing pcregrep
pcregrep version 8.31 2012-07-06
No differences encountered
No differences encountered
No differences encountered
Testing pcregrep UTF-8 features
No differences encountered
Testing pcregrep newline settings
No differences encountered
PASS: RunGrepTest
==================
All 5 tests passed
==================
gmake[2]: Leaving directory `/usr/local/build/pcre-8.31_sparcv9_002'
gmake[1]: Leaving directory `/usr/local/build/pcre-8.31_sparcv9_002'

real       29.820
user       20.394
sys        11.372



passes the basic tests but still slightly icky

Dennis


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