From 024c74c85514de130a2d9072fdee2dce569c89f2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 30 Jun 2020 13:58:45 -0600 Subject: [PATCH] Disable LTO --- perl.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/perl.spec b/perl.spec index e90d07e..704d4a3 100644 --- a/perl.spec +++ b/perl.spec @@ -100,7 +100,7 @@ License: GPL+ or Artistic Epoch: %{perl_epoch} Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 456%{?dist} +Release: 457%{?dist} Summary: Practical Extraction and Report Language Url: https://www.perl.org/ Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz @@ -4232,6 +4232,10 @@ sed -i '\|cpan/Memoize/Memoize/NDBM_File.pm|d' MANIFEST %build +# This package has static probes which do not work with LTO +# Disable LTO +%define _lto_cflags %{nil} + echo "RPM Build arch: %{_arch}" # use "lib", not %%{_lib}, for privlib, sitelib, and vendorlib @@ -6896,10 +6900,13 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Tue Jun 30 2020 Jeff Law - 4:5.32.0-457 +Disable LTO + * Fri Jun 26 2020 Jitka Plesnikova - Perl 5.32 re-rebuild of bootstrapped packages -* Mon Jun 22 2020 Jitka Plesnikova - 4:5.32.0-455 +* Mon Jun 22 2020 Jitka Plesnikova - 4:5.32.0-455 - 5.32.0 bump (see or release notes)