CC: linux-kernel(a)vger.kernel.org
TO: Andi Kleen <ak(a)linux.intel.com>
CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy(a)linux.intel.com>
tree:
https://github.com/intel/tdx.git guest
head: 01c28e41b2a47c89249d60ca47f02024bc782dfd
commit: e2ddd8c0d1e5991e89d284c5cd08cbe51dd09494 [90/110] x86/tdx: Make RDRAND/RDSEED loop
forever
config: x86_64-randconfig-a011-20210810 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
614c7d03877fd99c2de47429b15be3f00306a3bd)
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/e2ddd8c0d1e5991e89d284c5cd08cbe51dd09494
git remote add intel-tdx
https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout e2ddd8c0d1e5991e89d284c5cd08cbe51dd09494
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64
SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> ld.lld: error: undefined hidden symbol: amd_prot_guest_has
>> referenced by kaslr.c
>> arch/x86/boot/compressed/kaslr.o:(kaslr_get_random_long)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org