s390: {standard input}:11: Error: Unrecognized opcode: `pushq'

From: Naresh Kamboju
Date: Tue Oct 26 2021 - 13:32:47 EST


[Please ignore this email if it is already reported ]

Regression found on s390 gcc-8/9/10 and gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211025.

metadata:
git_describe: next-20211025
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: 9ae1fbdeabd3 (\"Add linux-next specific files for 20211025\")
target_arch: s390
toolchain: gcc-10

build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
{standard input}: Assembler messages:
{standard input}:11: Error: Unrecognized opcode: `pushq'
{standard input}:12: Error: Unrecognized opcode: `movq'
{standard input}:13: Error: Unrecognized opcode: `pushq'
{standard input}:14: Error: Unrecognized opcode: `movq'
{standard input}:15: Error: Unrecognized opcode: `call'
{standard input}:16: Error: Unrecognized opcode: `popq'
{standard input}:17: Error: Unrecognized opcode: `leave'
{standard input}:18: Error: Unrecognized opcode: `ret'
make[3]: *** [/builds/linux/scripts/Makefile.build:288:
samples/ftrace/ftrace-direct-multi.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [/builds/linux/scripts/Makefile.build:571: samples/ftrace] Error 2


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

build link:
-----------
https://builds.tuxbuild.com/1zzgG8V6qSBH9457ca0kOcQR756/build.log

build config:
-------------
https://builds.tuxbuild.com/1zzgG8V6qSBH9457ca0kOcQR756/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch s390 --toolchain gcc-10
--kconfig defconfig

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