[Buildroot] buildroot compile error - "Rn must not overlap other operands"

Will Newton will.newton at gmail.com
Wed Jan 10 10:15:34 UTC 2007


On 1/10/07, nina.holly at aerende.com <nina.holly at aerende.com> wrote:
> Hi,
>     I downloaded the latest 17177 version of buildroot and got
> the following compile error (shown in the enclosed make_1.log):
>
> ../xgcc .... buildroot/toolchain_build_arm/gcc-3.4.2/boehm-gc/finalize.c
> /tmp/ccVyKzUN.s: Assembler messages:
> /tmp/ccVyKzUN.s: Error: Rn must not overlap other operands -- `swp r3,5,[r3]'
>
> 1.  Has anyone seen this before?  I googled it and it appears to be
>     a real ARM bug. Does anyone know how to find where the swp
>     assembly source that is causing the error is?

It's code generated by the compiler in this case. Either your compiler
or your binutils is wrong, I don't know enough about ARM to say which.

> 2.  Does anyone know how to stop the /tmp/ccVyKzUN.s file from being
>     removed so that I can look at it?

Rerun the gcc command line with "-save-temps" added.



More information about the buildroot mailing list