[tip:locking/core 9/11] array.c:undefined reference to `__scoped_seqlock_bug'

From: kernel test robot
Date: Sat Oct 25 2025 - 05:00:05 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head: 37d0472c8ac441af8bc10fc4959ad9d62dd5fa4c
commit: b76f72bea2c601afec81829ea427fc0d20f83216 [9/11] seqlock: Change do_task_stat() to use scoped_seqlock_read()
config: x86_64-buildonly-randconfig-002-20251025 (https://download.01.org/0day-ci/archive/20251025/202510251641.idrNXhv5-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251025/202510251641.idrNXhv5-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510251641.idrNXhv5-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: vmlinux.o: in function `__scoped_seqlock_next.constprop.0':
build_policy.c:(.text+0x23f823): undefined reference to `__scoped_seqlock_bug'
ld: vmlinux.o: in function `__scoped_seqlock_next.constprop.0':
>> array.c:(.text+0x6296d3): undefined reference to `__scoped_seqlock_bug'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki