[intel-tdx:guest 122/136] ld.lld: error: undefined symbol: swiotlb_hint_cpus

From: kernel test robot
Date: Fri Nov 05 2021 - 03:07:40 EST


tree: https://github.com/intel/tdx.git guest
head: 12f4800ff5dbe89a642744796008f89f23b2e446
commit: 200e6caad3e4ac89bb2097d4d21425eabac46eea [122/136] swiotlb: Split up single swiotlb lock
config: i386-randconfig-a014-20211102 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
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/200e6caad3e4ac89bb2097d4d21425eabac46eea
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 200e6caad3e4ac89bb2097d4d21425eabac46eea
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: swiotlb_hint_cpus
>>> referenced by boot.c:1134 (arch/x86/kernel/acpi/boot.c:1134)
>>> kernel/acpi/boot.o:(acpi_parse_madt_lapic_entries) in archive arch/x86/built-in.a

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip