ppisar pushed to perl (master). "Disable hardening due to some run-time failures (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jul 16 14:32:10 UTC 2015


From 4bfb6f9c932f31e091ebe14cd779cdb474850c19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 16 Jul 2015 16:28:27 +0200
Subject: 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.

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 <ppisar at redhat.com> - 4:5.22.0-349
+- Disable hardening due to some run-time failures (bug #1238804)
+
 * Mon Jul 13 2015 Petr Pisar <ppisar at redhat.com> - 4:5.22.0-348
 - Sub-package bignum
 - Sub-package Math-BigRat
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=master&id=4bfb6f9c932f31e091ebe14cd779cdb474850c19


More information about the perl-devel mailing list