[U-Boot] Commit 8b5a02640adf77301f943e8754992c50df004e8a breaks about 20 ARM builds

Albert ARIBAUD (U-Boot) albert.u.boot at aribaud.net
Tue Aug 14 02:12:16 CEST 2012


Hi all,

I have encountered an issue when rebasing the ARM tree above
u-boot/master, with this commit :

8b5a02640adf77301f943e8754992c50df004e8a

It seems to break about 20 ARM builds, for instance spear600, on my
stock Ubuntu 12.04 ARM gcc:

uboot at lilith:~/src/u-boot-arm$ git checkout
8b5a02640adf77301f943e8754992c50df004e8a^ Previous HEAD position was
8b5a026... Makefile: cosmetic: optimize usage of LIBS-y HEAD is now at
f52d7b3... Makefile: replace LIBS by LIBS-y
uboot at lilith:~/src/u-boot-arm$ LANG=C ./MAKEALL spear600 Configuring
for spear600 - Board: spear6xx_evb, Options: spear600 text
data	    bss	    dec	    hex	filename
190670	   8604	  21924	 221198
3600e	./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------
uboot at lilith:~/src/u-boot-arm$ git checkout
8b5a02640adf77301f943e8754992c50df004e8a Previous HEAD position was
f52d7b3... Makefile: replace LIBS by LIBS-y HEAD is now at 8b5a026...
Makefile: cosmetic: optimize usage of LIBS-y
uboot at lilith:~/src/u-boot-arm$ LANG=C ./MAKEALL spear600 Configuring
for spear600 - Board: spear6xx_evb, Options: spear600 make: ***
[u-boot] Error 139 arm-linux-gnueabi-size: ./u-boot: File format not
recognized arch/arm/cpu/arm926ejs/start.o: In function `flush_dcache':
/home/uboot/src/u-boot-arm/arch/arm/cpu/arm926ejs/start.S:393:
undefined reference to `lowlevel_init' arch/arm/lib/libarm.o: In
function
`board_init_r': /home/uboot/src/u-boot-arm/arch/arm/lib/board.c:585:
undefined reference to `misc_init_r' arch/arm/lib/libarm.o:(.data+0x4):
undefined reference to `board_early_init_f'
arch/arm/lib/libarm.o:(.data+0x28): undefined reference to `dram_init'
board/spear/spear600/libspear600.o: In function
`board_init': /home/uboot/src/u-boot-arm/board/spear/spear600/spear600.c:38:
undefined reference to `spear_board_init' arm-linux-gnueabi-ld: BFD
(GNU Binutils for Ubuntu) 2.22 assertion
fail ../../bfd/elf32-arm.c:13830 /bin/bash: line 1: 10706 Segmentation
fault      (core dumped) arm-linux-gnueabi-ld -pie -T u-boot.lds
-Bstatic -Ttext 0x00700000 $UNDEF_SYM arch/arm/cpu/arm926ejs/start.o
--start-group api/libapi.o arch/arm/cpu/arm926ejs/libarm926ejs.o
arch/arm/cpu/arm926ejs/spear/libspear.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 fs/zfs/libzfs.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 test/libtest.o
board/spear/spear600/libspear600.o
--end-group /home/uboot/src/u-boot-arm/arch/arm/lib/eabi_compat.o
-L /usr/lib/gcc/arm-linux-gnueabi/4.6 -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( spear600 )
----------------------------------------------------------

Daniel, can you please investigate this?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list