Skip to contentSkip to conversation

sequoia link error

U-Boot-Users Daniel Glaser 2 participants 2 messages Aug 9, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · In message <[email protected]> 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:

...

Quoted 3 lines

powerpc-unknown-linux-gnu-ld: section .bootpg [00000000fffff000 -> 00000000fffff27b] overlaps section .bss [00000000fffe1600 -> 00000001000322ff]

... you are using a 64 bit toolchain.

Quoted 1 line

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

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Der Dativ ist dem Genitiv sein Tod.