http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558
--- Comment #13 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-02-01 13:56:18 UTC --- It was be true for the simple case that the reduced linkage is fine but somehow the xplor-nih building is exposing a corner case we haven't thought of. I have uploaded a full build log for xplor-nih which was created with... cd xplor-nih-2.27 set path= ( '/Users/howarth/dist/bin' $path ) make and the compilers show up as... [frodo:~/xplor-nih-2.27] howarth% gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Users/howarth/dist/libexec/gcc/x86_64-apple-darwin10.6.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.6.0 Configured with: ../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist --with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-languages=c,c++,fortran --enable-cloog-backend=legacy Thread model: posix gcc version 4.6.0 20110201 (experimental) (GCC) [frodo:~/xplor-nih-2.27] howarth% g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/Users/howarth/dist/libexec/gcc/x86_64-apple-darwin10.6.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.6.0 Configured with: ../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist --with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-languages=c,c++,fortran --enable-cloog-backend=legacy Thread model: posix gcc version 4.6.0 20110201 (experimental) (GCC) [frodo:~/xplor-nih-2.27] howarth% gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/Users/howarth/dist/libexec/gcc/x86_64-apple-darwin10.6.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.6.0 Configured with: ../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist --with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-languages=c,c++,fortran --enable-cloog-backend=legacy Thread model: posix gcc version 4.6.0 20110201 (experimental) (GCC)