linux-next: omap2plus_defconfig not building

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 26 06:45:09 EST 2010


On Fri, Nov 26, 2010 at 05:05:41PM +0530, Anand Gadiyar wrote:
> On 11/25/2010 10:20 PM, Russell King - ARM Linux wrote:
> > Please do:
> > 
> > make V=1 CFLAGS_KERNEL=-v arch/arm/kernel/swp_emulate.o
> > 
> > and send the output.  This should show what command arguments are being
> > passed to the assembler.
> 
> Here's the last line of output from the command above. I've attached the
> complete log if anyone's interested.
> 
>  /db/omapts/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/as -v -I/home/userdata/a0393673/mainline/mainline/arch/arm/include -Iinclude -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -EL -march=armv6 -mfloat-abi=soft -meabi=5 -march=armv7-a -o /tmp/a0393673/ccache/tmp.hash.ubomapldc13.24604.o /tmp/cc4MQyRN.s
> GNU assembler version 2.19.51 (arm-none-linux-gnueabi) using BFD version (Sourcery G++ Lite 2010q1-202) 2.19.51.20090709
> /tmp/cc4MQyRN.s: Assembler messages:
> /tmp/cc4MQyRN.s:339: Error: selected processor does not support ARM mode `ldrexb r7,[r6]'
> /tmp/cc4MQyRN.s:340: Error: selected processor does not support ARM mode `strexb r3,r2,[r6]'
> make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
> make: *** [arch/arm/kernel/swp_emulate.o] Error 2

$ 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?



More information about the linux-arm-kernel mailing list