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 <naresh.kamboju(a)linaro.org>
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
While building arm64 kernel modules the following kernel warnings /
errors noticed on
linux next 20210318 tag the gcc version is 7.3.0. I will check latest
gcc version builds
and keep you updated.
In file included from <command-line>:0:0:
In function 'resiliency_test',
inlined from 'test_slub_init' at lib/test_slub.c:120:2:
include/linux/compiler_types.h:320:38: error: call to
'__compiletime_assert_417' declared with attribute error: BUILD_BUG_ON
failed: KMALLOC_MIN_SIZE > 16 | KMALLOC_SHIFT_HIGH < 10
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^
include/linux/compiler_types.h:301:4: note: in definition of macro
'__compiletime_assert'
prefix ## suffix(); \
^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro
'_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro
'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro
'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^~~~~~~~~~~~~~~~
lib/test_slub.c:101:2: note: in expansion of macro 'BUILD_BUG_ON'
BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 | KMALLOC_SHIFT_HIGH < 10);
^~~~~~~~~~~~
make[2]: *** [ scripts/Makefile.build:273: lib/test_slub.o] Error 1
make[1]: *** [ Makefile:1980: lib] Error 2
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkf…https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkf…
- Naresh