[U-Boot] Problem linking u-boot-2009.11.1 with arm_v5t_le-ld

Andy Hawkins a.hawkins at cabletime.com
Tue Feb 9 15:39:40 CET 2010


Hi all,

Trying to compile the latest u-boot (u-boot-2009.11.1) for the
davinci_dm6467evm, using a MontaVista toolset. We're getting the
following error at the end of the compilation process:

arm_v5t_le-ld: /bin/sh: line 1:  2424 Segmentation fault
arm_v5t_le-ld -Bstatic -T u-boot.lds -Ttext 0x81080000
cpu/arm926ejs/start.o --start-group lib_generic/libgeneric.a
lib_generic/lzma/liblzma.a lib_generic/lzo/liblzo.a
board/davinci/common/libdavinci.a cpu/arm926ejs/libarm926ejs.a
cpu/arm926ejs/davinci/libdavinci.a lib_arm/libarm.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
fs/yaffs2/libyaffs2.a fs/ubifs/libubifs.a net/libnet.a disk/libdisk.a
drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a
drivers/dma/libdma.a drivers/fpga/libfpga.a drivers/gpio/libgpio.a
drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a
drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a
drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a
drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a
drivers/net/libnet.a drivers/net/phy/libphy.a
drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
drivers/pcmcia/libpcmcia.a drivers/power/libpower.a
drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a
drivers/twserial/libtws.a drivers/usb/gadget/libusb_gadget.a
drivers/usb/host/libusb_host.a drivers/usb/musb/libusb_musb.a
drivers/video/libvideo.a drivers/watchdog/libwatchdog.a
common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a
board/davinci/dm6467evm/libdm6467evm.a --end-group -L
/opt/montavista-arm/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-monta
vista-linuxeabi/3.4.3 -lgcc -o u-boot
make: *** [u-boot] Error 139

I found a message from back in June of 2004 about an issue with
binutils 2.15
(http://lists.denx.de/pipermail/u-boot/2004-June/005482.html), so I
removed the map file creation from the Makefile. However, this hasn't
helped.

Relevant versions:

arm_v5t_le-gcc --version
arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0.104.0600975
2006-07-06)

arm_v5t_le-ld --version
GNU ld version 2.15.94 20041215

Using the same toolchain, I can successfully compile u-boot-1.2.0
using the davinci_dm646x configuration.

Can anyone offer any assistance?

Thanks

Andy




More information about the U-Boot mailing list