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

From: Naresh Kamboju
Date: Fri Oct 30 2020 - 06:30:00 EST


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>

--
Linaro LKFT
https://lkft.linaro.org