This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Built gcc 4.0.0, without C++ support
- From: Jeroen Scheerder <Jeroen dot Scheerder at phil dot uu dot nl>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: Jeroen Scheerder <Jeroen dot Scheerder at phil dot uu dot nl>,"Joseph S. Myers" <joseph at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 11 Jul 2005 10:35:02 +0200
- Subject: Re: Built gcc 4.0.0, without C++ support
- References: <20050423163306.GA11309@phil.uu.nl><Pine.LNX.4.61.0504231637440.29767@digraph.polyomino.org.uk><20050423190006.GA10138@phil.uu.nl><yddd5sjf8vx.fsf@xayide.TechFak.Uni-Bielefeld.DE>
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.