ld.lld: error: undefined symbol: arch_phys_to_idmap_offset

From: kernel test robot
Date: Thu Jan 11 2024 - 23:09:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 22d29f1112c85c1ad519a8c0403f7f7289cf060c
commit: c41bd2514184d75db087fe4c1221237fb7922875 kexec: drop dependency on ARCH_SUPPORTS_KEXEC from CRASH_DUMP
date: 4 weeks ago
config: arm-randconfig-001-20240112 (https://download.01.org/0day-ci/archive/20240112/202401121124.9QvF22yh-lkp@xxxxxxxxx/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240112/202401121124.9QvF22yh-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/202401121124.9QvF22yh-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: arch_phys_to_idmap_offset
>>> referenced by kexec_core.c
>>> kernel/kexec_core.o:(kimage_alloc_control_pages) in archive vmlinux.a
>>> referenced by kexec_core.c
>>> kernel/kexec_core.o:(kimage_alloc_control_pages) in archive vmlinux.a
>>> referenced by kexec_core.c
>>> kernel/kexec_core.o:(kimage_free) in archive vmlinux.a
>>> referenced 15 more times

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