Skip to contentSkip to conversation

Problem linking u-boot-2009.11.1 with arm_v5t_le-ld

U-Boot Andy Hawkins 2 participants 2 messages Feb 9, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Dear "Andy Hawkins",

Quoted 7 lines · In message <002e01caa995$b5f42ca0$21dc85e0$@[email protected]> you wrote:

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

A segmentation fauls is always a severe error that should never happen.

Quoted 3 lines

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

...

Quoted 1 line

Can anyone offer any assistance?

Please contact MontaVista technical support and ask for a fix for their broken tools.

Or use free, working tools instead.

Best regards,

Wolfgang Denk

Signature · 5 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
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_