Build error: versatile express

Nicolas Pitre nico at linaro.org
Tue Aug 13 11:50:17 EDT 2013


On Tue, 13 Aug 2013, Dave Martin wrote:

> On Mon, Aug 12, 2013 at 12:55:23PM -0400, Nicolas Pitre wrote:
> > On Mon, 12 Aug 2013, Dave Martin wrote:
> > 
> > > On Mon, Aug 12, 2013 at 11:28:04AM +0100, Russell King - ARM Linux wrote:
> > > > arch/arm/mach-vexpress/tc2_pm.c: In function 'tc2_pm_down.clone.0':
> > > > arch/arm/mach-vexpress/tc2_pm.c:200:1: error: fp cannot be used in asm here
> > > > 
> > > > This is caused by the assembly code in this file clobbering R11, which
> > > > is incompatible with having CONFIG_FRAME_POINTER=y.
> > > 
> > > Is there any reason not to fix this just by pushing/popping r11 inside
> > > the asm and removing it from the clobber list?
> > 
> > That's most likely the best fix.  What about this?
> 
> Were we replacing these instances with the macro, or is that still in
> flight?

I've updated the macro patch accordingly.  I prefer to submit that one 
separately.

> Anyway, if useful:
> 
> Reviewed-by: Dave Martin <Dave.Martin at arm.com>

Thanks.


Nicolas



More information about the linux-arm-kernel mailing list