trouble building linux-linaro-3.0-2011.08-0
Dave Martin
dave.martin at linaro.org
Wed Aug 31 14:03:21 UTC 2011
On Mon, Aug 22, 2011 at 10:42:39AM -0300, Christian Robottom Reis wrote:
> On Sun, Aug 21, 2011 at 09:54:56PM -0400, Nicolas Pitre wrote:
> > > AS arch/arm/boot/compressed/head.o
> > > arch/arm/boot/compressed/head.S: Assembler messages:
> > > arch/arm/boot/compressed/head.S:127: Error: selected processor does
> > > not support requested special purpose register -- `mrs r2,cpsr'
> > > arch/arm/boot/compressed/head.S:134: Error: selected processor does
> > > not support requested special purpose register -- `mrs r2,cpsr'
> > > arch/arm/boot/compressed/head.S:136: Error: selected processor does
> > > not support requested special purpose register -- `msr cpsr_c,r2'
> > > make[2]: *** [arch/arm/boot/compressed/head.o] Error 1
> > > make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
> > > make: *** [uImage] Error 2
> [...]
> >
> > Looks to me like your assembler is broken, or gcc is not properly
> > telling it about the actual architecture in use.
>
> Right. And the original unwind-related missing symbols is a problem
> somewhere in configuration land?
We should turn on CONFIG_ARM_UNWIND in all the global configs if it's
not already on.
Thumb-2 requires it in practice, but it does no harm for ARM either --
in principle it may reduce run-time stack usage in the kernel by
a small amount (but don't quote me on that)
Cheers
---Dave
More information about the linaro-dev
mailing list