Daniel Jacobowitz writes: > > So obviously Sun ld doesn't have the necessary support for COMDAT groups > > (even with GNU ld, a quite recent version seems to be required). > > Unfortunately, gcc's configure.ac doesn't check for this, but should. > > So you're using gas with the Sun linker? Yes, the configure check > definitely needs to test both as and ld.
Indeed: at least for a Solaris 10/x86 multilib configuration, the native as doesn't work yet, and even if running 32-bit only with --disable-multilib, one needs the still unreviewed patch http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02101.html for bootstrap to succeed. Unfortunately, I have no idea of the exact requirements from ld to develop a configure check myself. Rainer ----------------------------------------------------------------------------- Rainer Orth, Faculty of Technology, Bielefeld University