linux-next: omap2plus_defconfig not building

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 26 07:33:36 EST 2010


On Fri, Nov 26, 2010 at 12:22:15PM -0000, Will Deacon wrote:
> Hi Russell,
> 
> > $ arm-linux-as -v -o /dev/null /dev/null
> > GNU assembler version 2.19.1 (arm-linux) using BFD version (GNU Binutils) 2.19.1
> > $ arm-linux-as -march=armv6 -mfloat-abi=soft -meabi=5 -march=armv7-a -o /dev/null t.s
> > $ arm-linux-as -march=armv6 -mfloat-abi=soft -meabi=5 -o /dev/null t.s
> > t.s: Assembler messages:
> > t.s:1: Error: selected processor does not support `ldrexb r7,[r6]'
> > 
> > So it looks like someone's changed the behaviour of the assembler so it's
> > no longer possible to override the -march= argument from the gcc frontend.
> > 
> > Maybe Will can shed some light on this?
> 
> Well we pass -march=armv6 to GCC and -march=v7-a to the assembler using the -Wa
> option. This means that the compiler generates a .arch armv6 directive in the .s
> file and the assembler barfs.

BTW, what this means is that now, we can't support anything but the
targetted CPU with the kernel.  We can say goodbye to multiple-CPU
supporting kernels, and Linaro's idea of having one kernel support
multiple platforms.



More information about the linux-arm-kernel mailing list