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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5ACBECAAA1 for ; Fri, 16 Sep 2022 19:00:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 196498D0003; Fri, 16 Sep 2022 15:00:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 145598D0001; Fri, 16 Sep 2022 15:00:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F28148D0003; Fri, 16 Sep 2022 15:00:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id DF87E8D0001 for ; Fri, 16 Sep 2022 15:00:56 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 989C41A1B2E for ; Fri, 16 Sep 2022 19:00:56 +0000 (UTC) X-FDA: 79918865712.06.770E12E Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf23.hostedemail.com (Postfix) with ESMTP id 234E51400C3 for ; Fri, 16 Sep 2022 19:00:55 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2E08C62D4E; Fri, 16 Sep 2022 19:00:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B85AC433D7; Fri, 16 Sep 2022 19:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663354854; bh=IkXR7IGv7I9s0DfvbzgwBDNcq9kvhj0lBv1Me9tAL7A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nwXEJ+ktbEt4JQLhTupfT87a3PWPwAEwiepKV6hdj85uajV48jYfmxTP5JpuuJj9l S4CNBNbtezXZmHhUnzloNaRpAF+WuvWJAPoKJ6YMYmXy+LwSCJQMwcnbA4fEHTl6h4 RVLPc8WCGmj8rZVaL1CjaFS87Ksj8lHnQ5UprpfgJtzeqmBIL/WuGkMAmfojJvXP6B ewY3tysb44uWA/AQmI8pGzo//l8l2YJrGlosWjsLiKt5byhnxZdHx7HaFdMV2KhzGh fPEYFML5HvTwkomL7+fUh4qyykALM4G+3ou6UZ4zuswBtHVmzy7dzsqQ+EbIhbHH1h HROHN4h47BPTw== Date: Fri, 16 Sep 2022 12:00:52 -0700 From: Nathan Chancellor To: "Chen, Rong A" Cc: Masahiro Yamada , kernel test robot , clang-built-linux , kbuild-all@lists.01.org, Linux Memory Management List Subject: Re: [kbuild-all] Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! Message-ID: References: <202209150959.hEWCNjXH-lkp@intel.com> <97021145-ea61-197c-919e-4a3d606547cf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97021145-ea61-197c-919e-4a3d606547cf@intel.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663354856; a=rsa-sha256; cv=none; b=wbRNjPIr7ePgeLzkv4k1tXvBVbpCBiK2ZafaePXW89ykQnv3J3GTYweVSrJfTCmbngXMA4 lTVzHDUnqS4/LY6E2Dhy/IDc3d2VVM2uFBLTMAb9y2T5ul9Be/jvOXbn+yFqpFB/t+Ew0e zh19+5t3fvqu1ARJsXlqqrBTRFK720E= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nwXEJ+kt; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf23.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663354856; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=o3RbeOAftoz3+JfuDVdD6VqSZKp7yIn+zK5e6pXjUbk=; b=r0SPKV/qdzy+U87ZkUkyRldwDJOy9LzqwSMBI2D/TI3Y5+JWNzWmo7NkMOwpVGvvpMAYmj IeKjGHJriy4Jd435QLZX/FARhE21+PPzHSxno7fkL7+V+HuoZX9G0d/767sZ/rqHdaHi3u Avbm0djHlpcZ30V8wTL0jMWyeqWjdi0= X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 234E51400C3 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=nwXEJ+kt; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf23.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org X-Stat-Signature: otm5sguf8cxhh51ss9bty5ry8xzh7qgd X-HE-Tag: 1663354855-749439 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Sep 16, 2022 at 02:37:23PM +0800, Chen, Rong A wrote: > > > On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot wrote: > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > head: f117c01187301a087412bd6697fcf5463cb427d8 > > > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > > > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config) > > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > git fetch --no-tags linux-next master > > > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > # 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=i386 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 >>, old ones prefixed by <<): > > > > > > > > ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > > > > > > > Sorry, I cannot reproduce this. > > Seeing the full log might be helpful. > > Hi Masahiro, > > Sorry for the inconvenience, the error can be found with clang-14, > but no error with clang-15, it shouldn't be a kernel issue. We do still want the kernel to build with clang-14 though so this will require some further investigation. I probably won't be able to get to it today but I can try to double back on Monday to see what is going on here unless Masahiro beats me to it. Cheers, Nathan