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 2E5F4C433F5 for ; Mon, 21 Feb 2022 21:47:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235003AbiBUVsD (ORCPT ); Mon, 21 Feb 2022 16:48:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbiBUVsB (ORCPT ); Mon, 21 Feb 2022 16:48:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E693022B33 for ; Mon, 21 Feb 2022 13:47:37 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 88E5960DB6 for ; Mon, 21 Feb 2022 21:47:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E98BAC340E9; Mon, 21 Feb 2022 21:47:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645480057; bh=lFo4uaQ57apX48ybZ9aYdX8E9OLwmsx1YY4p2+nXIxw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=ZRhULuVFN9qS19NvfHpEk++uD/IqnMsZKIAEq1So6MdC3ENUygPWvGAIV2sNaJLNa vsNK3GLNtdh4xowHjpn9cykenUKJPCUNs7C7JY4U8tqKLFFur1pbmsIU94uo0OdVbZ cCPOj0G5fZl6tcabRS3P9gSdoTpoAG1xHHJlHNFBxy+Fdxi3smANzV/kIEbRMGM8vR HxoX4WjJsBAdAPghWbkwoc9Fcx4C3SCnMd2eowUDLTgTgCTIkEDlA2w7hCqjYlAdAk C9QKb+gKulZlCaAlG0d5KGnDxnRmMBHyAnH5/4gL+PdsqwB+PX2tZYsQmg0u97AHrw TBizLJKYcsYcw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BFF505C098E; Mon, 21 Feb 2022 13:47:36 -0800 (PST) Date: Mon, 21 Feb 2022 13:47:36 -0800 From: "Paul E. McKenney" To: kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: 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: <20220221214736.GE4285@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <202202220308.TNib9D2v-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202202220308.TNib9D2v-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanx, Paul