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:
*snip* # configuration written to /root/coreboot/payloads/external/SeaBIOS/seabios/.config # 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 *snip*
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: http://sourceware.org/bugzilla/show_bug.cgi?id=12726
Can anyone confim this is actually the problem and it will go away if I build a more recent binutils?
Thanks, J
Hi Joe,
Joe Holden wrote:
I am trying to build a rom with generic defaults for ALIX (although the same error appears regardless of mainboard/chipset combination,
..
Linking out/rom16.o out/romlayout16.lds:707 cannot move location counter backwards (from 000000000000ca94 to 000000000000ca78)
..
Can anyone confim this is actually the problem and it will go away if I build a more recent binutils?
The problem is indeed with your toolchain. I strongly recommend that you run make crossgcc in the top level coreboot source directory, which will then build a reference toolchain with known working components. The toolchain should be discovered automatically by the coreboot and SeaBIOS build systems. You can verify this by cat:ing the .xcompile file in the root source dir.
//Peter