[OE-core] binutils: regression on kernel builds

Martin Jansa martin.jansa at gmail.com
Wed Dec 12 13:29:51 UTC 2012


On Wed, Dec 12, 2012 at 02:01:36PM +0100, Enrico Scholz wrote:
> Martin Jansa <martin.jansa at gmail.com> writes:
> 
> >> | arm-linux-gnueabi-ld: error: arch/arm/boot/compressed/piggy.gzip.o: unknown CPU architecture
> >> ...
> >> This works fine with binutils 2.22 and when using the BFD linker.
> >
> > You need to patch your kernel sources, some examples for different
> > kernel versions (please ignore incorrect commit message)
> 
> I am not sure who (gold linker or kernel) is the responsible party.  But
> based on my experiences with low level programs (e.g. bootloaders and
> kernel) which are having serious problems with the gold linker, I set
> for now
> 
> | KERNEL_LDSUFFIX = .bfd

FWIW: those patches I've referenced work for me fine (last 4 months
since binutils-2.23 patches first appeared on ML) on all 4 devices I'm using.

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121212/b591bb65/attachment-0002.sig>


More information about the Openembedded-core mailing list