stackdepot.c:undefined reference to `__irqentry_text_start'
From: kernel test robot
Date: Sun Jul 11 2021 - 11:14:39 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: de5540965853e514a85d3b775e9049deb85a2ff3
commit: 788691464c29455346dc613a3b43c2fb9e5757a4 mm/slub: use stackdepot to save stack trace in objects
date: 3 days ago
config: arc-randconfig-r004-20210711 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.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/torvalds/linux.git/commit/?id=788691464c29455346dc613a3b43c2fb9e5757a4
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 788691464c29455346dc613a3b43c2fb9e5757a4
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arc 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 >>):
arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
>> stackdepot.c:(.text+0x5a): undefined reference to `__irqentry_text_start'
>> arc-elf-ld: stackdepot.c:(.text+0x5a): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x62): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x62): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x6a): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x6a): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x72): undefined reference to `__softirqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x72): undefined reference to `__softirqentry_text_end'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip