Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3893387pxb; Tue, 26 Jan 2021 07:21:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzU0rWc+LCcDXKSwvaEgRwjRqoyvv7WC0EqSRm79wlE//PqUAUyzCSq/bEj5Y7JRGltQbE X-Received: by 2002:a17:906:7f98:: with SMTP id f24mr3717693ejr.75.1611674510914; Tue, 26 Jan 2021 07:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611674510; cv=none; d=google.com; s=arc-20160816; b=X1Lu/UdBzVDJh0QjCdHPYnEIkgBV78JQD06H6Ay2QhRIqApaEWYn6Fgl2EsuqFzOok hFOBx96NGB23t/PQgjj1uNQ9yPXs9lUgAtT1IA0mc5Tz+p9wb01fYqs/HOYHyD0fa2HJ fjPRQ38DZh64kzjOlWWyTZu6Yvr6v16XeoPok5Qz3oCX64OlrXLJaZoMpNfYpvEpoXGb 1PJBzo99hveNiGRkcRnwN5cjZ4kt7cdi8Z/gc6Rbppx/4Pp23rkO2wtY5qL9euntslLy fvSk+8n1Hk6dnccr06zAjp7UMhPQTGxUybHymh3Q93KmznaS8Xf0VwmW5ZUJWCOcQokY hgVg== 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=9IyfDUY9gRwkXrwY1oV4vu/+hGxopMEms5A7OVkxUio=; b=MPL6qRmE1mRGZuX01cy6punAOknLWXAW24tQWe8CPJct8PnuIQwg4apGbB+3tIF0hT I6hWJ4bl43SSNynpr16AcHPttXVvLVXb+uMTqbiATooWMTaJyz5vq/jwc19gpo7Cf1sp qyH6D/w1ELuMCi/LsCvs0q+JzO2DAmaINWpyE26ZyA6E9C+Su5SN5wyCVT8W/zSJo33P iTbJ0cl17Qv88UKM/4fbNcmbab+ttj2Hkzsf1xLHebpjikVBWyw7k1Om7y9TNbfiwCAt rF6RNifSOZ0JvBPan0Jdu5B1RaTjwRoudWv+rfkkaxb8Sej3SKkdLwyuVTh4ZJnGEdjL U6AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Y2BMhbsg; 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 l5si7198114ejd.408.2021.01.26.07.21.25; Tue, 26 Jan 2021 07:21:50 -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=@infradead.org header.s=casper.20170209 header.b=Y2BMhbsg; 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 S2392207AbhAZPUk (ORCPT + 99 others); Tue, 26 Jan 2021 10:20:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390639AbhAZPU3 (ORCPT ); Tue, 26 Jan 2021 10:20:29 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF415C061A29; Tue, 26 Jan 2021 07:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9IyfDUY9gRwkXrwY1oV4vu/+hGxopMEms5A7OVkxUio=; b=Y2BMhbsgvYx926tj96xAEKz7yz 8jK7gNSal72u30y2DwQWb+Kh2GIL7BjjMkXXz/C7hV2sc0mk+f7AZAi0P0XdwTOi8rcsO486yidly sBLkNALeLzZjVbAQDmG3A9dgLDiUyCdFHA+joVrTqcwapPjjG4dB32JW+wdBYH+SugaFIGcqHZ225 BPxFf2GuXXbKens4VxEsDwXEDnzYg18z3zg4dV0QtS0xhhsvAn9wnLtsczmDHNtlw4jfkH5ogkYxI LtezdWH92r8nEgY0X/QOBUDkxsfrAbfF+Vhdj2ciCK55TaGET3hZ4x1ilVLgtw4o6VVJiHRk6p71k an8Dagng==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1l4Q4A-005oH1-8h; Tue, 26 Jan 2021 15:16:38 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 69F683019CE; Tue, 26 Jan 2021 16:15:37 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4CA882144C091; Tue, 26 Jan 2021 16:15:37 +0100 (CET) Date: Tue, 26 Jan 2021 16:15:37 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: Greg KH , Justin Forbes , Masahiro Yamada , Kees Cook , Linux Kernel Mailing List , Michal Marek , linux-hardening@vger.kernel.org, Linux Kbuild mailing list , Ondrej Mosnacek Subject: Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules Message-ID: References: <20210125212755.jfwlqogpcarmxdgt@treble> <20210125220757.vxdsf6sttpy46cq7@treble> <20210126145155.kcfbnzfqg5qugvcl@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210126145155.kcfbnzfqg5qugvcl@treble> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 26, 2021 at 08:51:55AM -0600, Josh Poimboeuf wrote: > User space mixes compiler versions all the time. The C ABI is stable. > > What specifically is the harder issue you're referring to? I don't think the C ABI captures nearly enough. Imagine trying to mix a compiler with and without asm-goto support (ok, we fail to build without by now, but just imagine). No C ABI violated, but having that GCC extention vs not having it radically changes the kernel ABI. I think I'm with Greg here, just don't do it.