From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B44CF158046 for ; Mon, 14 Oct 2024 05:28:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADCF9E08B1; Mon, 14 Oct 2024 05:28:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93413E08B1 for ; Mon, 14 Oct 2024 05:28:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3C04343148 for ; Mon, 14 Oct 2024 05:28:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1210A1671 for ; Mon, 14 Oct 2024 05:28:01 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1728883631.c316d7e2bbe573c43b1ea26751da5a48f14a0c3c.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mercury/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mercury/mercury-22.01.1-r1.ebuild X-VCS-Directories: dev-lang/mercury/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: c316d7e2bbe573c43b1ea26751da5a48f14a0c3c X-VCS-Branch: master Date: Mon, 14 Oct 2024 05:28:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 124d15da-54f9-48c7-8473-64475c34e59c X-Archives-Hash: 9398f2babadf2f25414180888fdee565 commit: c316d7e2bbe573c43b1ea26751da5a48f14a0c3c Author: Eli Schwartz gentoo org> AuthorDate: Fri Oct 11 05:22:44 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Mon Oct 14 05:27:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c316d7e2 dev-lang/mercury: mark as LTO-unsafe It is using global register variables, and there's a GCC bug that makes this not work with lto. Closes: https://bugs.gentoo.org/924767 Signed-off-by: Eli Schwartz gentoo.org> dev-lang/mercury/mercury-22.01.1-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/mercury/mercury-22.01.1-r1.ebuild b/dev-lang/mercury/mercury-22.01.1-r1.ebuild index d992abd8eb01..965d58b1c65e 100644 --- a/dev-lang/mercury/mercury-22.01.1-r1.ebuild +++ b/dev-lang/mercury/mercury-22.01.1-r1.ebuild @@ -51,6 +51,11 @@ src_prepare() { src_configure() { strip-flags + # machdeps/x86_64_regs.h:37:25: error: global register variable follows a function definition + # https://bugs.gentoo.org/924767 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68384 + filter-lto + local myconf myconf="--libdir=/usr/$(get_libdir) \ $(use_enable mono csharp-grade) \