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.
Daniel Jacobowitz:
[...]
> > Note that no other combination will even bootstrap. GNU ld stumbles
> > upon a Sun-supplied crt*.o file, and Sun's as chokes on the generated
> > assembly (x86_64 instructions it fails to handle?).
>
> GNU ld ought to work; what's the error look like?
/usr/lib/amd6
Daniel Jacobowitz:
[...]
> > 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,
Rainer Orth:
> Jeroen Scheerder <[EMAIL PROTECTED]> writes:
>
> > 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
Successful build:
$ which as; as --version
/phil/sw/sunos/sparc/bin/as
GNU assembler 2.15.97 20050420
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no
Joseph S. Myers:
> On Sat, 23 Apr 2005, Jeroen Scheerder wrote:
>
> > Note that builds on Solaris 10 on AMD Opteron (on a Sun Fire V20z) failed
> > miserably. With the Sun-supplied as and ld, bootstraps chokes on syntax
> > errors in assembly files; with GNU as and
I configured/made/installed gcc 4.0.0 partially on a Solaris host. I
could not build with C++ support, because ld (GNU ld, that is) choked
(dumped core, signal 11, segmentation violation) on abi_check (see
below).
When using the Sun-supplied as and ld, ld chokes on alignment errors
during bootstra