Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp262586pxm; Wed, 2 Mar 2022 14:54:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6dXLtT0Mgs29NETHjmROuwBvxa5rK0cRmN15RHhJ1uvq97AfogbXkN/OXAhdVSaYkfAHX X-Received: by 2002:a17:90a:604f:b0:1be:e84e:692 with SMTP id h15-20020a17090a604f00b001bee84e0692mr2108405pjm.61.1646261643227; Wed, 02 Mar 2022 14:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646261643; cv=none; d=google.com; s=arc-20160816; b=NhhDBXXzf2E2DDr+5Z97RR+wEDaLRgXLpxErvkhW9CVKSe+44+l6mHgFGd+YfKuk0f TQk3LFptpriOQmp2nTzB8t7l5elI6+cV0uyPam8rQL+4i7CYe8Be/eDfr0eEMJAlw7v+ 56XiYBt7ghAbkwHsbN+CvNZnta8+kKcdHHSWxdEMxrWU+pGJ7K/JId0Y7Ux8Q9GjhPYN teXFPcoveaxDpqiHEbkUfpo+kBIqBPY/mhMJAr3YpJ7qigzTrXQssSjy9iHhHmXF654V th25QveWed4sECP1A8RcUCZig0xEAArjS4jLTFUvz0Zw9zFTa7q32N5uLC/Yp8thwS+q 7NMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=zqg70kwstCu5gT+t3+cGUjQOhW59cu6Bz572aSswpD8=; b=xFHa7VmJG9djiwE5CcJRcUH0XcoX1bI2Tp4DLIquVkeVmabtLAaqZBs5MijUns5mR1 xHojJOXbjXXjpXyUz/FWC5CUpHOVdGqU/HVL07KF7YabLoxQAxRcd6yXcsx5ti5yYJhF ZA2p2/TmG9ZYslsoAYf1rgdTholdI2Dk+jD3sMFxiVrZKTKtiJG0EGZJbb6eVer4IIP3 JZDIbFD0E0F0bBSPqJ089aIOzD6z9a5KsWX6spcW5owVrVYkBDZhOCXLgfG8RKLLldXR 4/MEJcMtW0nyh/eN1ue64bzLHc4dmlmLhJvsSyChlMDxKOIN3Abm8O4kyukSOg1CyZDo Jojg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4uKAxL0; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k26-20020a63ba1a000000b003739acf4e03si366935pgf.152.2022.03.02.14.54.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 14:54:03 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4uKAxL0; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D6C510E556; Wed, 2 Mar 2022 14:42:45 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244812AbiCBVjD (ORCPT + 99 others); Wed, 2 Mar 2022 16:39:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245391AbiCBVi7 (ORCPT ); Wed, 2 Mar 2022 16:38:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 707A23337E for ; Wed, 2 Mar 2022 13:38:15 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 107C9B82259 for ; Wed, 2 Mar 2022 21:38:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5451C004E1; Wed, 2 Mar 2022 21:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646257092; bh=g4DzPR2qSUJXqRfb/f7rxMQQp/kvG6FI0vWSvh2wP08=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=U4uKAxL0L8oPtTpxRl3k9qSWcmRgLrwDFlcFDQmVAIOIWukkufYPCAGM8vuY5K0oQ D87WTw0C1wDlgPfbFZChCR31EbxgLKEY/mPb0+UDcSyv+dqF9B/+3AdVLfcyA+4j/C VTHSoICeNaByN5glbRR2eoHUzvlB69ATNZYSIvtJpN6xghw6p8fkZcf2QT2NnoefYj 5PZ8POvwyxvlaw1Zu5gYBCEVyr4TyLpTyW/i2SKtqXlsXsLSfMyUKsZaOYrqRm3Bs4 y7bm5mk7qLNoCyQ9n2MEizsqkmmzxlyP2b3y2S0hgiVTQcpw08Ha6Xfm0/1ejSTKUJ XRd3/BZXaC7CA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 57C555C08A0; Wed, 2 Mar 2022 13:38:12 -0800 (PST) Date: Wed, 2 Mar 2022 13:38:12 -0800 From: "Paul E. McKenney" To: "Chen, Rong A" Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org 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'. Message-ID: <20220302213812.GY4285@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <202202220308.TNib9D2v-lkp@intel.com> <20220221214736.GE4285@paulmck-ThinkPad-P17-Gen-1> <20220222145349.GH4285@paulmck-ThinkPad-P17-Gen-1> <19aa4b7f-d2ef-b94f-026e-1a0318f7f50c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19aa4b7f-d2ef-b94f-026e-1a0318f7f50c@intel.com> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 23, 2022 at 06:14:52PM +0800, Chen, Rong A wrote: > > > 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. Very good, and thank you! May I add your Tested-by? Thanx, Paul