public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* make bootstrap failure -> libgcc.map: file format...
@ 2002-09-09 14:19 Andy Gabor
  2002-09-10  2:16 ` Hugh Sasse Staff Elec Eng
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Gabor @ 2002-09-09 14:19 UTC (permalink / raw)
  To: gcc-help


Hi,

Installed current binutils.

Tried to build gcc-3.2 of ss u10 running solaris 9.

Configured with:

setenv CC /opt/SUNWspro/bin/cc
./configure --enable-languages=c,c++


Build error:
gcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status

There have been reports of other problems with libgcc.map but slightly
different error reports.

Any insights appreciated

Andy
=====================================================================
Andy Gabor - Department of Neurology, University of California, Davis
ajgabor@ucdavis.edu (530)754-5036 (FAX)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make bootstrap failure -> libgcc.map: file format...
  2002-09-09 14:19 make bootstrap failure -> libgcc.map: file format Andy Gabor
@ 2002-09-10  2:16 ` Hugh Sasse Staff Elec Eng
  0 siblings, 0 replies; 3+ messages in thread
From: Hugh Sasse Staff Elec Eng @ 2002-09-10  2:16 UTC (permalink / raw)
  To: Andy Gabor; +Cc: gcc-help

On Mon, 9 Sep 2002, Andy Gabor wrote:

>
> Hi,
>
> Installed current binutils.

OK...
>
> Tried to build gcc-3.2 of ss u10 running solaris 9.
>
> Configured with:
>
> setenv CC /opt/SUNWspro/bin/cc
> ./configure --enable-languages=c,c++

You also need --with-ld=/usr/local/bin/ld --with-as=/usr/local/bin/as
to pick up the binutils you installed (if that is where you put
them).  Because...
>
>
> Build error:
> gcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
> /usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map: file
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  is not from binutils.
> format not recognized; treating as linker script
> /usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map:1: parse error
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  is not from binutils.

> collect2: ld returned 1 exit status
>
> There have been reports of other problems with libgcc.map but slightly
> different error reports.
>
> Any insights appreciated
>
> Andy
        HTH
        Hugh


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: make bootstrap failure -> libgcc.map: file format...
@ 2002-09-09 15:19 Andy Gabor
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Gabor @ 2002-09-09 15:19 UTC (permalink / raw)
  To: gcc-help


Turns out the answer for me was *not* to use GNU ld (binutils-2.13).

Configuring with:

setenv CC /opt/SUNWspro/bin/cc
../configure --enable-languages=c,c++ --with-ld=/usr/ccs/bin/ld

Solved this problem.

Andy



On 9/9/2002 Andy Gabor wrote:
>
>Hi,
>
>Installed current binutils.
>
>Tried to build gcc-3.2 of ss u10 running solaris 9.
>
>Configured with:
>
>setenv CC /opt/SUNWspro/bin/cc
>./configure --enable-languages=c,c++
>
>
>Build error:
>gcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
>/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script
>/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map:1: parse error
>collect2: ld returned 1 exit status
>
>There have been reports of other problems with libgcc.map but slightly
>different error reports.
>
>Any insights appreciated
>
>Andy
>=====================================================================
>Andy Gabor - Department of Neurology, University of California, Davis
>ajgabor@ucdavis.edu (530)754-5036 (FAX)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-10  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-09 14:19 make bootstrap failure -> libgcc.map: file format Andy Gabor
2002-09-10  2:16 ` Hugh Sasse Staff Elec Eng
2002-09-09 15:19 Andy Gabor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).