[U-Boot] ca9x4_ct_vxp build failure

Marek Vasut
2012-03-05T06:15:45Z

Dear Matt Waddel,

ca9x4_ct_vxp does not build with ELDK4.2 . Can you please come up with a patch?

Thanks in advance!

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Configuring for ca9x4_ct_vxp board...
cmd_pxe.c: In function 'do_pxe_get':
cmd_pxe.c:334: warning: dereferencing type-punned pointer will break strict-
aliasing rules
cmd_pxe.c: In function 'get_relfile_envaddr':
cmd_pxe.c:374: warning: dereferencing type-punned pointer will break strict-
aliasing rules
common/libcommon.o: In function `cread_line':
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:717:
undefined reference to `get_ticks'
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:717:
undefined reference to `get_tbclk'
/opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/common/main.c:720:
undefined reference to `get_ticks'
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:8886
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:8886
arm-linux-ld: BFD (GNU Binutils) 2.17.90.20070806 assertion fail
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-
glibc-20070515T2025-eldk/arm-linux-gnueabi/binutils-2.17.90/bfd/elf32-arm.c:9117
/bin/sh: line 1: 21550 Segmentation fault (core dumped) arm-linux-ld -pie -
T u-boot.lds -Bstatic -Ttext 0x60800000 $UNDEF_SYM arch/arm/cpu/armv7/start.o --
start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/lib/libarm.o
common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o
drivers/block/libblock.o drivers/dma/libdma.o drivers/fpga/libfpga.o
drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o
drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o
drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o
drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o
drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o
drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o
drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.o
drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o
drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o
drivers/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o
fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o
fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o
lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o
board/armltd/vexpress/libvexpress.o --end-group /opt/work/jenkins/jobs/U-
Boot/workspace/workspace/compiler/eldk4.2/device/arm___ca9x4_ct_vxp/arch/arm/lib/eabi_compat.o
-L /opt/eldk-4.2-2008-11-24/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/soft-
float -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
arm-linux-size: ./u-boot: File format not recognized

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings or errors: 1 ( ca9x4_ct_vxp )
----------------------------------------------------------

Best regards,
Marek Vasut