This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: make bootstrap failure -> libgcc.map: file format...
- From: Hugh Sasse Staff Elec Eng <hgs at dmu dot ac dot uk>
- To: Andy Gabor <ajgabor at ucdavis dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 10 Sep 2002 10:11:16 +0100 (BST)
- Subject: Re: make bootstrap failure -> libgcc.map: file format...
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