2021-03-17 13:59:10

by Naresh Kamboju

[permalink] [raw]
Subject: s390: kernel/entry.o: in function `sys_call_table_emu': (.rodata+0x1bc0): undefined reference to `__s390_'

Linux next 20210317 tag building s390 architecture failed.
- s390 (defconfig) with gcc-8 - Failed
- s390 (defconfig) with gcc-9 - Failed
- s390 (defconfig) with gcc-10 - Failed

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=s390
CROSS_COMPILE=s390x-linux-gnu- 'CC=sccache s390x-linux-gnu-gcc'
'HOSTCC=sccache gcc'
s390x-linux-gnu-ld: arch/s390/kernel/entry.o: in function `sys_call_table_emu':
(.rodata+0x1bc0): undefined reference to `__s390_'
make[1]: *** [/builds/linux/Makefile:1212: vmlinux] Error 1

Reported-by: Naresh Kamboju <[email protected]>

steps to reproduce:
--------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime podman --target-arch s390 --toolchain gcc-9
--kconfig defconfig

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


2021-03-18 18:21:53

by Heiko Carstens

[permalink] [raw]