[coreboot] build failure: cannot move location counter backwards

Paul Menzel paulepanter at users.sourceforge.net
Tue Jun 21 00:52:17 CEST 2011

Am Montag, den 20.06.2011, 15:19 -0700 schrieb Darren Hart:
> I'm new to coreboot


> and just trying to get it to boot into qemu. I've
> tried using SeaBios as well as just copying "yes" to payload.elf. I
> updated the Makefile to use gcc 4.5 instead of the 4.4 that ships with
> my distribution (Ubuntu 10.10):


> src/arch/x86/coreboot_ram.ld:129 cannot move location counter backwards
> (from 0000000000118000 to 0000000000004000)
> collect2: ld returned 1 exit status
> make: *** [build/coreboot_ram] Error 1

You should try the tested tool chain crossgcc [1].

        make crossgcc

which should be doing something similar as the following [2].

        cd coreboot/util/crossgcc 
        cd ../.. 
        rm -f .xcompile



[1] http://patchwork.coreboot.org/patch/2964/
[2] http://www.taringa.net/comunidades/linuxeros-debian/2899363/[Tutorial]+Compilar+coreboot.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110621/1530b0c8/attachment.sig>

More information about the coreboot mailing list