Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1158374pxb; Thu, 4 Mar 2021 05:02:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzw4bfGc9ucHDe6p09LWLClm//Ebf1QkG42Rf9/2KiaWRgrpsswDDAAr5Njarw65UmBOKpT X-Received: by 2002:a05:600c:35c1:: with SMTP id r1mr3904900wmq.143.1614862927247; Thu, 04 Mar 2021 05:02:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614862927; cv=none; d=google.com; s=arc-20160816; b=ZYcNJkcSPKSw6uTDlTdw8tnHAJHtTrxEbJdyWa47E01k5oqbiNULm6+mEDCHJnkUcN eBTY9J3xC+Unu1azCt6OisRJNSwXz1tKcHsaFbXkx9vKcudPRamdlrCTQB4fDwn3Wlsv uWkawrn58mvV6wxlmlKmG5O0hfuBMjK6HR0P9pVpTI4dYVgCgT8XkLouoTn+fZWJ09/h m2AAIhLY34qr1w7aNVQJlCFQo6k3z8puoLoE5fzUxU1fdtgJqfazjoEg3upte4DIjNu6 ge5s7LQF+pg4CUO6sv9CC8i01Jya/nku+XBYrf1GWkT0AjGypTZZ8ibVCoDK4JgQhGkR 52gQ== 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=jRuDUUKixXJZDP0HjES33qad4zVN4t6lxUgDAY1T79Q=; b=0jeug9ZqsdXPvap0q8Qp+P4V0cJq8O17u0hyWPl+RBKAPlywuKRpz3QTnPhDJj+61J 6MPxA3KiFJ4dNNm2BlEEzLGefWWr93wytijYpDMMpWhb7yQ7oo4zylsH4F5ucsD4Q/KM ia7a/cLgGnf0IyISa85C9/g9Euwuvamucc4Ysawa2s+hrcOCTiA7fAm3lXEnZAiNIq2T ropRdgikcLKmYEuAfRPtNX9dfmEJpRCo0t9oWop2FWXSaDyhqsOLhDEyXrOrW1LCr5oR X/Ul9YUzAhRK21EKZJJa3oNm81rxO9grB6Kg9Jt7OmM29NeAl685IsYWQ8Ld25oanFOc gJ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="QNwL/lnQ"; 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 y23si17983202eds.278.2021.03.04.05.01.44; Thu, 04 Mar 2021 05:02:07 -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="QNwL/lnQ"; 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 S1353931AbhCDAGT (ORCPT + 99 others); Wed, 3 Mar 2021 19:06:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232971AbhCCU6M (ORCPT ); Wed, 3 Mar 2021 15:58:12 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 757F9C061763 for ; Wed, 3 Mar 2021 12:57:11 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id y12so17597789ljj.12 for ; Wed, 03 Mar 2021 12:57:11 -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=jRuDUUKixXJZDP0HjES33qad4zVN4t6lxUgDAY1T79Q=; b=QNwL/lnQ6xUnUJftFOjYj8S9SK2GrudH3yjL3FFeYEI36t+HVCk0ahbgAXK7QMT1q/ d7s7AYb2jVr536dyDslgA1cJdUs4S/uosw+QeGO4MUiZh8yb3HqGGqPuVwKJQLGPWteM NqzmXkjI8rx2WgJHgIn7NY19N0J8VPem+YCDg= 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=jRuDUUKixXJZDP0HjES33qad4zVN4t6lxUgDAY1T79Q=; b=aBp5WAmIgedha86Dqb7P+kQMdawnarEpPWIBgzYWRwwyTeLKFqV/ttwmJWkYYSBMaz T3RnImUBSs9VCevYHI7NQrjCBTDZP4ZmaqtsS3XxA6HakEq2uCIn+HG8IjWIFT+OyuRH l4+r5nPZZCxyqnmK5poPKOJGJjHZNCMUuUCBHdK6nuYku6BEytuiCTcyaGRG1GvWfiS7 UuRpvK6kkrnLD9UxTERzUcGYN6n6MtkIXXrkCmXXAYv2o3GPdzrKhb8EPsbpQMIpye0r NhmsWyY24804OBAlz5e/UIv21m9xaeuFlZ5xHronf8zXGb7vdx41ssQTh9s0mHlVdPXD BdYQ== X-Gm-Message-State: AOAM531yaXCYiFYfnYBQYYyKaG1WNiE0nvlvyIyeTtEDGkBA9XK3v8Ry 5NHCg1SaoNcOYIUfqh3jPdaE3qREb7P9ig== X-Received: by 2002:a2e:9d13:: with SMTP id t19mr412213lji.119.1614805029663; Wed, 03 Mar 2021 12:57:09 -0800 (PST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id w28sm1951184lfk.185.2021.03.03.12.57.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Mar 2021 12:57:09 -0800 (PST) Received: by mail-lf1-f50.google.com with SMTP id p21so39350460lfu.11 for ; Wed, 03 Mar 2021 12:57:08 -0800 (PST) X-Received: by 2002:ac2:58fc:: with SMTP id v28mr305345lfo.201.1614805028665; Wed, 03 Mar 2021 12:57:08 -0800 (PST) MIME-Version: 1.0 References: <20210302232649.y2tutffhxsblwqlb@treble> <20210303191516.6ksxmng4pis7ue4p@treble> <20210303193806.oovupl4ubtkkyiih@treble> <20210303202406.bxgdx5a25j6wc43b@treble> In-Reply-To: <20210303202406.bxgdx5a25j6wc43b@treble> From: Linus Torvalds Date: Wed, 3 Mar 2021 12:56:52 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules To: Josh Poimboeuf Cc: Masahiro Yamada , Linux Kernel Mailing List , Michal Marek , linux-hardening@vger.kernel.org, Linux Kbuild mailing list , Peter Zijlstra , Justin Forbes , Ondrej Mosnacek , Frank Eigler , Kees Cook Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 3, 2021 at 12:24 PM Josh Poimboeuf wrote: > > Your nack is for a different reason: GCC plugins are second-class > citizens. Fair enough... MNo, I didn't NAK it. Quite the reverser. I am ABSOLUTELY against rebuilding normal object files just because gcc versions change. A compiler version change makes zero difference for any normal object file. But the gcc plugins are different. They very much _are_ tied to a particular gcc version. Now, they are tied to a particular gcc version because they are horribly badly done, and bad technology, and I went off on a bit of a rant about just how bad they are, but the point is that gcc plugins depend on the exact gcc version in ways that normal object files do _not_. Linus