Openembedded Core Discussions
 help / color / mirror / Atom feed
* binutils: regression on kernel builds
@ 2012-12-10 11:48 Enrico Scholz
  2012-12-10 19:11 ` Khem Raj
  2012-12-12  9:23 ` Martin Jansa
  0 siblings, 2 replies; 5+ messages in thread
From: Enrico Scholz @ 2012-12-10 11:48 UTC (permalink / raw)
  To: openembedded-core

Hi,

with recent binutils, kernel build fails with

| arm-linux-gnueabi-ld: error: arch/arm/boot/compressed/piggy.gzip.o: unknown CPU architecture

I am able to reproduce it with

$ > /tmp/x.s
$ arm-linux-gnueabi-as  -march=armv7-a -march=all -o x0.o /tmp/x.s
$ arm-linux-gnueabi-as  -march=armv7-a  -o x1.o /tmp/x.s
$ arm-linux-gnueabi-ld.gold x0.o x1.o
arm-linux-gnueabi-ld: error: x1.o: unknown CPU architecture
$ arm-linux-gnueabi-ld.bfd x0.o x1.o
arm-linux-gnueabi-ld.bfd: warning: cannot find entry symbol _start; defaulting to 0000000000008034


(kernel sets '-Wa,-march=all' when building piggy.gzip.o)


This works fine with binutils 2.22 and when using the BFD linker.



Enrico



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

end of thread, other threads:[~2012-12-12 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10 11:48 binutils: regression on kernel builds Enrico Scholz
2012-12-10 19:11 ` Khem Raj
2012-12-12  9:23 ` Martin Jansa
2012-12-12 13:01   ` Enrico Scholz
2012-12-12 13:29     ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox