gcc-3.2 build fails with ld error

Chris Lingard chris at stockwith.co.uk
Mon Jan 20 03:19:43 PST 2003

Keith Harwood wrote:

> I have started building LFS-4.0.
> Static build of gcc-3.2 failed as follows.
> Bootstrapping the compiler

> Looks to me like the stage1 gcc is generating something that my existing
> linker can't handle.
> My ld clains to be
> GNU ld version 2.9.5 (with BFD
> and reports

Yes, I would agree that this version is too old to build gcc-3.x.x

You can build binutils on your base system, but omit any --prefix
option;  this will install it into the default /usr/local/bin

Then put /usr/local/bin on the front of your path when building gcc

> ld: supported targets: elf64-alpha ecoff-littlealpha elf64-little
> elf64-big elf32-little elf32-big srec symbolsrec tekhex binary ihex
> trad-core ld: supported emulations: elf64alpha alpha
> ld: emulation specific options:
>   no emulation specific options.
> Can anyone suggest how I can get around this problem?
> ----------------------------------
> E-Mail: Keith Harwood <vitalmis at bigpond.net.au>
> Date: 20-Jan-03
> Time: 15:53:43
> This message was sent by XFMail
> ----------------------------------

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list