Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1583988pxb; Thu, 4 Mar 2021 15:29:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNdRRbOsrAi13kkEhn5xz4dhiNHW5ux9Uv5NxZD48gUkdB5W2y1pp84C1ng3unlD8oA+v4 X-Received: by 2002:a05:6402:b41:: with SMTP id bx1mr6933711edb.69.1614900551544; Thu, 04 Mar 2021 15:29:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900551; cv=none; d=google.com; s=arc-20160816; b=ckP/Cod5mSkx7AmCe7F2w5MnA3AdcazLleJAGRRQ8rl8jqxgMqJD72DxI9lJvjSQfx FmtONPW/LWWalcMlA0Cme8bM4CAgyr9JsoQ1OUkbvCb/gjbK0w5x+i9uh8lamrSUN0T7 7+gj5JGRFdL33VW3JVOyGJwO4ZWkSLVJbuRrYf1UMujS30+trTGSTivYesG2Mkj4JJtD lOS+IzjVXVUjddSdpoGNOl8tWFccZvpgH0tGxi4CmgFA6jo3e6xhO6RNMrNeq/9uxmxa wNVKfNhecnUHWMqaPzs+FNb0ZceGtYXKFDjPHK+0WbEMpyve7s+0xU+v3qVKzrZtnbLX nMnA== 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=xwI88JLj7QwwzS9i8kbM1M0H9+uT2FNL+09oqgaBSK0=; b=uniUQXXawaPjFauUH3q/ZtyRayOH2iU1EfM2G26Z5BVxEOOKMEq6bP2CaDufPg30fG RsUr33iTKnt4kGEDBGqiIRxros8pe18KIQeFJ0qioSmr1Dl9LsvZiFDT4MlCGDR2YCuc 19c4pcloIgyKOLGIf/y+iBnVXJTBIquJpo+KJAE1fI1HnlTmBUjLeRuyYGO97SwfB19o 65PU5bMsM4pKuqb+MJFZmloPn+1cTe0OBNJuFblkHnCHmIgw8m+TOiKE/ZaXtcRI9uhK v1kSZpBShH/Zei2fAX12TyG68wYVNOo9l+weNS7L5iZv+bbThqjlclZ7H7vca3LOUtOQ T0LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NoHdbGu3; 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 k6si599131edj.545.2021.03.04.15.28.48; Thu, 04 Mar 2021 15:29:11 -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=NoHdbGu3; 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 S1353254AbhCDADy (ORCPT + 99 others); Wed, 3 Mar 2021 19:03:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47268 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388020AbhCCUZl (ORCPT ); Wed, 3 Mar 2021 15:25:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614803054; 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=xwI88JLj7QwwzS9i8kbM1M0H9+uT2FNL+09oqgaBSK0=; b=NoHdbGu3S8rKNcTFfTG+CwyTDZQWUzAsbHuc3nrGyInn1sjEYXcHr64JdGOSKu4BOS8qsL afSyOHu3cG1cK+yU9IjLeVbc9HgoViFwu1g51FJ8GIWEOz5amk4QgMTrtViHNZkjjWhGBN sA1gStWhewbaHJaEwdvy25fDOC0VsI4= 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-98-3Pelhp7PNJaKh_HeYk6c6Q-1; Wed, 03 Mar 2021 15:24:13 -0500 X-MC-Unique: 3Pelhp7PNJaKh_HeYk6c6Q-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E805A91295; Wed, 3 Mar 2021 20:24:11 +0000 (UTC) Received: from treble (ovpn-114-218.rdu2.redhat.com [10.10.114.218]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 66B4C60BFA; Wed, 3 Mar 2021 20:24:09 +0000 (UTC) Date: Wed, 3 Mar 2021 14:24:06 -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: <20210303202406.bxgdx5a25j6wc43b@treble> References: <20210302232649.y2tutffhxsblwqlb@treble> <20210303191516.6ksxmng4pis7ue4p@treble> <20210303193806.oovupl4ubtkkyiih@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.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2021 at 11:57:33AM -0800, Linus Torvalds wrote: > On Wed, Mar 3, 2021 at 11:38 AM Josh Poimboeuf wrote: > > > > > But in the meantime, making the plugins depend on the gcc version some > > > way is certainly better than not doing so. > > > > So currently, the plugins already so that. They require the GCC version > > to be exact. If there's a mismatch, then it fails the OOT module build. > > That's not my experience. > > Yes, the build fails, but it fails not by _rebuilding_, but by failing > with an error. Um, that's what I said. It does not rebuild. It fails with an error. The *proposal* is to rebuild the plugin -- which Masahiro nacked because he claims GCC mismatches aren't supported for OOT builds (plugin or not). Your nack is for a different reason: GCC plugins are second-class citizens. Fair enough... -- Josh