On 6/28/05, yhlu yinghailu@gmail.com wrote:
Please try to reduce the ROM_IMAGE_SIZE to 0x13000
YH
I set ROM_IMAGE_SIZE to 0x13000 and still got the 421bytes error. after set ROM_IMAGE_SIZE to 0x12000 got the following error:
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o init.o /usr/bin/ld: section .reset [00000000fffbfff0 -> 00000000fffbffff] overlaps section .init [00000000fffbaab0 -> 00000000fffc0ccf] /usr/bin/ld: section .id [00000000fffbffd9 -> 00000000fffbffef] overlaps section .init [00000000fffbaab0 -> 00000000fffc0ccf] /usr/bin/ld: section .rodata.str1.32 [00000000fffc0000 -> 00000000fffc01a4] overlaps section .init [00000000fffbaab0 -> 00000000fffc0ccf] collect2: ld returned 1 exit status make[1]: *** [linuxbios] Error 1 make[1]: Leaving directory `/home/lt/vvvv/freebios2-work/targets/ncic/x1000/x1000/normal' make: *** [normal/linuxbios.rom] Error 1
the error occurs when building the normal image, and the size of .rodata.str1.32 is just 421 byte. Are there errors setting sections?