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

Reply via email to