arm: tinyconfig: entry-common.S:156: Error: r13 not allowed here -- `bic tsk,sp,#(((1<<12)<<1)-1)&~63'

Arnd Bergmann arnd at arndb.de
Tue Jul 21 11:43:15 EDT 2020


On Tue, Jul 21, 2020 at 5:07 PM Naresh Kamboju
<naresh.kamboju at linaro.org> wrote:
>
> This might add little value.
>
> arm build sets failed on linux next 20200721.
> The defconfig ( +config fragments ) builds PASS.
> The tinyconfig and allnoconfig FAILED with gcc-8, gcc-9 and gcc-10.
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j32 ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> arm-linux-gnueabihf-gcc" O=build zImage
> #
> ../arch/arm/kernel/entry-common.S: Assembler messages:
> ../arch/arm/kernel/entry-common.S:156: Error: r13 not allowed here --
> `bic tsk,sp,#(((1<<12)<<1)-1)&~63'
> ../arch/arm/kernel/entry-common.S:243: Error: r13 not allowed here --
> `bic tsk,sp,#(((1<<12)<<1)-1)&~63'
> make[3]: *** [../scripts/Makefile.build:361:
> arch/arm/kernel/entry-common.o] Error 1
> ../arch/arm/kernel/entry-v7m.S: Assembler messages:
> ../arch/arm/kernel/entry-v7m.S:60: Error: r13 not allowed here -- `bic
> tsk,sp,#(((1<<12)<<1)-1)&~63'
> ../arch/arm/kernel/entry-v7m.S:86: Error: r13 not allowed here -- `bic
> tsk,sp,#(((1<<12)<<1)-1)&~63'
> make[3]: *** [../scripts/Makefile.build:361:
> arch/arm/kernel/entry-v7m.o] Error 1
>
> full build link,
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/648560264

This must come from
ac5bb8f8445f ("ARM: 8983/1: asm: Rewrite get_thread_info using BIC")

Adding Linus and Ard to Cc as well.

       Arnd



More information about the linux-arm-kernel mailing list