From 4bfb6f9c932f31e091ebe14cd779cdb474850c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 16 Jul 2015 16:28:27 +0200 Subject: [PATCH] Disable hardening due to some run-time failures This is a temporary hack until we find the real cause. /usr/bin/perl linked with -pie causes failures to: perl-smartmatch-engine-core perl-Algorithm-CurveFit perl-B-Utils perl-PDL-Graphics-PLplot One could blame poor XS modules, but perl-Algorithm-CurveFit is pure perl code with no XS modules. So the bug is somewhere in the perl. --- perl.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index 9ac827c..f6ed8cb 100644 --- a/perl.spec +++ b/perl.spec @@ -30,7 +30,7 @@ Name: perl Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 348%{?dist} +Release: 349%{?dist} Epoch: %{perl_epoch} Summary: Practical Extraction and Report Language Group: Development/Languages @@ -2215,6 +2215,8 @@ echo "RPM Build arch: %{_arch}" # For perl-5.14.2-large-repeat-heap-abuse.patch perl regen.pl -v +# Disable hardening due to some run-time failures, bug #1238804 +%undefine _hardened_build # ldflags is not used when linking XS modules. # Only ldflags is used when linking miniperl. # Only ccflags and ldflags are used for Configure's compiler checks. @@ -4155,6 +4157,9 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Thu Jul 16 2015 Petr Pisar - 4:5.22.0-349 +- Disable hardening due to some run-time failures (bug #1238804) + * Mon Jul 13 2015 Petr Pisar - 4:5.22.0-348 - Sub-package bignum - Sub-package Math-BigRat