Fang,
You have to be extra careful with gmp because upstream doesn't
use the standard config.guess (which would make configuration much
more bullet proof).
Jack
--
Protect Your Site and Customers from
If you examine the build log (ours should match), the failure is happening
when a .libs/libgmpxx.4.dylib-master.o is being linked, which happens to
be the only object that is i386, while all others are x86_64 (using file
*.o). the i386 intermediate step causes x86_64 symbols to be lost
Hi,
It looks like the libtool script is dropping the -m64 during link.
Recall that path-prefix-10.6's g++ (compiler_wrapper) is set to i386
(32b). This is why libgmpxx.4.dylib-master.o is built for i386, which
causes subsequent links to libgmpxx.dylib (x86_64) to fail.
Peter
On 01/18/2011 07:40 PM, David Fang wrote:
Relevant log exceprt below (note the link command):
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -pedantic -m64
-mtune=core2 -march=core2 -version-info 6:1:2 -L/sw-fresh/lib/x86_64
-L/sw-fresh/lib -o libgmpxx.la -rpath /sw-fresh/lib/x86_64/gmp5