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

From: kernel test robot

Date: Fri Oct 24 2025 - 21:45:05 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head: 37d0472c8ac441af8bc10fc4959ad9d62dd5fa4c
commit: 488f48b32654dc6be04d9cc12f75ce030c9cb21b [8/11] seqlock: Change thread_group_cputime() to use scoped_seqlock_read()
config: x86_64-buildonly-randconfig-002-20251025 (https://download.01.org/0day-ci/archive/20251025/202510250928.YLPmMRoX-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/202510250928.YLPmMRoX-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/202510250928.YLPmMRoX-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

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

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