Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp615619ybl; Thu, 12 Dec 2019 02:01:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxpJTU7eAuRxh/cAB9zq8+u0Udivec9p39t7JjM8suzzpqosr8pu3owSksFxQ/m8qgqQyA2 X-Received: by 2002:a05:6830:12cf:: with SMTP id a15mr7322562otq.222.1576144868258; Thu, 12 Dec 2019 02:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576144868; cv=none; d=google.com; s=arc-20160816; b=kvt9+BymUdofvp2cSjOY3sOvuxpLnTab2p1De65ewGN7WasGoKVz+/N7bmpfZdvsEb msZLbRxnullNxGKKb5ggjCDbTnpBRwufEQj8f7PoARPzGAyTTvH1mdznn+ghLkpZudFs kBlOSVf4PIGXpsKaqqbwEFe312ZTZl5aVtGr8qqGPo8AfgMOVZXVvEh4kzJkWuLu+Ck/ Y1qdfYrfdeFkEpdTnExzgGWMu+Xkm35Iz8TVCc3331Gelx/6GC49F/2P/+BU7+3j5mU7 DMCGJoHT8I6pYq2MaLCKlrwiSuHPP4KI5fGojSF0Cy7wu8xxjcgcUivwnicHSSwfUqgL yOXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=c/eWEOdwnrznNxPc95HOY6onE4WbW9zY0FTwNvom0tM=; b=zAnPc/dDbFosoTxVRYL/e/fIZZPgClNNWZXXwr9wfb/PIf8MWwhxldv+MALMDC1eK8 lKKEkQls4QW/Lx3P0kfvxRvtUn9XlWdpprf1rnsTIzv6bRVp+c5TAyGit0SHCYXO2hES RuWCUK4orAnYUzFa9fNjkvl8zfWzeScuIB/UlgZO29ZXDbAvmaMgdAGY2FjhMGL+n5dQ 1eULraqBs2y0sEDpp/sRPIFlaixX1BNpAs/iSagvgza3UEVlO1sc1hnZNs62m0wdOyJ4 lITWTeGg41sXRV6QQSx72KB/12aKrUjhYg2KVAoG733ELKstTyM8+pjuJ4RBdq5cMuWh x3wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p186si2892642oih.172.2019.12.12.02.00.55; Thu, 12 Dec 2019 02:01:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728420AbfLLJ77 (ORCPT + 99 others); Thu, 12 Dec 2019 04:59:59 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:39529 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726382AbfLLJ76 (ORCPT ); Thu, 12 Dec 2019 04:59:58 -0500 Received: from mail-qk1-f178.google.com ([209.85.222.178]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MCKO4-1iW1bb104o-009Q8A for ; Thu, 12 Dec 2019 10:59:57 +0100 Received: by mail-qk1-f178.google.com with SMTP id c16so1105160qko.6 for ; Thu, 12 Dec 2019 01:59:57 -0800 (PST) X-Gm-Message-State: APjAAAUGFLMuch5FtqIABl8SApGOUe234TkelxPQ5Ehpbc15lp/AER90 61GZZkJat2QH8U6X0uamtETYIKDVhdBHuQvElt8= X-Received: by 2002:a05:620a:a5b:: with SMTP id j27mr7290911qka.286.1576144796165; Thu, 12 Dec 2019 01:59:56 -0800 (PST) MIME-Version: 1.0 References: <20191211133951.401933-1-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Thu, 12 Dec 2019 10:59:40 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] gcc-plugins: make it possible to disable CONFIG_GCC_PLUGINS again To: Masahiro Yamada Cc: Kees Cook , Emese Revfy , Ard Biesheuvel , Andrey Ryabinin , Kernel Hardening , Linux Kernel Mailing List , clang-built-linux , Andrew Morton Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:Qent4lNFQ6ARoh82HDB/40srRr3gEjckt6+ish88EHx6OMqzXDH YhYf1Ogb4CtGkHNSrYdsLgzuP8PTXPExliWxzTreJYccZ5240JYfLtwkyGrKaI1/agfDbvK Mo6RSI7RbdJ1qRTplIj2bj/6/1ShVkOyGf1H8XzWe/CyQMAdg2OZbW1jH2ubEHBSyAfqZR1 7taNjil9kypTaaSnmkuBg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wHuGgxaTWUQ=:AvhxGCQvFM/CbMwwOQ7qIX AWS7AXlABEJ6pqjgDnfbO/1ZuJhlXVPFs5w1D5ucxvxDfFn48hxx9HjFQCjI7FEJmgJvBdMS7 ULgN6UL4ms54Fc/744Ry9J0sPWRCEHasgj3y5qQwykAvBCk/AXCTDBAgAN4rTu6GC+tSLOMBm N7WEmVjjHGqGBjYy15nfgEV7yYZkrqH8DvR0Mt7UXoTKM6EJyg1XScBi29umd7rhsiwjyA434 uJD1BwqtmWQQ2701odULqzlU2IEpSdLQHKacuuvHX3ubn/jXSc5C6/mELt95dGd6dxOFyfdQj gZfb5hf/gHmQoZidCWd7C6T7N6PMpQKxTqOtCn7386dA0ndsJpI9xoLp4+gK1d4YNXpAgHxhb 7CyuwKqK1yHnddYjMJZIu2vj60W/u/qDv0xr588PSDV87HVTo/ttsaIht7u2aMrxK5u9Cfczi iOZuDxmPBeY7uiDdWy3gHS9RaZKZGCrkyeowyRnZleB0hk060sFXVZ6HfgcLa6TGxUL/tvITc nzpHV7Z+6Kn1ZexiVLfnzwAnSwAjZPKA1T2bWlGfhqwEDhxObcPV46wTK9XXGUQgr1FOo5Hrl cexSwFO1vIQjaksj10+h2uF8W4FGUg0OmCupxyqFJp9T42PsXWyMu2shHjUADRiTSzb3iZLhB VbPgyc8nRTK4rLW/lebCjVxiEj0K+9mRkBOcwnALiaUK7hCWv+7Kttc4EaNbwJCSYTkbw172d B/qkvJS/QQmg3hXuOjtwKNcHRrkR0VOXALaYLzGl2sDSOoGRJFHvRMhB4za2j/3AKZI2wGftd /p2j+F3zN4hON7g/R2Oqx2wjgMhNoWLr/22uh0hLfBb62w6oEH7hlpPRrAC7ukj1hJWwOlJ9y AFWX5iAMJDjH4tqrzOOg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 12, 2019 at 5:52 AM Masahiro Yamada wrote: > > On Wed, Dec 11, 2019 at 10:40 PM Arnd Bergmann wrote: > > > > I noticed that randconfig builds with gcc no longer produce a lot of > > ccache hits, unlike with clang, and traced this back to plugins > > now being enabled unconditionally if they are supported. > > > > I am now working around this by adding > > > > export CCACHE_COMPILERCHECK=/usr/bin/size -A %compiler% > > > > to my top-level Makefile. This changes the heuristic that ccache uses > > to determine whether the plugins are the same after a 'make clean'. > > > > However, it also seems that being able to just turn off the plugins is > > generally useful, at least for build testing it adds noticeable overhead > > but does not find a lot of bugs additional bugs, and may be easier for > > ccache users than my workaround. > > > > Fixes: 9f671e58159a ("security: Create "kernel hardening" config area") > > Signed-off-by: Arnd Bergmann > > Reviewed-by: Masahiro Yamada On Wed, Dec 11, 2019 at 2:59 PM Ard Biesheuvel wrote: >Acked-by: Ard Biesheuvel Thanks! Who would be the best person to pick up the patch? Should I send it to Andrew? Arnd