All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] U-Boot 2015.04 failing to build with GCC 5.1
@ 2015-05-12 21:00 Otavio Salvador
  2015-05-12 21:13 ` Peter Robinson
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2015-05-12 21:00 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot 2015.04 failing to build with GCC 5.1
  2015-05-12 21:00 [U-Boot] U-Boot 2015.04 failing to build with GCC 5.1 Otavio Salvador
@ 2015-05-12 21:13 ` Peter Robinson
  2015-05-12 21:20   ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Robinson @ 2015-05-12 21:13 UTC (permalink / raw)
  To: u-boot

Hi,

On Tue, May 12, 2015 at 10:00 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello,
>
> We are working at enabling GCC 5.1 at the Yocto Project and we found a
> build error:

On Fedora we've been building with gcc5 for some time, Hans added
support for it in the following commit

http://git.denx.de/?p=u-boot.git;a=commit;h=478b02f1a7043b673565075ea5016376f3293b23

Peter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot 2015.04 failing to build with GCC 5.1
  2015-05-12 21:13 ` Peter Robinson
@ 2015-05-12 21:20   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2015-05-12 21:20 UTC (permalink / raw)
  To: u-boot

On Tue, May 12, 2015 at 6:13 PM, Peter Robinson <pbrobinson@gmail.com> wrote:
> On Tue, May 12, 2015 at 10:00 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> Hello,
>>
>> We are working at enabling GCC 5.1 at the Yocto Project and we found a
>> build error:
>
> On Fedora we've been building with gcc5 for some time, Hans added
> support for it in the following commit
>
> http://git.denx.de/?p=u-boot.git;a=commit;h=478b02f1a7043b673565075ea5016376f3293b23

May it be related to the out of tree build?

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-12 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12 21:00 [U-Boot] U-Boot 2015.04 failing to build with GCC 5.1 Otavio Salvador
2015-05-12 21:13 ` Peter Robinson
2015-05-12 21:20   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.