Bad ld option -M during build of gcc ?

Michel Michel@arbornet.org
Wed Apr 2 07:31:00 GMT 2003


Eric Botcazou wrote:
>>/gnu/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map: file format not
>>recognized; treating as linker script
>>/gnu/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
>>collect2: ld returned 1 exit status
>>make[3]: *** [libgcc_s.so] Error 1
>>make[3]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
>>make[2]: *** [libgcc.a] Error 2
>>make[2]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
>>make[1]: *** [stage1_build] Error 2
>>make[1]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
>>make: *** [bootstrap] Error 2
>>
>>clio{285} /gnu/sparc-sun-solaris2.6/bin/ld --version
>>GNU ld version 2.13.2.1
>>Copyright 2002 Free Software Foundation, Inc.
>>This program is free software; you may redistribute it under the terms of
>>the GNU General Public License.  This program has absolutely no warranty.
> 
> 
> Try to specify --with-gnu-as and --with-gnu-ld at configure time, see
> http://gcc.gnu.org/install/configure.html
> 

Great, this worked... I used to trust configure for such a guess... I wonder why they don't check it...
Thanks for your help, Eric.

Regards,
Michel



More information about the Gcc-bugs mailing list