[U-Boot-Users] sequoia link error

Hello,
I'm new to u-boot and have some problem to compile it for the amcc sequoia board. Here is the error that shows up:
UNDEF_SYM=`powerpc-unknown-linux-gnu-objdump -x lib_generic/libgeneric.a board/amcc/sequoia/libsequoia.a cpu/ppc4xx/libppc4xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e 's/.*(__u_boot_cmd_.*)/-u\1/p'|sort|uniq`;\ cd /root/develop/u-boot-1.2.0 && powerpc-unknown-linux-gnu-ld -Bstatic -T /root/develop/u-boot-1.2.0/board/amcc/sequoia/u-boot.lds -Ttext 0xFFFA0000 -n $UNDEF_SYM cpu/ppc4xx/start.o cpu/ppc4xx/resetvec.o \ --start-group lib_generic/libgeneric.a board/amcc/sequoia/libsequoia.a cpu/ppc4xx/libppc4xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.2 -lgcc \ -Map u-boot.map -o u-boot powerpc-unknown-linux-gnu-ld: .bss section too big, overlaps .ppcenv section. Please update your confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need to be modified. powerpc-unknown-linux-gnu-ld: section .bootpg [00000000fffff000 -> 00000000fffff27b] overlaps section .bss [00000000fffe1600 -> 00000001000322ff] powerpc-unknown-linux-gnu-ld: .bss section too big, overlaps .ppcenv section. Please update your confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need to be modified. make: *** [u-boot] Fehler 1
I use gcc-4.1.2, binutils 2.17, glibc-2.5 and kernel-headers-2.6.22 (with gentoo patchset)
Any ideas? Would be very greatful for some help
- Daniel

In message 46BB27C6.4020805@chaintronics.com you wrote:
I'm new to u-boot and have some problem to compile it for the amcc sequoia board. Here is the error that shows up:
...
powerpc-unknown-linux-gnu-ld: section .bootpg [00000000fffff000 -> 00000000fffff27b] overlaps section .bss [00000000fffe1600 -> 00000001000322ff]
... you are using a 64 bit toolchain.
Any ideas? Would be very greatful for some help
This is a known problem. The current linker sript logic silently assumes that address space will silently wrap around at the 32 bit boundary. Not so when you use 64 bit tools. I don't think I have seen a patch for this yet.
Best regards,
Wolfgang Denk
participants (2)
-
Daniel Glaser
-
Wolfgang Denk