Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2304424pxu; Fri, 18 Dec 2020 09:57:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQhD9vHYo+ZRBh+RQebgpLvpe8tT0KFPGdFET2SPR7vaaLQX+sQ093nXv4kPgv2AlUHAVJ X-Received: by 2002:a17:907:7253:: with SMTP id ds19mr5350144ejc.166.1608314267461; Fri, 18 Dec 2020 09:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608314267; cv=none; d=google.com; s=arc-20160816; b=YCLy6z4tyAEAW1wvrJPwYxKiibUi6ncAaXztPGMaHzcXw866HR2BUuaEGBYecHiKrY kM4b/d5Ol/yi3b3MRm4dhwC9/LjZ8NSAyfgjysBjcaw3JJnAEAacupnICp2m6PdFW6TC 8NcE5vTcdTP4XezPaqA3VKcwqcoiEouyDdB1FsYspVh8+65J3sOCWa3TQxeDWiJgGNC3 2wtYSdn8u57pBYAq9jQrjjP1huxPsZVshb09oAOPLe6RHvmw2qpgdOdx7o2ViF0nt00I KNJ8gb5VYgr/XkDq8HtUcZ7NqUY55JkEom4JOKYenP4FbtfbJAy4/ScqDxMnclAdkMPy xapQ== 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; bh=b10g2p9lft/UmhtwJiz67G2XWjBhcNCBTJqBJz2XXw0=; b=ANiotLj8rVAQvQVaJVGDM3A180TRDWM13zy5xF6aPwX0D9yzwUFdDpRh7M4jy//zLZ GKMuUfUdWV7k5Hrgy9/c1QkU1k+CJULTMiYLQ06etX3dLA10vCujhKFYY04qctr9dHSP hj+Rn5JtLStVDLABslDOWfmBIx+HTTZ621IJNtbrq14e0oKMFAei+ETD2FN89nupIXS8 TBK7aA1ZMvXKbiZAEdlmkcwMYMFZsxT3sTSJXAj/TATozAjTWjT+c0GnvKaiPiYIAf46 IJx35/OhRPr+pg7kIEOQAWAH1Am9ybnVQaJrnmPYoSDcNRM+HmNgljRp8fFhpC7nRasV yo7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DFvI9G2Q; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si7430537edv.53.2020.12.18.09.57.23; Fri, 18 Dec 2020 09:57:47 -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=@linux-foundation.org header.s=google header.b=DFvI9G2Q; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729043AbgLRRzr (ORCPT + 99 others); Fri, 18 Dec 2020 12:55:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727967AbgLRRzq (ORCPT ); Fri, 18 Dec 2020 12:55:46 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0632FC0617B0 for ; Fri, 18 Dec 2020 09:55:06 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 23so7505761lfg.10 for ; Fri, 18 Dec 2020 09:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b10g2p9lft/UmhtwJiz67G2XWjBhcNCBTJqBJz2XXw0=; b=DFvI9G2QV3GE6hgNxpKnSdceMlfY8WGRpcxo+yQ4bfAwz8eIGMGMHsoj9gAEDOrQv6 TR4eRr4EBep4U+bfNin6wuLs2YX0MMYGnkBgaf8mc+rWarMYW/hA0MQ4J0x08fQM1TSY TPdckUkPTHZxUwHmFBA6zpCqxeqf5+bvxnLLc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b10g2p9lft/UmhtwJiz67G2XWjBhcNCBTJqBJz2XXw0=; b=r0oRjjECQVVzbdxzzNVmzGWvxTndH5i36HLLCBePHGgv/Rydw8cmY22hQLnWDDuAr6 AStvFHXJyIixsxPCQT8zYHJt7OqC9eB43AvLsUJCaXX+UKkbgmhanNcy8ojFSggyGyBr M4UIzzC+rQ/ufsh6kaHWtue4/eMe1yFBuwJjRn40oDDoOpsz8Z9rRNLWypx72nw9sCIT l8LltZZfkcP772GtoS+5H0Ahr85G5LaaSlkV/HucJwXaVZ/ARxrANTpObwdIjHiRoX3I cRdQPaC6RWx2WwaX+xmCOrkdbpUZTT5gS7dMvp+SHsCDCjz1VdjPu+fufn8CBb44OskR /wsw== X-Gm-Message-State: AOAM53336isxkCJVCPrKZOA9/E46mpVRvqoBWMgd5TzWWzP3yoSP6CKc VyvEzRxBGtiZ1qpj/dWYx0AR7pLzy+WjEw== X-Received: by 2002:a19:c511:: with SMTP id w17mr1793496lfe.557.1608314103839; Fri, 18 Dec 2020 09:55:03 -0800 (PST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id r18sm997402lfm.184.2020.12.18.09.55.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Dec 2020 09:55:02 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id a12so7556913lfl.6 for ; Fri, 18 Dec 2020 09:55:02 -0800 (PST) X-Received: by 2002:a2e:9d89:: with SMTP id c9mr2380283ljj.220.1608314101731; Fri, 18 Dec 2020 09:55:01 -0800 (PST) MIME-Version: 1.0 References: <20201203125700.161354-1-masahiroy@kernel.org> <9f959875-1a30-b1a1-b626-3805e24a6df3@samsung.com> <25030057-86b1-5619-25fd-acfa0728b850@samsung.com> <4ab4f62f-8b37-01e1-f81c-270155b13a51@nvidia.com> <7e691a61-bf4b-0594-8d6d-36d62a5def0b@nvidia.com> In-Reply-To: <7e691a61-bf4b-0594-8d6d-36d62a5def0b@nvidia.com> From: Linus Torvalds Date: Fri, 18 Dec 2020 09:54:45 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] gcc-plugins: simplify GCC plugin-dev capability test To: Jon Hunter Cc: Marek Szyprowski , Masahiro Yamada , Linux Kbuild mailing list , Kees Cook , Emese Revfy , linux-hardening@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , clang-built-linux , Linux Kernel Mailing List , linux-tegra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 18, 2020 at 7:33 AM Jon Hunter wrote: > > However, if you are saying that this is a problem/bug with our builders, > then of course we will have to get this fixed. This seems to be a package dependency problem with the gcc plugins - they clearly want libgmp, but apparently the package hasn't specified that dependency. If this turns out to be a big problem, I guess we can't simplify the plugin check after all. We historically just disabled gcc-plugins if that header didn't build, which obviously meant that it "worked" for people, but it also means that clearly the coverage can't have been as good as it could/should be. So if it's as simple as just installing the GNU multiprecision libraries ("gmp-devel" on most rpm-based systems, "libgmp-dev" on most debian systems), then I think that's the right thing to do. You'll get a working build again, and equally importantly, your build servers will actually do a better job of covering the different build options. Linus