Re: Linking issue with ld.bfd 2.28.0.20170307

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Holger,

On Mon, Apr 17, 2017 at 07:35:19AM +0200, Holger Freyther wrote:
> 
> > On 30. Mar 2017, at 20:49, Holger Freyther <holger@xxxxxxxxxxxxxxxx> wrote:
> > 
> > Hi,
> 
> Hi!
> 
> > I am rebuilding the bootloader with gcc6 and the above version
> > of binutils and it is failing to link with .bfd but is working
> > with .gold.
> > 
> > Is this known? Is anyone else seeing this issue? And no I did
> > not try linking with -N and I have no idea what ld thinks is
> > the program headers here.
> 
> my steps to reproduce this with Yocto's gcc-6.3 and ld.bfd
> 2.28.0.20170307 are the following. CROSS_COMPILE points into
> the sysroot of a build on poky master.
> 
> git clone --branch=hfreyther/v2017.03-rebase git://git.sysmocom.de/barebox
> cd barebox/
> wget -O .config "http://git.sysmocom.de/poky/meta-sysmocom-bsp/plain/recipes-bsp/barebox/barebox-sysmobts/defconfig?id=39afcd35ae40b8468868f1e942706dec11e03961";
> make ARCH=arm
> 
> 
> .../arm-poky-linux-gnueabi-ld: .tmp_barebox1: Not enough room for program headers, try linking with -N
> .../arm-poky-linux-gnueabi-ld: final link failed: Bad value

I'm afraid nobody currently uses gcc6 for barebox. I have no idea what's
going wrong here, sorry. Does it work when you disable
CONFIG_RELOCATABLE?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux