Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6019505rwb; Mon, 14 Nov 2022 13:01:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf6QAZIe3MjK3ZhNwggq4bx1loSHeC4pykN6aUDhRsGQJjImEtbZ8eMeX1pShkQ93J5eIHur X-Received: by 2002:aa7:c396:0:b0:467:2efc:a984 with SMTP id k22-20020aa7c396000000b004672efca984mr12562257edq.245.1668459685427; Mon, 14 Nov 2022 13:01:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668459685; cv=none; d=google.com; s=arc-20160816; b=c+VnJ8Iii4jdp/nfu2uYOOHHzuSGpZx/hQKAyv0VJeUYmWBYjnd9MNUDnIvx2LZTyv W961o5OwV8YBzWXdxLiKRz6E0xOPwEsX+LVLqsGsgTMNHrgy+Unh+PdWp9+zWPSpgx6L YaHFUSXAzzNLIR7VAH9BUtBY2tsqcMI/n6WZ8J6BEWOkMeBqy6yOHphssM43uOt69xqC lFcztUnX0eMI+6yWSUWNjjT+jetN8IMXW5E00LxL/UcvCiBKHrZGvynp1vNcdNHndDdC fKUcAkQRI7ZfZD/+TcE3HWvIhsgxM0+ZH4P3TL/wTm/0a0x5wXVbopfnIVrDRqNAUcHg SH3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rJfzL4hxjE73MxtvZc3TiK31dxiVlEE3h1GHzEe+MOU=; b=D7B7Ly4iTXTBUhOskd5PBNw2AYSwfmeUFivP1fOLurG2J884kxQdfmlxjFWgS37/FP L5IyG4hxVXxqvOa/DBY+lg7Tp4WEWqqreAy3axJT0f4J4EJDWPeAzg8FN5MuajWBoyFt up5Zdr10lIWJOCu/Mg0Ly6j3lppQiun3vdvhNPEX/umzmyy9Z0J8/ywdVpW0/hovCSge nbXhig1ivkAyuL5eGCuVzYQFCzr4G3JVgLSsYNjTeqXsqW/+RXflcVrgYF/l3arppv32 jGXSa6Wn0SxsnUP7VrnTmHGOoDefMF0e5ONPtZUOLuLginGTMYZXh0MJbpJhGmhnbsxn 9EAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=pJdUJpua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb4-20020a1709071c8400b007ae2368c8b3si10349504ejc.730.2022.11.14.13.00.57; Mon, 14 Nov 2022 13:01:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=pJdUJpua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236124AbiKNUgg (ORCPT + 88 others); Mon, 14 Nov 2022 15:36:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235995AbiKNUge (ORCPT ); Mon, 14 Nov 2022 15:36:34 -0500 Received: from one.firstfloor.org (one.firstfloor.org [193.170.194.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3F4EE093 for ; Mon, 14 Nov 2022 12:36:33 -0800 (PST) Received: by one.firstfloor.org (Postfix, from userid 503) id DE8FE86FF9; Mon, 14 Nov 2022 21:28:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1668457689; bh=fgAS67UCZGIk0fAA2aL4IJohGVeHheYpz6QU8F8/cfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pJdUJpuaGnX7VvEaARJoCnG9qiIkkBQ7HVsEoan/oYyorwZLKCYGhMiAnRYxRStXF HU+ZZrzrizGjlNjOZMRyvDtNf/ZtTytTCE62USF+ITlGOQX8I3N30cGNK1Iqx7d2li zeBzHnGDGBd3erqEj7dqBI78KrTjwh/ekV4FgAaI= Date: Mon, 14 Nov 2022 12:28:09 -0800 From: Andi Kleen To: Josh Poimboeuf Cc: "Jiri Slaby (SUSE)" , linux-kernel@vger.kernel.org, Andi Kleen , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, Andi Kleen , Martin Liska , Jiri Slaby Subject: Re: [PATCH 40/46] x86/livepatch, lto: Disable live patching with gcc LTO Message-ID: <20221114202808.2avu7bscqcyefbpx@two.firstfloor.org> References: <20221114114344.18650-1-jirislaby@kernel.org> <20221114114344.18650-41-jirislaby@kernel.org> <20221114190742.qekt42gvsv2ia3ng@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114190742.qekt42gvsv2ia3ng@treble> User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 14, 2022 at 11:07:42AM -0800, Josh Poimboeuf wrote: > On Mon, Nov 14, 2022 at 12:43:38PM +0100, Jiri Slaby (SUSE) wrote: > > From: Andi Kleen > > > > It is not supported by gcc 12 so far, so it causes compiler "sorry" > > messages. > > What specifically is not supported by GCC 12? -fwhole-program and the live patching options are mutually exclusive. Okay I suppose it could be handled by disabling -fwhole-program, although that might limit some optimizations. > What are the "sorry" messages? It's an error message from the compiler telling you that something is not implemented. -Andi