From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D7D6C433EF for ; Mon, 28 Mar 2022 03:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237849AbiC1DhR (ORCPT ); Sun, 27 Mar 2022 23:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbiC1DhN (ORCPT ); Sun, 27 Mar 2022 23:37:13 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFD71CFEC for ; Sun, 27 Mar 2022 20:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648438533; x=1679974533; h=date:from:to:cc:subject:message-id:mime-version; bh=/nhVzZTndEO5UdvAZ0KJejGCISp47CW/T46juwN/xBA=; b=LRgDoNXqTk4vmPd/I06hGnNjcqcmz0hZZ/F4oTQFKZWrE1PiKt+7W02Y FLdZlSKFLXzHp6+eSaS96SXSkjw/fOHtiJkeOcC2X7se8kRWE3eIqsPpg 7EdCqpPxRyAOZdcEmdvcirY8Kog/nXnAk6D7FdqUZp0/hohj/7tqVFjU1 LIswu/rx9qMpPp2BOWR5gH8qxLI8GTTz30ZrN90f5E4XKQPzM01ajzRnb WI1867wSHdiwtK89I7rs5RzLsWxrfAH0tmECttnI0EB9qQTpjcDFbg8Ls yzCDfFeNnf8PyHaRSMhsPIdcoi9J2AtiUpdFG5vPJlbhCI4AOJiNxA8rD Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10299"; a="345339785" X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="345339785" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2022 20:35:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="718943574" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 27 Mar 2022 20:35:31 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nYgAE-0001gr-M8; Mon, 28 Mar 2022 03:35:30 +0000 Date: Mon, 28 Mar 2022 11:35:11 +0800 From: kernel test robot To: Javier Martinez Canillas Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: ld.lld: error: undefined symbol: vmf_insert_pfn_prot Message-ID: <202203281125.Jp08egXu-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Javier, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9 commit: a0f25a6bb319aa05e04dcf51707c97c2881b4f47 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled date: 9 weeks ago config: riscv-buildonly-randconfig-r006-20220328 (https://download.01.org/0day-ci/archive/20220328/202203281125.Jp08egXu-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0f25a6bb319aa05e04dcf51707c97c2881b4f47 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout a0f25a6bb319aa05e04dcf51707c97c2881b4f47 # 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=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: vmf_insert_pfn_prot >>> referenced by ttm_bo_vm.c >>> gpu/drm/ttm/ttm_bo_vm.o:(ttm_bo_vm_fault_reserved) in archive drivers/built-in.a >>> referenced by ttm_bo_vm.c >>> gpu/drm/ttm/ttm_bo_vm.o:(ttm_bo_vm_dummy_page) in archive drivers/built-in.a Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DRM_TTM Depends on HAS_IOMEM && DRM && MMU Selected by - DRM_TTM_HELPER && HAS_IOMEM && DRM - DRM_HISI_HIBMC && HAS_IOMEM && DRM && PCI && (ARM64 || COMPILE_TEST -- 0-DAY CI Kernel Test Service https://01.org/lkp