[U-Boot] Segmentation fault while compiling u-boot-40792d675a609c83621d098e48a89de07463b3cd.tar.gz
Mewundi, Sudhindra
Sudhindra.Mewundi at honeywell.com
Tue May 25 15:40:58 CEST 2010
Hi,
I am getting the following linking error {/u-boot] Error 139} while
compiling u-boot-40792d675a609c83621d098e48a89de07463b3cd.tar.gz for
Davinci DM6467. I saw a couple of similar issues reported but could not
find the solution in them. Please let me know if any body has more
information on this issue.
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-gcc
-E -g -Os -fno-common -ffixed-r8 -msoft-float -fno-common -ffixed-r8
-msoft-float -D__KERNEL__ -DTEXT_BASE=0x81080000
-I/home/sudhilinux/Desktop/u-boot/binaries/include2
-I/home/sudhilinux/Desktop/u-boot/binaries/include
-I/home/sudhilinux/Desktop/u-boot/include -fno-builtin -ffreestanding
-nostdinc -isystem
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm
-mabi=apcs-gnu -mno-thumb-interwork -march=armv5te -march=armv5te
-include /home/sudhilinux/Desktop/u-boot/include/u-boot/u-boot.lds.h
-DLD_MAJOR=2 -DLD_MINOR=15 -ansi -D__ASSEMBLY__ -P -
</home/sudhilinux/Desktop/u-boot/arch/arm/cpu/arm926ejs/u-boot.lds
>/home/sudhilinux/Desktop/u-boot/binaries/u-boot.lds
UNDEF_SYM=`/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l
-linux-objdump -x
/home/sudhilinux/Desktop/u-boot/binaries/board/davinci/dm6467evm/libdm64
67evm.a /home/sudhilinux/Desktop/u-boot/binaries/lib/libgeneric.a
/home/sudhilinux/Desktop/u-boot/binaries/lib/lzma/liblzma.a
/home/sudhilinux/Desktop/u-boot/binaries/lib/lzo/liblzo.a
/home/sudhilinux/Desktop/u-boot/binaries/board/davinci/common/libdavinci
.a
/home/sudhilinux/Desktop/u-boot/binaries/arch/arm/cpu/arm926ejs/libarm92
6ejs.a
/home/sudhilinux/Desktop/u-boot/binaries/arch/arm/cpu/arm926ejs/davinci/
libdavinci.a
/home/sudhilinux/Desktop/u-boot/binaries/arch/arm/lib/libarm.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/cramfs/libcramfs.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/fat/libfat.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/fdos/libfdos.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/jffs2/libjffs2.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/reiserfs/libreiserfs.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/ext2/libext2fs.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/yaffs2/libyaffs2.a
/home/sudhilinux/Desktop/u-boot/binaries/fs/ubifs/libubifs.a
/home/sudhilinux/Desktop/u-boot/binaries/net/libnet.a
/home/sudhilinux/Desktop/u-boot/binaries/disk/libdisk.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/bios_emulator/libatibio
semu.a /home/sudhilinux/Desktop/u-boot/binaries/drivers/block/libblock.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/dma/libdma.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/fpga/libfpga.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/gpio/libgpio.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/hwmon/libhwmon.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/i2c/libi2c.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/input/libinput.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/misc/libmisc.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/mmc/libmmc.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/mtd/libmtd.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/mtd/nand/libnand.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/mtd/onenand/libonenand.
a /home/sudhilinux/Desktop/u-boot/binaries/drivers/mtd/ubi/libubi.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/mtd/spi/libspi_flash.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/net/libnet.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/net/phy/libphy.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/pci/libpci.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/pcmcia/libpcmcia.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/power/libpower.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/spi/libspi.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/rtc/librtc.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/serial/libserial.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/twserial/libtws.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/usb/gadget/libusb_gadge
t.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/usb/host/libusb_host.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/usb/musb/libusb_musb.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/usb/phy/libusb_phy.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/video/libvideo.a
/home/sudhilinux/Desktop/u-boot/binaries/drivers/watchdog/libwatchdog.a
/home/sudhilinux/Desktop/u-boot/binaries/common/libcommon.a
/home/sudhilinux/Desktop/u-boot/binaries/lib/libfdt/libfdt.a
/home/sudhilinux/Desktop/u-boot/binaries/api/libapi.a
/home/sudhilinux/Desktop/u-boot/binaries/post/libpost.a | sed -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd
/home/sudhilinux/Desktop/u-boot/binaries &&
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld
-Bstatic -T /home/sudhilinux/Desktop/u-boot/binaries/u-boot.lds -Ttext
0x81080000 $UNDEF_SYM arch/arm/cpu/arm926ejs/start.o --start-group
lib/libgeneric.a lib/lzma/liblzma.a lib/lzo/liblzo.a
board/davinci/common/libdavinci.a arch/arm/cpu/arm926ejs/libarm926ejs.a
arch/arm/cpu/arm926ejs/davinci/libdavinci.a arch/arm/lib/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/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/usb/phy/libusb_phy.a drivers/video/libvideo.a
drivers/watchdog/libwatchdog.a common/libcommon.a lib/libfdt/libfdt.a
api/libapi.a post/libpost.a board/davinci/dm6467evm/libdm6467evm.a
--end-group -L
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3 -lgcc -Map u-boot.map -o u-boot
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_udivsi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_divsi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_umodsi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_modsi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_dvmd_tls.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_lshrdi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3/libgcc.a(_ashldi3.oS): warning: duplicate
section `.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld:
/bin/sh: line 1: 17212 Segmentation fault
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/armv5l-linux-ld
-Bstatic -T /home/sudhilinux/Desktop/u-boot/binaries/u-boot.lds -Ttext
0x81080000 $UNDEF_SYM arch/arm/cpu/arm926ejs/start.o --start-group
lib/libgeneric.a lib/lzma/liblzma.a lib/lzo/liblzo.a
board/davinci/common/libdavinci.a arch/arm/cpu/arm926ejs/libarm926ejs.a
arch/arm/cpu/arm926ejs/davinci/libdavinci.a arch/arm/lib/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/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/usb/phy/libusb_phy.a drivers/video/libvideo.a
drivers/watchdog/libwatchdog.a common/libcommon.a lib/libfdt/libfdt.a
api/libapi.a post/libpost.a board/davinci/dm6467evm/libdm6467evm.a
--end-group -L
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5t
l-montavista-linuxeabi/3.4.3 -lgcc -Map u-boot.map -o u-boot
make: *** [/home/sudhilinux/Desktop/u-boot/binaries/u-boot] Error 139
Thanks and Regards
Sudhi
More information about the U-Boot
mailing list