[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202210333.fwcQuz3x-lkp@intel.com>
Date: Mon, 21 Feb 2022 03:38:46 +0800
From: kernel test robot <lkp@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [intel-tdx:guest-upstream 2/32] ld.lld: error: undefined symbol:
cc_init
tree: https://github.com/intel/tdx.git guest-upstream
head: b87676dfde7b501c019b1e2c01f4c7ef5c83a12c
commit: 7f8e5b1391350249c5f6810ff425db9adbf6d38c [2/32] x86/coco: Add API to handle encryption mask
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220221/202202210333.fwcQuz3x-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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/7f8e5b1391350249c5f6810ff425db9adbf6d38c
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-upstream
git checkout 7f8e5b1391350249c5f6810ff425db9adbf6d38c
# save the config file to linux build tree
mkdir build_dir
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 as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: cc_init
>>> referenced by mshyperv.c:349 (arch/x86/kernel/cpu/mshyperv.c:349)
>>> kernel/cpu/mshyperv.o:(ms_hyperv_init_platform) in archive arch/x86/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists