[OE-core] binutils: regression on kernel builds
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Dec 10 11:48:57 UTC 2012
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
More information about the Openembedded-core
mailing list