linux-next: omap2plus_defconfig not building
Catalin Marinas
catalin.marinas at arm.com
Mon Nov 8 05:31:18 EST 2010
On Mon, 2010-11-08 at 10:25 +0000, Russell King - ARM Linux wrote:
> On Mon, Nov 08, 2010 at 10:20:51AM +0000, Catalin Marinas wrote:
> > On Mon, 2010-11-08 at 10:14 +0000, Russell King - ARM Linux wrote:
> > > On Mon, Nov 08, 2010 at 09:48:13AM +0000, Catalin Marinas wrote:
> > > > Russell had a better idea for handling this, not sure whether it went
> > > > into -next. It was basically adding -march=armv7-a to
> > > > CFLAGS_swp_emulate.o in arch/arm/kernel/Makefile since we can't trigger
> > > > an undef fault for SWP on ARMv6 anyway.
> > >
> > > It's probably not a good idea to override the compiler architecture,
> > > but just allow the assembler to accept the instruction. -Wa,-march=armv7-a
> > > should be good enough.
> >
> > Yes, even better via AFLAGS.
>
> Not by AFLAGS unless you want to rewrite swp_emulate entirely in assembler!
> AFLAGS is used for .S -> .o. CFLAGS is used for .c -> .o.
No, what I meant was via -Wa,
> > Do you have a patch already or I should push one?
>
> I've already fixed it.
Anyway, good that you've fixed it. Thanks.
Catalin
More information about the linux-arm-kernel
mailing list