From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1629717-garchives=archives.gentoo.org@lists.gentoo.org>
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 DA9A11581D3
	for <garchives@archives.gentoo.org>; Sat, 11 May 2024 01:42:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4CB3AE29EA;
	Sat, 11 May 2024 01:42:50 +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 2877BE29EA
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 May 2024 01:42:50 +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 0D75934302B
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 May 2024 01:42:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 452751A8C
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 May 2024 01:42:47 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1715391360.a8dd4e3b96264492d3daa983daf29925a457e920.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/perl/perl-5.38.2-r4.ebuild
X-VCS-Directories: dev-lang/perl/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a8dd4e3b96264492d3daa983daf29925a457e920
X-VCS-Branch: master
Date: Sat, 11 May 2024 01:42:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7ee556dc-fa58-4c53-856c-31a3479d551b
X-Archives-Hash: 0eebc3aadefa27a9b4fc66978bb22af1

commit:     a8dd4e3b96264492d3daa983daf29925a457e920
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 01:36:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 11 01:36:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8dd4e3b

dev-lang/perl: drop filter-lto

This was added in f8f7c133033918b061a2745e0ec79c25f7e04df5 (thx to csfore
for finding it), but tests pass for me with 5.38.2 with this removed
and with -O3 -flto -march=znver2.

I see indications other distros are building Perl with LTO and some
(old) bugs upstream where it appears supported.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/perl/perl-5.38.2-r4.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-lang/perl/perl-5.38.2-r4.ebuild b/dev-lang/perl/perl-5.38.2-r4.ebuild
index dc13745fe83d..05d1fecd87ba 100644
--- a/dev-lang/perl/perl-5.38.2-r4.ebuild
+++ b/dev-lang/perl/perl-5.38.2-r4.ebuild
@@ -567,9 +567,6 @@ src_configure() {
 	# This flag makes compiling crash in interesting ways
 	filter-flags "-malign-double"
 
-	# Generic LTO broken since 5.28, triggers EUMM failures
-	filter-lto
-
 	# On musl we dont want to use largefile *64 types, since 1) normal
 	# types are 64bit / largefile anyway and 2) the *64 types are going
 	# away in 1.2.4... bug #911233