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 9BAA9C433F5 for ; Wed, 23 Feb 2022 10:14:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239516AbiBWKPZ (ORCPT ); Wed, 23 Feb 2022 05:15:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239507AbiBWKPX (ORCPT ); Wed, 23 Feb 2022 05:15:23 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D5738B6FF for ; Wed, 23 Feb 2022 02:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645611296; x=1677147296; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=GEeRFSShKzYY8tFuEfoPFCgJneXpRJu3TdpZNO2m87s=; b=Jycp59cmnVofMf/WANnGadP/oI/B1L7/CmjI/4beCt6KYe5am5vMktXZ YAoS0vUXoaqkW0FaQAUTxDPG+Ejxnw3mYvP8jQwSiuCIjhGRs8Rd9v1jH jUODdZgUN/p9XuD6egfhygO8+qSR8SZKqfuTxY2OTtOWq/I2/Sg6zvtm0 S81KxYIKedFn1HHlmSvVs+ZIaetBRonfDeJg2fXDtYuejLk/HuiSqyA44 HH817hVxwbwUHRL+tJ5XxPmU++YPb8Dk8tFDhq0Qj6/SgUcplwHpajdzn lhPbylqiJmFQjx44tbs8xBSET3PE5295VWpgmn18cZSZE1bOtSiqvJ10B Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="239319750" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="239319750" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 02:14:56 -0800 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="505859818" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.249.171.198]) ([10.249.171.198]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 02:14:54 -0800 Subject: Re: [kbuild-all] Re: [paulmck-rcu:dev.2022.02.17a 73/73] make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'. To: paulmck@kernel.org Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org References: <202202220308.TNib9D2v-lkp@intel.com> <20220221214736.GE4285@paulmck-ThinkPad-P17-Gen-1> <20220222145349.GH4285@paulmck-ThinkPad-P17-Gen-1> From: "Chen, Rong A" Message-ID: <19aa4b7f-d2ef-b94f-026e-1a0318f7f50c@intel.com> Date: Wed, 23 Feb 2022 18:14:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20220222145349.GH4285@paulmck-ThinkPad-P17-Gen-1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/22/2022 10:53 PM, Paul E. McKenney wrote: > On Tue, Feb 22, 2022 at 04:30:40PM +0800, Chen, Rong A wrote: >> >> >> On 2/22/2022 5:47 AM, Paul E. McKenney wrote: >>> On Tue, Feb 22, 2022 at 03:05:27AM +0800, kernel test robot wrote: >>>> Hi Paul, >>>> >>>> First bad commit (maybe != root cause): >>>> >>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2022.02.17a >>>> head: f5b2eaf791ebbd6af881947ab7c40ed70681e534 >>>> commit: f5b2eaf791ebbd6af881947ab7c40ed70681e534 [73/73] EXP torture: Add tests demoing SLAB_TYPESAFE_BY_RCU >>>> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220222/202202220308.TNib9D2v-lkp@intel.com/config) >>>> compiler: arceb-elf-gcc (GCC) 11.2.0 >>>> 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/paulmck/linux-rcu.git/commit/?id=f5b2eaf791ebbd6af881947ab7c40ed70681e534 >>>> git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git >>>> git fetch --no-tags paulmck-rcu dev.2022.02.17a >>>> git checkout f5b2eaf791ebbd6af881947ab7c40ed70681e534 >>>> # save the config file to linux build tree >>>> mkdir build_dir >>>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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 >>): >>>> >>>>>> make[3]: *** No rule to make target 'kernel/rcu/typesafe.o', needed by 'kernel/rcu/built-in.a'. >>>> make[3]: Target '__build' not remade because of errors. >>> >>> This is the only commit involving kernel/rcu/typesafe.o, so... >>> >>> One the one hand, I do not plan to upstream this, so maybe it doesn't >>> matter. >>> >>> I have been building this using the rcutorture scripting for some time, >>> same RCU-related .config as you are using. But when I pulled it into >>> a clone in a neighboring directory, it failed just as it did for you. >>> The problem was that the update to kernel/rcu/Makefile somehow didn't >>> come across, so this line was missing: >>> >>> obj-$(CONFIG_RCU_TYPESAFE_TEST) += typesafe.o >>> >>> Which of course explains the build failure. >>> >>> I blew away that clone and re-cloned it. And it still failed, both >>> with "make" from the commandline and under rcutorture. >>> >>> Hahahahahahaahaha!!! >>> >>> I forgot "git add kernel/rcu/typesafe.c". >>> >>> There is now a new typesafe.2022.02.21a tag with this file added. >>> >>> Good catch! That file happened to still be lying around. The first >>> "git reset --hard" would have destroyed. Thank you!!! >>> >>> And with that fixed, my clone now builds correctly. Does this fix >>> it for you? >> >> Hi Paul, >> >> I can't find the tag 'typesafe.2022.02.21a' from https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/refs/tags > > That would be because I failed to push it out. :-/ > > Which I just now did, apologies for my confusion. > > Thanx, Paul Hi Paul, I have tested the tag, yes, it's fixed. Best Regards, Rong Chen