bootstrap/3472: 3.0 fails on sparc-sun-solaris2.7 (problems with either GNU ld or Sun ld)
Mon Jul 2 01:15:00 GMT 2001
> State-Changed-From-To: open->closed
I don't agree. See below.
> State-Changed-By: aoliva
> State-Changed-When: Fri Jun 29 20:09:30 2001
> See http://gcc.gnu.org/install/specific.html#sparc-sun-solaris
The above link does not exist, but I guess you mean
Actually the above link is dead as well, but this is because the whole
page is messed up. It has been lacking <a name="..."> for weeks.
Actually I can't find anything in the platform notes about this
error I get with Sun ld:
collect2: ld returned 1 exit status
What I find is this about GNU ld:
All releases of GNU binutils prior to 2.11.1 have known bugs
on this platform. We recommend the use of GNU binutils 2.11.1
or the vendor tools (Sun as, Sun ld).
And indeed GCC does build with GNU binutils 2.11.2.
But it still doesn't build with Sun ld. All I could find about Sun ld:
Unfortunately, C++ shared libraries, including libstdc++, won't
work properly if assembled with Sun as: the linker will complain
about relocations in read-only sections, in the definition of
virtual tables. Also, Sun as fails to process long symbols
resulting from mangling template-heavy C++ function names.
I have already seen such errors in the past and I am well aware of
this limitation. But it doesn't seem to apply here, does it?
By the way the last sentence of the above paragraph does not apply
to recent versions of Sun ld:
Also, Sun as fails to process long symbols resulting from
mangling template-heavy C++ function names.
As pointed out by another paragraph in the same page:
Sun as 4.X is broken in that it cannot cope with long symbol
names. A typical error message might look similar to the
/usr/ccs/bin/as: "/var/tmp/ccMsw135.s", line 11041: error: can't compute value of an expression involving an external symbol.
This is Sun bug 4237974. This is fixed with patch 108908-02
and has been fixed in later (5.x) versions of the assembler.
Which paragraph covers the Sun ld issue?
More information about the Gcc-bugs