I'm getting these errors sporadically when compiling. I am doing 'make clean,' but it doesn't help. At one point, I changed the config and re-ran buildtarget, then changed the config back and re-built, and it seem to clear it up. Anyone have any idea on what's causing this?
86/16bit/entry16.lds /usr/src/LinuxBIOSv2.ml/src//cpu/x86/32bit/entry32.lds /usr/src/LinuxBIOSv2.ml/src//cpu/x86/16bit/reset16.lds /usr/src/LinuxBIOSv2.ml/src//arch/i386/lib/id.lds /usr/src/LinuxBIOSv2.ml/src//arch/i386/lib/failover.lds ; do echo /* $file */ >> ldscript.ld; cat $file >> ldscript.ld ; done gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o /usr/bin/ld: section .reset [00000000fffffff0 -> 00000000ffffffff] overlaps section .rom [00000000ffffb646 -> 0000000100001b1f] /usr/bin/ld: section .id [00000000ffffffd8 -> 00000000ffffffef] overlaps section .rom [00000000ffffb646 -> 0000000100001b1f] /usr/bin/ld: linuxbios: section .data lma 0xffffb648 overlaps previous sections crt0.o: In function `L1058': crt0.S:(.rom.text+0xef): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1072': crt0.S:(.rom.text+0x2b1): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1080': crt0.S:(.rom.text+0x2f7): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1087': crt0.S:(.rom.text+0x353): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1093': crt0.S:(.rom.text+0x39f): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1099': crt0.S:(.rom.text+0x3eb): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1105': crt0.S:(.rom.text+0x437): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1111': crt0.S:(.rom.text+0x483): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1117': crt0.S:(.rom.text+0x4cf): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1123': crt0.S:(.rom.text+0x51b): relocation truncated to fit: R_386_32 against `.rom.data' crt0.o: In function `L1129': crt0.S:(.rom.text+0x562): additional relocation overflows omitted from the output collect2: ld returned 1 exit status
* Eric Poulsen eric@zyxod.com [060427 19:42]:
I'm getting these errors sporadically when compiling. I am doing 'make clean,' but it doesn't help. At one point, I changed the config and re-ran buildtarget, then changed the config back and re-built, and it seem to clear it up. Anyone have any idea on what's causing this?
[..]
increase ROM_IMAGE_SIZE in your target Config.lb file.
Stefan
That was it, thanks.
Stefan Reinauer wrote:
- Eric Poulsen eric@zyxod.com [060427 19:42]:
I'm getting these errors sporadically when compiling. I am doing 'make clean,' but it doesn't help. At one point, I changed the config and re-ran buildtarget, then changed the config back and re-built, and it seem to clear it up. Anyone have any idea on what's causing this?
[..]
increase ROM_IMAGE_SIZE in your target Config.lb file.
Stefan