gcc-3.1 on Solaris 2.6 gets ld:libgcc/./libgcc.map:1: parse error
Jeff Sturm
jsturm@one-point.com
Wed Jun 5 16:45:00 GMT 2002
On Wed, 5 Jun 2002, David S. Miller wrote:
> Fact remains that people who run into this problem are simply not
> reading the installation documentation. Which they should.
To be fair, specific.html says nothing about Solaris 2.6 and nothing about
64-bit userland:
When configuring on a Solaris 7 or later system that is running a
kernel that supports only 32-bit binaries, one must configure with
--disable-multilib, since we will not be able to build the 64-bit
target libraries.
Anyhow, I'm not doubting anything you say about --disable-multilib but I'm
skeptical of your diagnosis because there is no mention of "sparcv9" in
William's message.
I've seen these symptoms when the libgcc.map is built for Sun ld, and gcc
invokes GNU ld. To avoid that I strongly recommend:
--with-as=<path-to-GNU-as> --with-gnu-as --with-ld=<path-to-GNU-ld>
--with-gnu-ld
on your configure command (along with --disable-multilib).
William, it helps if you post the commands you used to configure & build
GCC along with your problem report.
Jeff
More information about the Gcc-bugs
mailing list