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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C6F2158083 for ; Tue, 10 Sep 2024 01:37:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D810E2A12; Tue, 10 Sep 2024 01:37:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 38E63E2A11 for ; Tue, 10 Sep 2024 01:37:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 737E5343025 for ; Tue, 10 Sep 2024 01:37:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A6661F43 for ; Tue, 10 Sep 2024 01:37:29 +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: <1725930252.698e17aad2e95f56c53fc3139f45c03c33126edb.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mlton/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mlton/mlton-20180207.ebuild X-VCS-Directories: dev-lang/mlton/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 698e17aad2e95f56c53fc3139f45c03c33126edb X-VCS-Branch: master Date: Tue, 10 Sep 2024 01:37:29 +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: c7be82ac-bb53-4738-9af9-646a56ae3e1f X-Archives-Hash: 62e898a96989ee8c8698400127afc9dc commit: 698e17aad2e95f56c53fc3139f45c03c33126edb Author: Eli Schwartz gentoo org> AuthorDate: Mon Sep 9 04:20:48 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue Sep 10 01:04:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698e17aa dev-lang/mlton: mark as LTO-unsafe It does something to mess with twelf's codegen. Assume it is too flaky to handle LTO. Bug: https://bugs.gentoo.org/863266 Signed-off-by: Eli Schwartz gentoo.org> dev-lang/mlton/mlton-20180207.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-lang/mlton/mlton-20180207.ebuild b/dev-lang/mlton/mlton-20180207.ebuild index 22cd719e8d45..44e66eaa657c 100644 --- a/dev-lang/mlton/mlton-20180207.ebuild +++ b/dev-lang/mlton/mlton-20180207.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit check-reqs multibuild pax-utils +inherit check-reqs flag-o-matic multibuild pax-utils DESCRIPTION="Standard ML optimizing compiler and libraries" BASE_URI="https://downloads.sourceforge.net/${PN}" @@ -172,6 +172,10 @@ src_prepare() { } mlton_src_compile() { + # produces invalid codegen for twelf + # https://bugs.gentoo.org/863266 + filter-lto + if [[ ${MULTIBUILD_VARIANT} == $(mlton_bootstrap_variant) ]]; then emake -j1 \ "bootstrap-smlnj" \