On 4/9/10 1:50 PM, Arne Georg Gleditsch wrote:
Stefan Reinauer stepan@coresystems.de writes:
I made a quick attempt at fixing this, but ran into linker script problems like:
.../crossgcc/xgcc/bin/../lib/gcc/i386-elf/4.4.2/../../../../i386-elf/bin/ld: section .id loaded at [00000000ffffff61,00000000ffffff7f] overlaps section .rom loaded at [00000000ffff0000,0000000100000cdf] .../crossgcc/xgcc/bin/../lib/gcc/i386-elf/4.4.2/../../../../i386-elf/bin/ld: build/coreboot: section .id vma 0xffffff61 overlaps previous sections .../crossgcc/xgcc/bin/../lib/gcc/i386-elf/4.4.2/../../../../i386-elf/bin/ld: build/coreboot: section .romstrap vma 0xffffffa0 overlaps previous sections .../crossgcc/xgcc/bin/../lib/gcc/i386-elf/4.4.2/../../../../i386-elf/bin/ld: build/coreboot: section .reset vma 0xfffffff0 overlaps previous sections .../crossgcc/xgcc/bin/../lib/gcc/i386-elf/4.4.2/../../../../i386-elf/bin/ld: build/coreboot: section .text vma 0x100000d00 overlaps previous sections collect2: ld returned 1 exit status
which I didn't really have the time to pursue. I'm reverting my local checkout for now. If anyone has pointers regarding how to resolve this, I'd be happy to hear them.
What was your local patch?
I tried both disabling the TINY_BOOTBLOCK directive as well as modifying src/arch/i386/Makefile.inc to include chipset_bootblock_* unconditionally, both resulted in similar errors. (I do have other local changes as well, but none that should affect this. They might affect code size, though.)
Ah, the error above may occur if changing significant parts of Kconfig variables, such as tiny bootblock ;)
please remove build/ and try again.
There should be a dependency fix for this.