Re: ARC: allmodconfig: Error: inappropriate arguments for opcode 'mpyd'

From: Vineet Gupta
Date: Mon Sep 28 2020 - 17:23:54 EST


Hi Naresh,

On 9/23/20 9:20 PM, Naresh Kamboju wrote:
> arc:allmodconfig build failed with gcc-8, gcc-9 and gcc-10 on Linus's
> mainline tree.
>
> Build log:
> ------------
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=arc
> CROSS_COMPILE=arc-elf32- HOSTCC=gcc CC="sccache arc-elf32-gcc" O=build
> allmodconfig
>
> 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
>

...

> {standard input}: Assembler messages:
> {standard input}:9360: Error: inappropriate arguments for opcode 'mpyd'
> make[3]: *** [../scripts/Makefile.build:283: kernel/sched/core.o] Error 1

Thx for testing this and bringing to our attention.
I've created a github issue for gcc.

https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/300

We will also look at bunch of other warnings being spit out.

Thx,
-Vineet