[intel-tdx:guest-unaccepted-memory 11/14] ld.lld: error: undefined symbol: arch_kexec_load

From: kernel test robot
Date: Wed Aug 17 2022 - 04:14:59 EST


tree: https://github.com/intel/tdx.git guest-unaccepted-memory
head: 86fb61d5824802e1b7c4c8eb1b34029024f52ee6
commit: 820c5c338451079677510d4183ba5d5dc314c030 [11/14] x86: Disable kexec if system has unaccepted memory
config: x86_64-randconfig-a015-20220815 (https://download.01.org/0day-ci/archive/20220817/202208171435.ZwLactew-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec)
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://github.com/intel/tdx/commit/820c5c338451079677510d4183ba5d5dc314c030
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-unaccepted-memory
git checkout 820c5c338451079677510d4183ba5d5dc314c030
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: arch_kexec_load
>>> referenced by kexec.c:198 (kernel/kexec.c:198)
>>> vmlinux.o:(__x64_sys_kexec_load)
>>> referenced by kexec_file.c:332 (kernel/kexec_file.c:332)
>>> vmlinux.o:(__x64_sys_kexec_file_load)

--
0-DAY CI Kernel Test Service
https://01.org/lkp