[coreboot] Building coreboot on 64-bit host

Peter Stuge peter at stuge.se
Fri May 16 15:17:21 CEST 2008


On Fri, May 16, 2008 at 02:55:38PM +0200, llandre wrote:
> I'm experiencing the problem shown below when trying to build coreboot 
> release 3324 for Geode LX evaluation board db800 on 64-bit host.
> It seems ld is not invoked properly.
..
> Usage: /usr/bin/ld [options] file...
..
> /usr/bin/ld: supported targets: elf64-x86-64 elf32-i386 a.out-i386-linux 
> efi-app-ia32 elf64-little elf64-big elf32-little elf32-big srec 
> symbolsrec tekhex binary ihex

It seems your ld will prefer/default to elf64-x86-64, and the options
specified in the build scripts are possibly only available for
elf32-i386.

Maybe --oformat elf32-i386 in the ld command line will help?


//Peter




More information about the coreboot mailing list