[intel-tdx:guest-unaccepted-memory 11/14] kexec_file.c:undefined reference to `arch_kexec_load'
From: kernel test robot
Date: Wed Aug 17 2022 - 04:14:32 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-a003-20220815 (https://download.01.org/0day-ci/archive/20220817/202208171452.AKZhcBTE-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# 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
make 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: vmlinux.o: in function `__do_sys_kexec_file_load':
>> kexec_file.c:(.text+0x1e567d): undefined reference to `arch_kexec_load'
--
0-DAY CI Kernel Test Service
https://01.org/lkp