Rainer Orth (25/4/05 12:28 +0200) [Re: Built gcc 4.0.0, without C++ support]:
>> Partial success only. I think I'll be able to build it without C++ >> support, but compilation per your instruction does choke on >>libstdc++.so.6.0.4. > >I've had the same problem and think I know what's going on. [...] >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. FWIW, I just started building gcc 4.0.1, and ran into this problem once again; and setting HAVE_GAS_COMDAT_GROUP to 0 in gcc/auto-host.h seems once again to be a valid workaround.