Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp678317pxb; Thu, 25 Feb 2021 12:10:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRMXCHcKeAP0DtM/hLfDeYmFTf8MydeXfFKZKCZzAnlHV63nnYfItK6ROUc3dxDmevk0Zb X-Received: by 2002:aa7:c98c:: with SMTP id c12mr4831993edt.65.1614283825503; Thu, 25 Feb 2021 12:10:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614283825; cv=none; d=google.com; s=arc-20160816; b=0qlh3O2lu/eWYC2KCkyWpFBzFNa17ILGcqWmosmZpt6RaUXXVVrjnY7CCQnSouO0iI HUEqzQaqxejtufPznE99Eh0tMYsw5oY28fOcxyU6vqWRaLUYsOjF26thqdeG2XvJc9n7 qfTcOp5GQHKyDUnjE6H4mkk+UOgI6GAcT2YnyhEbjhtm9csdwbohpc2U5f0Ej4nmohfR lvki07Uh2Er6Ti4pD9C4d+3zfK1eGvP04N5E2WcrxSqBuE/kec1/KYmlMt8p9cxeCyo9 iHiNxaZGOkB8wA5PGhizIeyIZRlSGgq82IXQeX2zRj0d4gEZPyhR5eotw27lwnqJipWl zUeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=3xVOangCnFZp2qQC/3neIi3ttH7WXnHRc82C0C7KERI=; b=RKZq2xfxXI+kMWN5hq5T1QTVc6O9Mn3YR90KflnTPDHuKd/3C3AyHMTGuQIRfKZ5el L/J8e9mYp7sKbWcKGAid4lC+2AA0hFI6o+I5Vo2R8WmK6yyAxiqCsGAOp2vCh2slij3f 6o13W71pzGdttb6O+ZY3LRSD4nPw0+kQAEPgFrDNG8MKyCR/uPpjkUwLqTP2l59t8IL6 i1gWWHDfYNkdyoQ7a+6ApN9nkqE9GGHbyPyuZxgSyeveQPYUS+VYgXwSxYL6rlnzgRNh w7erAopCM/Gl/I+CG7zGfrVTkd4BsByy2zjism+oA7xBno4ooILjVGw42C8cWpvCjWC9 5QWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=nKvJwgyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si4123447ede.504.2021.02.25.12.10.02; Thu, 25 Feb 2021 12:10:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=nKvJwgyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233337AbhBYUIQ (ORCPT + 99 others); Thu, 25 Feb 2021 15:08:16 -0500 Received: from conssluserg-06.nifty.com ([210.131.2.91]:29223 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231974AbhBYUIP (ORCPT ); Thu, 25 Feb 2021 15:08:15 -0500 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 11PK7K7L022783; Fri, 26 Feb 2021 05:07:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 11PK7K7L022783 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1614283640; bh=3xVOangCnFZp2qQC/3neIi3ttH7WXnHRc82C0C7KERI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nKvJwgyzHqw1X744v4wOdnskQVcWSaxr+0O9GxE4aRwuaBQxJdVwtzlbCJhTx+8zR TR9+fF8IQPKz8LokLWq2n9DfPfGQ74PL8SShuDmR3F+Pxmp4sEgrnCsoOpJ44DNUOq UuQZfXSOk44ikQfceMVW2yZ+KFDgV5HU6Zws52x9of5OHgDBM5HVXUdSY/flZIuXFN hHmh4oPQDc+/Q4k+o1I+j9WMAvAlY1tjLKQMLYEUMPF2wuyDLRioQCf+Ca4sAmSWQ4 o8cFOIdpGGgxCOXkuIc4NRaBGAMudC9Z9s2mG0uLJvdH0An14hapXXh1JzmxdySHIx 9eboAAXHYag1Q== X-Nifty-SrcIP: [209.85.216.48] Received: by mail-pj1-f48.google.com with SMTP id b15so4197032pjb.0; Thu, 25 Feb 2021 12:07:20 -0800 (PST) X-Gm-Message-State: AOAM53363KOAik83JsHYyKps1mlKtO6FZ7TTBn1mkHoWhX7vEqWGZIBZ oyPTrsdaJ4KL2WsoTgcRDb/CtfNclXYD57/lgGc= X-Received: by 2002:a17:90b:315:: with SMTP id ay21mr88171pjb.198.1614283639851; Thu, 25 Feb 2021 12:07:19 -0800 (PST) MIME-Version: 1.0 References: <20210225160247.2959903-5-masahiroy@kernel.org> <202102260245.2UUwdoDK-lkp@intel.com> In-Reply-To: <202102260245.2UUwdoDK-lkp@intel.com> From: Masahiro Yamada Date: Fri, 26 Feb 2021 05:06:43 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] kbuild: re-implement CONFIG_TRIM_UNUSED_KSYMS to make it work in one-pass To: kernel test robot Cc: Linux Kbuild mailing list , kbuild-all@lists.01.org, Christoph Hellwig , Jessica Yu , Nicolas Pitre , Sami Tolvanen , Linux Kernel Mailing List , linux-arch Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 3:47 AM kernel test robot wrote: > > Hi Masahiro, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on next-20210225] > [cannot apply to kbuild/for-next asm-generic/master arm64/for-next/core m68k/for-next openrisc/for-next hp-parisc/for-next arc/for-next uclinux-h8/h8300-next nios2/for-linus v5.11] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kbuild-build-speed-improvment-of-CONFIG_TRIM_UNUSED_KSYMS/20210226-000929 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 29c395c77a9a514c5857c45ceae2665e9bd99ac7 > config: powerpc-mpc8313_rdb_defconfig (attached as .config) > compiler: powerpc-linux-gcc (GCC) 9.3.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://github.com/0day-ci/linux/commit/014940331790a8cd9bee92c7201494ec3217201e > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Masahiro-Yamada/kbuild-build-speed-improvment-of-CONFIG_TRIM_UNUSED_KSYMS/20210226-000929 > git checkout 014940331790a8cd9bee92c7201494ec3217201e > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> scripts/module.lds.S:7:5: warning: "CONFIG_TRIM_UNUSED_KSYMS" is not defined, evaluates to 0 [-Wundef] Thanks. This should be #ifdef, of course. > 7 | #if CONFIG_TRIM_UNUSED_KSYMS > | ^~~~~~~~~~~~~~~~~~~~~~~~ > > > vim +/CONFIG_TRIM_UNUSED_KSYMS +7 scripts/module.lds.S > > > 7 #if CONFIG_TRIM_UNUSED_KSYMS > 8 #include > 9 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -- Best Regards Masahiro Yamada