This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.1 on Solaris 2.6 gets ld:libgcc/./libgcc.map:1: parseerror


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]