[U-Boot] U-Boot 2015.04 failing to build with GCC 5.1
Otavio Salvador
otavio at ossystems.com.br
Tue May 12 23:00:08 CEST 2015
Hello,
We are working at enabling GCC 5.1 at the Yocto Project and we found a
build error:
make -f ../scripts/Makefile.build obj=examples/standalone
arm-oel-linux-gnueabi-ld.bfd -pie --gc-sections -Bstatic -Ttext
0x40002000 -o u-boot -T u-boot.lds arch/arm/cpu/arm926ejs/start.o
--start-group arch/arm/cpu/built-in.o
arch/arm/cpu/arm926ejs/built-in.o arch/arm/imx-common/built-in.o
arch/arm/lib/built-in.o board/freescale/common/built-in.o
board/freescale/mx28evk/built-in.o common/built-in.o disk/built-in.o
drivers/built-in.o drivers/dma/built-in.o drivers/gpio/built-in.o
drivers/i2c/built-in.o drivers/mmc/built-in.o drivers/mtd/built-in.o
drivers/mtd/nand/built-in.o drivers/mtd/onenand/built-in.o
drivers/mtd/spi/built-in.o drivers/mtd/ubi/built-in.o
drivers/net/built-in.o drivers/net/phy/built-in.o
drivers/pci/built-in.o drivers/power/built-in.o
drivers/power/battery/built-in.o drivers/power/fuel_gauge/built-in.o
drivers/power/mfd/built-in.o drivers/power/pmic/built-in.o
drivers/serial/built-in.o drivers/spi/built-in.o
drivers/usb/eth/built-in.o drivers/usb/gadget/built-in.o
drivers/usb/host/built-in.o drivers/usb/musb-new/built-in.o
drivers/usb/musb/built-in.o drivers/usb/phy/built-in.o
drivers/usb/ulpi/built-in.o fs/built-in.o lib/built-in.o
net/built-in.o test/built-in.o test/dm/built-in.o --end-group
arch/arm/lib/eabi_compat.o -L
/home/otavio/src/ossystems/yocto/build/tmp/sysroots/imx28evk/usr/lib/arm-oel-linux-gnueabi/5.1.0
-lgcc -Map u-boot.map
arch/arm/cpu/arm926ejs/start.o: In function `flush_dcache':
/home/otavio/src/ossystems/yocto/build/tmp/work/imx28evk-oel-linux-gnueabi/u-boot-fslc/v2015.04+gitAUTOINC+b16ec2de8d-r0/git/mx28evk_config/../arch/arm/cpu/arm926ejs/start.S:108:
undefined reference to `lowlevel_init'
arm-oel-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.25.0 assertion fail
/home/otavio/src/ossystems/yocto/build/tmp/work/x86_64-oel-linux-gnueabi/binutils-cross-arm/2.25-r0/git/bfd/elf32-arm.c:7827
arm-oel-linux-gnueabi-ld.bfd: error: required section '.rel.plt' not
found in the linker script
arm-oel-linux-gnueabi-ld.bfd: final link failed: Invalid operation
/home/otavio/src/ossystems/yocto/build/tmp/work/imx28evk-oel-linux-gnueabi/u-boot-fslc/v2015.04+gitAUTOINC+b16ec2de8d-r0/git/Makefile:1127:
recipe for target 'u-boot' failed
make[1]: *** [u-boot] Error 1
make[1]: Leaving directory
'/home/otavio/src/ossystems/yocto/build/tmp/work/imx28evk-oel-linux-gnueabi/u-boot-fslc/v2015.04+gitAUTOINC+b16ec2de8d-r0/git/mx28evk_config'
Makefile:145: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
Does someone have any idea what is going on?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the U-Boot
mailing list