[coreboot] ROM build errors

Joe Holden lists at rewt.org.uk
Mon Jun 6 12:17:00 CEST 2011

Hi guys,

I am trying to build a rom with generic defaults for ALIX (although the 
same error appears regardless of mainboard/chipset combination, with the 
exception of QEMU - that doesn't even start to build at all:

# configuration written to 
   Compiling whole program out/ccode.16.s
   Compiling to assembler out/asm-offsets.s
   Generating offset file out/asm-offsets.h
   Compiling (16bit) out/code16.o
   Compiling whole program out/ccode32flat.o
   Compiling whole program out/code32seg.o
   Building ld scripts (version "pre-0.6.2-20110606_111010-pseudobuild26")
Fixed space: 0xe05b-0x10000  total: 8101  slack: 2  Percent slack: 0.0%
16bit size:           39408
32bit segmented size: 2416
32bit flat size:      14016
32bit flat init size: 39600
   Linking out/rom16.o
out/romlayout16.lds:707 cannot move location counter backwards (from 
000000000000ca94 to 000000000000ca78)
make[2]: *** [out/rom16.o] Error 1
make[1]: *** [seabios] Error 2
make: *** [seabios] Error 2

I suspect this might be related to the error I get when set to 'master' 
which looks like a binutils bug that was fixed post-packaging, My build 
machines run Slackwre 13.37.0 with binutils before the patch: 

Can anyone confim this is actually the problem and it will go away if I 
build a more recent binutils?


More information about the coreboot mailing list