#171: make error ld.gold.real -------------------------------+-------------------------------------- Reporter: rsb@… | Owner: stepan@… Type: defect | Status: new Priority: minor | Milestone: Component: coreboot | Keywords: ld.gold.real Dependencies: | Patch Status: there is no patch -------------------------------+-------------------------------------- '''make command exits with:''' {{{ ROMCC mainboard/msi/ms7260/bootblock.inc GEN bootblock/bootblock.S CC mainboard/msi/ms7260/bootblock.s CC mainboard/msi/ms7260/bootblock.o GEN bootblock/ldscript.ld LINK bootblock.elf /usr/bin/ld.gold.real: error: build/bootblock/ldscript.ld:1:1: syntax error, unexpected INCLUDE, expecting $end /usr/bin/ld.gold.real: fatal error: unable to parse script file build/bootblock/ldscript.ld collect2: ld returned 1 exit status make: *** [build/bootblock.elf] Error 1 }}}
Platform is: Linux 2.6.32-28-server 55-Ubuntu Lucid GCC44 x86_64
#171: make error ld.gold.real ----------------------------------+-------------------------------------- Reporter: rsb@… | Owner: stepan@… Type: defect | Status: closed Priority: minor | Milestone: Component: coreboot | Resolution: wontfix Keywords: ld.gold.real | Dependencies: Patch Status: there is no patch | ----------------------------------+-------------------------------------- Changes (by stepan):
* status: new => closed * resolution: => wontfix
Comment:
the new binutils GOLD linker does not properly support linker scripts, which are heavily used by coreboot. Please build a cross tool chain with the util/crossgcc/buildgcc script. Be sure to remove coreboot/.xcompile before rebuilding.