[linux-stable-rc:linux-4.9.y 2197/2294] string.c:undefined reference to `__ubsan_handle_nonnull_return_v1'

From: kernel test robot
Date: Fri Aug 06 2021 - 02:21:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
head: f44373a3e7a37999a7506c79891abbb8f1318471
commit: aeeb58019ef157459f561b5e122064a058e862f2 [2197/2294] init/Kconfig: make COMPILE_TEST depend on !S390
config: s390-randconfig-r033-20210805 (attached as .config)
compiler: s390-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=aeeb58019ef157459f561b5e122064a058e862f2
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.9.y
git checkout aeeb58019ef157459f561b5e122064a058e862f2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: arch/s390/built-in.o: in function `ftrace_plt_init':
ftrace.c:(.init.text+0x5e8e): undefined reference to `module_alloc'
s390-linux-ld: lib/lib.a(string.o): in function `stpcpy':
>> string.c:(.text+0x464): undefined reference to `__ubsan_handle_nonnull_return_v1'
s390-linux-ld: drivers/built-in.o: in function `idma64_platform_probe':
idma64.c:(.text+0x28c20): undefined reference to `devm_ioremap_resource'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip