Re: arc: kernel/entry.S:310: Error: inappropriate arguments for opcode 'and'

From: Vineet Gupta
Date: Fri Oct 30 2020 - 14:53:35 EST


Hi Naresh,

On 10/30/20 3:29 AM, Naresh Kamboju wrote:
> arc defconfig build failed on linux next 20201030 with gcc-8 and gcc-9.
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arc
> CROSS_COMPILE=arc-elf32- HOSTCC=gcc CC="sccache arc-elf32-gcc" O=build
> uImage
> #
> ../arch/arc/kernel/entry.S: Assembler messages:
> ../arch/arc/kernel/entry.S:310: Error: inappropriate arguments for opcode 'and'
> make[3]: *** [../scripts/Makefile.build:364:
> arch/arc/kernel/entry-arcv2.o] Error 1
>
> Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>

Thx for reporting this.  This is due to the series Add support for
TIF_NOTIFY_SIGNAL
<https://lore.kernel.org/io-uring/20201026203230.386348-1-axboe@xxxxxxxxx/#r>where
ARC patch is broken and I just replied to Jens about it. He will
hopefully fix it and push updated series to -next

Thx,
-Vineet