[pcre-dev] [Bug 1222] Test failures on powerpc-darwin8

Αρχική Σελίδα
Delete this message
Συντάκτης: David Fang
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1222] Test failures on powerpc-darwin8
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #13 from David Fang <fang@???> 2012-04-16 01:32:23 ---
This was a random observation about existing builds:

fang% env MACOSX_DEPLOYMENT_TARGET=10.4 make -j1
make  all-am
  CC     pcre_dfa_exec.lo
  CCLD   libpcre.la
warning: no debug map in executable (-arch ppc)
  CC     pcre16_dfa_exec.lo
  CCLD   libpcre16.la
warning: no debug map in executable (-arch ppc)
  CCLD   libpcreposix.la
warning: no debug map in executable (-arch ppc)
  CXXLD  libpcrecpp.la
warning: no debug map in executable (-arch ppc)
  CCLD   pcretest
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions
of symbol __pcre_default_tables
./.libs/libpcre16.dylib(single module) definition of __pcre_default_tables
/sw/src/Isolde.fink.build/libpcre1-8.30-3b/pcre-8.30/.libs/libpcre.dylib(single
module) definition of __pcre_default_tables
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions
of symbol _regcomp
./.libs/libpcreposix.dylib(single module) definition of _regcomp
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(regcomp.So)
definition of _regcomp
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions
of symbol _regexec
./.libs/libpcreposix.dylib(single module) definition of _regexec
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(regexec.So)
definition of _regexec
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions
of symbol _regfree
./.libs/libpcreposix.dylib(single module) definition of _regfree
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib(regfree.So)
definition of _regfree
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning suggest use of
-bind_at_load, as lazy binding may result in errors or different symbols being
used
symbol __pcre_default_tables used from dynamic library
./.libs/libpcre16.dylib(single module) not from earlier dynamic library
/sw/lib/libpcre1/libpcre.1.dylib(single module)
  CCLD   pcregrep
  CXXLD  pcrecpp_unittest
  CXXLD  pcre_scanner_unittest
  CXXLD  pcre_stringpiece_unittest


The multiply-defined symbols of __pcre_default_tables seems a bit alarming to
me, but from scanning the sources, it looks like those are constant, read-only
tables. But I've seen C programs that modify const tables before, so I have to
ask if that's really the case.

I've applied the debug patch and should have some results shortly.


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