Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1155447pxb; Thu, 4 Mar 2021 04:57:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwG+xrj0uRVzXDPNdLPykim0s2EkPvlYPJePcesY1KrXoGVQ/pjOyNI4lzzDaV+mVh+6nF4 X-Received: by 2002:a17:906:c1d7:: with SMTP id bw23mr3961688ejb.554.1614862650288; Thu, 04 Mar 2021 04:57:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614862650; cv=none; d=google.com; s=arc-20160816; b=UJg8p4iPpBxbsYtyiNDWj9cQxItYWH7lKhJjangjU+MAObU1JmyLzThyiIjJvgaX2S BRPcw3UI97vmKvr3LnWGkEefboDagx6gM2LO+RDTdhxSoJLc9tsQuLZShJz56K/jgh7m aEyx//3kHCuKlJUTtcgCOIiljhfc+r2vqYhKVDSvPCH4w/1p7nkRIdrL7UEAVGQq8n0o 6JCa18BVA75FNudbyrPhpKorXtPq+es0OhrKoqGfh0SDWzlZgPgt1Gi14gzX7byHGw0O WLKBwgc/tRn6V1hz1IqHQFfpEL4Tr4P74OOw/TJfDM2+/1AdZ9QLbSMuzOdIJFQw+SnY UWdg== 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=rp8C696QhKx8WEsv8npjzvCJHKF8U4KwqfIW0LL6UTo=; b=b8EL8ZdxzrOeltw39hOkBbscYy6H1M0qMKJtq5vw5+uIsV9rFdk0aGU6lN0cmhWfkC 8D40cT2sWnshrDpSSUC/mzJRTq/G29EfKrRcPhxfXnh5YKWJ/WMiw0Oi/x4gNft5dwqj +vfJPKG0XdZR5yrujp/x5YyzhgnmTrO3UYcemMIZwmV5bdEHhJ8h+FXv4tvgjZxme8D3 q7pNcxNxFyOseibDlia8pvNcOEzohodu1DJt9UpzWMJC/gkw3YGXEANvBaEuhPF2BIWj nkf0W6nd7cOp8LTwFPtHDlO6aCft5Kzj+wFWQR2+tr9CTIA0ZwlLLypaAnH4FNRqsxlG v8wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pi6r3i72; 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 a2si10143307edy.86.2021.03.04.04.57.07; Thu, 04 Mar 2021 04:57:30 -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=Pi6r3i72; 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 S1353619AbhCDAFT (ORCPT + 99 others); Wed, 3 Mar 2021 19:05:19 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56080 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388037AbhCCUd0 (ORCPT ); Wed, 3 Mar 2021 15:33:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614803519; 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=rp8C696QhKx8WEsv8npjzvCJHKF8U4KwqfIW0LL6UTo=; b=Pi6r3i72j7HR3ZrAoy9duVv3/4e57Br+IeG+iJZ+AzncZ3r7fK6xrP/rJl9H5m0i1/pyQF zaxugn4zH/9CG0/EkPumQ6eKUPjmFJ9IbkBeXG2eq88VmzlhGyT0bFtLJh+VRPhinR8oF4 8eX66NvjcE0sg25Arz8xXVBR2dLmu4g= 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-549-ExOu-U9oO0eSbnF6gui41A-1; Wed, 03 Mar 2021 15:31:58 -0500 X-MC-Unique: ExOu-U9oO0eSbnF6gui41A-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 42B5C514A; Wed, 3 Mar 2021 20:31:56 +0000 (UTC) Received: from treble (ovpn-114-218.rdu2.redhat.com [10.10.114.218]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A645360BFA; Wed, 3 Mar 2021 20:31:53 +0000 (UTC) Date: Wed, 3 Mar 2021 14:31:50 -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: <20210303203150.jwupthv6siil6tn2@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: <20210303202406.bxgdx5a25j6wc43b@treble> 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 02:24:12PM -0600, Josh Poimboeuf wrote: > 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... Or was it a nack? :-) Reading your message again, I may have misinterpreted. Put simply, should we rebuild plugins when the GCC version changes? -- Josh