[U-Boot] linking rockchip-linux/u-boot.git with binutils-2.28

Trevor Woerner twoerner at gmail.com
Wed Mar 8 07:39:00 UTC 2017


Hi,

It appears as though linking u-boot with binutils-2.28 fails:

	arm-oe-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N

openembedded-core master just upgraded from binutils-2.27 to 2.28, everything
builds fine with 2.27 but fails (see above) with 2.28.

What's odd is that googling around makes it sound like the problem is with the
linker script. But the code isn't changing, only the linker. So the old linker
found enough room, but the new linker things it's running out?

Has anyone else noticed this?

Does anyone have thoughts on solving this?

Thanks and best regards,
	Trevor


More information about the U-Boot mailing list