[vbabka:slub-stackdepot-v2 3/6] slub.c:undefined reference to `stack_depot_want_early_init'

From: kernel test robot
Date: Thu Mar 03 2022 - 06:34:26 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git slub-stackdepot-v2
head: 81001c54e58478cef57829b8b468f8d2865b7563
commit: 80a4eec3b671b3f834d5357d4bf0027f325606c5 [3/6] mm/slub: use stackdepot to save stack trace in objects
config: nios2-randconfig-r035-20220303 (https://download.01.org/0day-ci/archive/20220303/202203031903.ZpsZPgv7-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.2.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/vbabka/linux.git/commit/?id=80a4eec3b671b3f834d5357d4bf0027f325606c5
git remote add vbabka https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git
git fetch --no-tags vbabka slub-stackdepot-v2
git checkout 80a4eec3b671b3f834d5357d4bf0027f325606c5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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 >>):

nios2-linux-ld: mm/slub.o: in function `setup_slub_debug':
>> slub.c:(.init.text+0x1c0): undefined reference to `stack_depot_want_early_init'
>> nios2-linux-ld: slub.c:(.init.text+0x1c4): undefined reference to `stack_depot_want_early_init'
nios2-linux-ld: slub.c:(.init.text+0x218): undefined reference to `stack_depot_want_early_init'
nios2-linux-ld: slub.c:(.init.text+0x21c): undefined reference to `stack_depot_want_early_init'
nios2-linux-ld: net/core/sock.o: in function `sk_destruct':
sock.c:(.text+0x35d8): undefined reference to `__sk_defer_free_flush'
sock.c:(.text+0x35d8): relocation truncated to fit: R_NIOS2_CALL26 against `__sk_defer_free_flush'

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