reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # https://github.com/intel/tdx/commit/9fb6a741dc8e5c42c78c97b9762686526aa1e04c git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx guest-rtmr git checkout 9fb6a741dc8e5c42c78c97b9762686526aa1e04c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/tdx/