http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54083



--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> 
2013-03-11 18:22:34 UTC ---

(In reply to comment #15)

> > Would this be needed for darwin8 as well?

>

> I don't recall the status of D8,  

> .. I suspect that, in this case, it is as per D9 (if you have a build around,

> you could confirm this).



I don't have the test suite setup for d8, but the test executes when compiled

with



gcc-fsf-4.7 -Wl,-undefined,dynamic_lookup -Wl,-flat_namespace pr53922.c



[pbook] dominiq/tempo% gcc-fsf-4.7 -v

Using built-in specs.

COLLECT_GCC=gcc-fsf-4.7

COLLECT_LTO_WRAPPER=/sw/lib/gcc4.7/libexec/gcc/powerpc-apple-darwin8.11.0/4.7.2/lto-wrapper

Target: powerpc-apple-darwin8.11.0

Configured with: ../gcc-4.7.2/configure --prefix=/sw AS=odas AS_FOR_TARGET=odas

NM_FOR_TARGET=odnm LD_FOR_TARGET=odld AR_FOR_TARGET=odar LIPO_FOR_TARGET=odlipo

OBJDUMP_FOR_TARGET=odobjdump RANLIB_FOR_TARGET=odranlib

STRIP_FOR_TARGET=odstrip --prefix=/sw/lib/gcc4.7 --mandir=/sw/share/man

--infodir=/sw/lib/gcc4.7/info

--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw

--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw

--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

--program-suffix=-fsf-4.7 --enable-cloog-backend=isl --with-dwarf2

--disable-libjava-multilib --disable-libquadmath

Thread model: posix

gcc version 4.7.2 (GCC) 



but does not if -Wl,-flat_namespace is omitted. So I guess the answer is yes.

Reply via email to