[U-Boot] compiling u-boot failed for TI Davinci DM355 EVM (davinci_dm355evm_config)

Mohamed Thalib H mohamed at e-consystems.com
Thu Apr 22 12:44:57 CEST 2010


Hi all,

I tried to compile the u-boot-2009.11 and u-boot-2010.03 for TI Davinci 
DM355 EVM (davinci_dm355evm_config)  board but it ended up with the 
following error. could some one please help me in finding where exaclty 
the problem is. the log is as below for u-boot-2009.11

-- 
Best Regards,
Mohamed Thalib H



make[1]: Leaving directory 
`/home/thalib/src/u-boot-2009.11/board/davinci/dm355evm'
make -C /home/thalib/src/u-boot-2009.11/cpu/arm926ejs/ u-boot.lds
make[1]: Entering directory `/home/thalib/src/u-boot-2009.11/cpu/arm926ejs'
make[1]: Nothing to be done for `u-boot.lds'.
make[1]: Leaving directory `/home/thalib/src/u-boot-2009.11/cpu/arm926ejs'
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -E 
-g  -Os   -fno-common -ffixed-r8 -msoft-float  -fno-common -ffixed-r8 
-msoft-float  -D__KERNEL__ -DTEXT_BASE=0x81080000 
-I/home/thalib/src/u-boot-2009.11/include -fno-builtin -ffreestanding 
-nostdinc -isystem 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/include 
-pipe  -DCONFIG_ARM -D__ARM__ -marm    -mabi=apcs-gnu  
-mno-thumb-interwork  -march=armv5te -march=armv5te -include 
/home/thalib/src/u-boot-2009.11/include/u-boot/u-boot.lds.h -DLD_MAJOR=2 
-DLD_MINOR=15 -ansi -D__ASSEMBLY__ -P - 
</home/thalib/src/u-boot-2009.11/cpu/arm926ejs/u-boot.lds >u-boot.lds
UNDEF_SYM=`/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-objdump 
-x board/davinci/dm355evm/libdm355evm.a 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 | sed  -n 
-e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd 
/home/thalib/src/u-boot-2009.11 && 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ld 
-Bstatic -T u-boot.lds  -Ttext 0x81080000 $UNDEF_SYM 
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/dm355evm/libdm355evm.a --end-group -L 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/libgcc.a(_ashrdi3.oS): 
warning: duplicate section `.note.gnu.arm.ident' has different contents

/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ld: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-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/arm_v5t_le-ld: 
/bin/sh: line 1: 12677 Segmentation fault      
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ld 
-Bstatic -T u-boot.lds -Ttext 0x81080000 $UNDEF_SYM 
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/dm355evm/libdm355evm.a --end-group -L 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3 
-lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
thalib at mohamed:



More information about the U-Boot mailing list