From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E6E47C for ; Wed, 17 Aug 2022 08:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660724061; x=1692260061; h=date:from:to:cc:subject:message-id:mime-version; bh=xA3pyXfIFhFP4Vu6qdyg1TVHtuRZcvgrznJgmVfN9v4=; b=m7uvNsotMANWh2+Xv4iR0ibdZV1dJjdkCEwxkICIgEJRcoXodOp88onI at9fcko+0y3PXLT+ONHQT2SxsJJTVIbkVNLMWDqNom/NSGGuezni1Pwmz IhNe5thnltpFUXfsA/Qsu90OG57FHNX/YIC+rEHftJke535bJt1M/LkMS aKL1O33sfWu82yvrcutDC5f6+xvFOjGGyXkusDde8/4tX+OEvGf25xScG 9Cnc7NVfgFmfYBvJyug0xtXP+tk1Z47eVzK0cTpcWr478CEJi+YZUKGCZ 8CNUbmnEWMc5OVRMPAnPY9i29ShEUaZLJXejN/lU+1hA6X3AankE1rsif w==; X-IronPort-AV: E=McAfee;i="6400,9594,10441"; a="272202849" X-IronPort-AV: E=Sophos;i="5.93,242,1654585200"; d="scan'208";a="272202849" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 01:14:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,242,1654585200"; d="scan'208";a="696689612" Received: from lkp-server02.sh.intel.com (HELO 81d7e1ade3ba) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 17 Aug 2022 01:14:15 -0700 Received: from kbuild by 81d7e1ade3ba with local (Exim 4.96) (envelope-from ) id 1oOEBq-0000j2-1E; Wed, 17 Aug 2022 08:14:14 +0000 Date: Wed, 17 Aug 2022 16:13:46 +0800 From: kernel test robot To: "Kirill A. Shutemov" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [intel-tdx:guest-unaccepted-memory 11/14] ld.lld: error: undefined symbol: arch_kexec_load Message-ID: <202208171435.ZwLactew-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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-a015-20220815 (https://download.01.org/0day-ci/archive/20220817/202208171435.ZwLactew-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec) 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/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 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 where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: arch_kexec_load >>> referenced by kexec.c:198 (kernel/kexec.c:198) >>> vmlinux.o:(__x64_sys_kexec_load) >>> referenced by kexec_file.c:332 (kernel/kexec_file.c:332) >>> vmlinux.o:(__x64_sys_kexec_file_load) -- 0-DAY CI Kernel Test Service https://01.org/lkp