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 30EC5158046 for ; Mon, 14 Oct 2024 05:28:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E08F2E08C2; 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 C0F26E08C0 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 CD970343163 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 39E931D6E 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.b3e643353b25028826a85390411a840ed0deecec.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mercury-extras/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild X-VCS-Directories: dev-lang/mercury-extras/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: b3e643353b25028826a85390411a840ed0deecec 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: 84fbf4ba-45ab-4ac9-ab14-0825a79ed03e X-Archives-Hash: f1e89f6795a8b88b7587386d531cb79c commit: b3e643353b25028826a85390411a840ed0deecec Author: Eli Schwartz gentoo org> AuthorDate: Sun Oct 13 22:52:00 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=b3e64335 dev-lang/mercury-extras: mark as LTO-unsafe It appears to be a fundamental design issue. It is not really C code, though they do generate it as an intermediate format. ``` ccJwDryZ.ltrans0.ltrans.o:(.data.rel.ro.local+0x330): undefined reference to `' ``` Closes: https://bugs.gentoo.org/855638 Signed-off-by: Eli Schwartz gentoo.org> dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild b/dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild index 239c88e3cd60..441311e6c725 100644 --- a/dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild +++ b/dev-lang/mercury-extras/mercury-extras-22.01.1.ebuild @@ -191,6 +191,12 @@ src_prepare() { } src_compile() { + # ccJwDryZ.ltrans0.ltrans.o:(.data.rel.ro.local+0x330): undefined reference to `' + # https://bugs.gentoo.org/855638 + # + # Custom language-specific compiler infrastructure, the main mercury compiler cannot handle LTO either. + filter-lto + for mercury_pkg in $(mercury_pkgs); do mercury_pkg_compile ${mercury_pkg} done