Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1168590pxb; Thu, 4 Mar 2021 05:15:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzufTeslk2UleZDUtcZm7dse8qzdZpFs6WDGRINlldQcIUtMtjxrID/pZBVyWybBIPhKuS X-Received: by 2002:aa7:c447:: with SMTP id n7mr4151135edr.171.1614863705744; Thu, 04 Mar 2021 05:15:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614863705; cv=none; d=google.com; s=arc-20160816; b=U084A+JauBEGk8J4beBtNLXQcBxn7849JRYgkTopX13U5LAqQ34EgP/UX5iCZCSqdX vNoYu0lyhQgkHPAwwDf3nx5xH3wXH+P/WuGWnYoPepAPLpzV6xixgErfjAGhsgZx8p4b CfGH0v1amWupgq/66YDTl91yzgMtR9zZutedyOknh9nfO7ePbziYtW0rIc7UkAWKnIS2 Sinn6eCmF7+N2kpujooRRC/3sy02QjmS9bO6Zl7FTyifK9DxcuBEvoBr7tom5VRpPytU k+V8w0usnCVfPI9p8Z+m5kwNHbvxjvrKPuhI0AXw9YlmEI4PTZlsxXlulSmD6ZBH8rkW 3/AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/LUNLY/w0+Bzk+kXfX0uauiVFlX2RwNcK9iVLBJ9IPA=; b=VnWvT5gWZw8NfWK665hLMbjzvjD/KISmRQJMFRGxTw9RZ+uiqL73Iec3jYCHhCMl7U YgvANG8eS32ThaANRaA6mQOk3k+iXm7f4fQBdzcL2hfo8umUwdj2FbAKbPLUOV1hPw6p E99hOxK0ufeGmDvkDgR8F18nVsbo8UHQAAXu918msps6YzJ5ya++xtGd6HZ082YA1vBA o432yyfVB0DrxaGsHHLjU/Q0gbUK7cEvSVju/npY8f0u4NYKa/4kj3jcleWMhfkwga6V xWjYPV/qqh4DB1G2Qyjae6QtBjoCHydpOzTOdCKf1B8fUcIQtJQPKvACtwBXWaPNfuW6 vwBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="dg5zI/zy"; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si17020276edq.252.2021.03.04.05.14.42; Thu, 04 Mar 2021 05:15:05 -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=@redhat.com header.s=mimecast20190719 header.b="dg5zI/zy"; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235870AbhCDAHq (ORCPT + 99 others); Wed, 3 Mar 2021 19:07:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45856 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389804AbhCCVrP (ORCPT ); Wed, 3 Mar 2021 16:47:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614807945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/LUNLY/w0+Bzk+kXfX0uauiVFlX2RwNcK9iVLBJ9IPA=; b=dg5zI/zy3aUNkARrmQIj+ylWwpGy0D7Qie0G2oseLUZHDEZbqUtIDbx5NAYLR5RQv3drkC 3/uTYgnrPx+VkNAM8yrNy//s5H/2Boi2d3I3b8QriJ0/j4n+ieCVbneU2Zs9As4mauvuZ4 PBwYgrFtYmfK9GmC2WPtus5QPBJLN+E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-475-xR35m5hIMDWHSE7CU3j2Fg-1; Wed, 03 Mar 2021 16:45:42 -0500 X-MC-Unique: xR35m5hIMDWHSE7CU3j2Fg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3C6CB1E561; Wed, 3 Mar 2021 21:45:40 +0000 (UTC) Received: from treble (ovpn-114-218.rdu2.redhat.com [10.10.114.218]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 75A435D741; Wed, 3 Mar 2021 21:45:37 +0000 (UTC) Date: Wed, 3 Mar 2021 15:45:34 -0600 From: Josh Poimboeuf To: Linus Torvalds 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 Subject: Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules Message-ID: <20210303214534.guyoxcwrgxgcqzy4@treble> References: <20210302232649.y2tutffhxsblwqlb@treble> <20210303191516.6ksxmng4pis7ue4p@treble> <20210303193806.oovupl4ubtkkyiih@treble> <20210303202406.bxgdx5a25j6wc43b@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2021 at 12:56:52PM -0800, Linus Torvalds wrote: > 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_. Thanks, reading comprehension is hard. I realized after re-reading that I interpreted your "plugins should depend on the kernel version" statement too broadly. Masahiro, any idea how I can make the GCC version a build dependency? -- Josh