Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp995048iob; Fri, 13 May 2022 18:59:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOvFkfDDSbyWsuODZB39/0hddFbjBeqPYHaSTS5mzNZmaJ5HhpSn46nFMaTuZ0G3FgPdPG X-Received: by 2002:adf:e310:0:b0:20c:7894:99ad with SMTP id b16-20020adfe310000000b0020c789499admr6128696wrj.73.1652493584671; Fri, 13 May 2022 18:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652493584; cv=none; d=google.com; s=arc-20160816; b=mGEgS7vryj5ipoXV7hVmibL+5yg7vlP6l4pMkEhaNvyTUp+kpvGjxESwYDJ481zTVO No/dAZYR/A4lwrRWTxoFyY+4FEcPBDYKoAMJhIjCWQKPm1pXal+K+syVgafhreHzb0c2 vYFcUSSKpzIB6Gso5Ud1SO0rW2j6XoI8mbHi7hUZB/FkbbZbswmypo8FvP986xx9xely ofTN3RwigahRKdU9poblEMmTqA8dSMY03tAfmOzOQWZtcJPsAUC2OV89Q6tWoBpE/2AG uIyi2BQD76CNcYCsbfTVWJO0/o8PJah3DkGo0pT1R9u2PjNUWoD5seJ2IN+z/dxV5ERh xnig== 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=3tI3D7hiyyyIzHnssR6gH32RhQ9iCi1PmX8JTdAAbK4=; b=0YC6sRK0/W41hcZwA30iL1uP2sxLsDBWGF43SE9hS4nXkMzd+5qdI45vUt1NxBcgwy yTLNmKmzgzk7ATkMmfV7pjSmNNA01yIZ1R4gOl/0PqCH0NNp5Uu4q7bVNSEP6HyBbdiv jRHWFmY+fhxnPyAwZJK3vUo/SqfDOUuPvpGng9qytu3k0ahtXwr8o8CIVt5p4YRafCEV 1KVm9zGO3ilHqnQyZCbPLy2sTik8fjl/ybsXqCoX2jPXLj2JnTTInrYYGIk/yAqHfQNn lWlh4TlLrLFQXa9py7xCYfosrIax2GwZTGLgKopWJU6hrCtyWJyLimSWqAbgJBlooA+9 /Umw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=FNrcSNRu; 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=fail (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 t7-20020a05600c198700b00393fd1b6527si4144952wmq.211.2022.05.13.18.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:59:44 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=FNrcSNRu; 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=fail (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 D797046F86F; Fri, 13 May 2022 17:21:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379851AbiEMLV3 (ORCPT + 99 others); Fri, 13 May 2022 07:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378094AbiEMLV0 (ORCPT ); Fri, 13 May 2022 07:21:26 -0400 Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D226A4BBAE; Fri, 13 May 2022 04:21:23 -0700 (PDT) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 24DBL5eI005328; Fri, 13 May 2022 20:21:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 24DBL5eI005328 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1652440865; bh=3tI3D7hiyyyIzHnssR6gH32RhQ9iCi1PmX8JTdAAbK4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FNrcSNRu/H684rp9bSyXcSEnsqIndi8Cc+unqqxlbC7K9oAomCj4cnGTQVJCd/2hb 9b7OaMJaaCAbcQKX2fpCrN9YCw8jQm6B6TZmSALO51hED9MfPLMmduJM0EUnQHsoRl ONJgfvVH2S9SCQYJQksfftzTxHsAVsWbiAkR4Q+tDzWnt4JbGxar/zBxVyVj1MYChI jLj6Aaaf+ChkvzBHJl2MPIYDHGT8rkQe6KbYCmXDRrCJ0Xm/c7Zp2eGsylOP4vpzKu bLP5744eETFsrwCANFrkgSRlssSu5FDzb9gc/Z2J6nScOgzqrEqJnd/jEpxs7Cs/Vr sHWLM3BbBKCJQ== X-Nifty-SrcIP: [209.85.214.178] Received: by mail-pl1-f178.google.com with SMTP id d22so7624019plr.9; Fri, 13 May 2022 04:21:05 -0700 (PDT) X-Gm-Message-State: AOAM531Cv4DmWzHbE/EcXOsMojZl4ibMnXjVomWDXqJdRhq/98L19sEL nrKeSVN19CGxbbi8Ema/979uF04DU7pf3RNBNn8= X-Received: by 2002:a17:902:9887:b0:151:6e1c:7082 with SMTP id s7-20020a170902988700b001516e1c7082mr4333904plp.162.1652440864645; Fri, 13 May 2022 04:21:04 -0700 (PDT) MIME-Version: 1.0 References: <20220511164514.2741934-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Fri, 13 May 2022 20:19:50 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 00/12] kbuild: yet another series of cleanups (modpost, LTO, MODULE_REL_CRCS, export.h) To: Nathan Chancellor Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Nick Desaulniers , Nicolas Schier , Peter Zijlstra , linux-modules , clang-built-linux , Ard Biesheuvel , Sami Tolvanen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 13, 2022 at 8:18 PM Masahiro Yamada wrote: > > On Thu, May 12, 2022 at 5:04 AM Nathan Chancellor wrote: > > > > Hi Masahiro, > > > > On Thu, May 12, 2022 at 01:45:02AM +0900, Masahiro Yamada wrote: > > > > > > This is the third batch of cleanups in this development cycle. > > > > > > Major changes in v5: > > > - Fix build errors > > > - More cleanups > > > > > > Major changes in v4: > > > - Move static EXPORT_SYMBOL check to a script > > > - Some refactoring > > > > > > Major changes in v3: > > > > > > - Generate symbol CRCs as C code, and remove CONFIG_MODULE_REL_CRCS. > > > > > > Major changes in v2: > > > > > > - V1 did not work with CONFIG_MODULE_REL_CRCS. > > > I fixed this for v2. > > > > > > - Reflect some review comments in v1 > > > > > > - Refactor the code more > > > > > > - Avoid too long argument error > > > > > > > > > > > > Masahiro Yamada (12): > > > modpost: split the section mismatch checks into section-check.c > > > modpost: add sym_find_with_module() helper > > > modpost: extract symbol versions from *.cmd files > > > kbuild: link symbol CRCs at final link, removing > > > CONFIG_MODULE_REL_CRCS > > > kbuild: stop merging *.symversions > > > genksyms: adjust the output format to modpost > > > kbuild: do not create *.prelink.o for Clang LTO or IBT > > > kbuild: check static EXPORT_SYMBOL* by script instead of modpost > > > kbuild: make built-in.a rule robust against too long argument error > > > kbuild: make *.mod rule robust against too long argument error > > > kbuild: add cmd_and_savecmd macro > > > kbuild: rebuild multi-object modules when objtool is updated > > The first two applied. I will send v6 for the rest. -- Best Regards Masahiro Yamada