public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] sequoia link error
@ 2007-08-09 14:42 Daniel Glaser
  2007-08-09 20:16 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Glaser @ 2007-08-09 14:42 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] sequoia link error
  2007-08-09 14:42 [U-Boot-Users] sequoia link error Daniel Glaser
@ 2007-08-09 20:16 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2007-08-09 20:16 UTC (permalink / raw)
  To: u-boot

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

-- 
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-09 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 14:42 [U-Boot-Users] sequoia link error Daniel Glaser
2007-08-09 20:16 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox