[Debian-med-packaging] Bug#865668: stacks shouldn't disable PIE
Adrian Bunk
bunk at debian.org
Fri Jun 23 15:56:40 UTC 2017
Source: stacks
Version: 1.44-2
Severity: normal
Tags: patch
With gcc in stretch defaulting to PIE, hardening=+all,-pie changed
semantics from "enable hardening but not PIE" to "enable all hardening
and explicitely disable the default PIE".
The latter is usually not intended.
The -pie in hardening flags was in some cases required in pre-stretch
releases to avoid build failures caused by (incorrectly) passing -fPIE
to the compiler when building shared libraries or plugins.
This problem does no longer exist.
Please consider applying the following patch:
--- debian/rules.old 2017-06-23 15:48:04.000000000 +0000
+++ debian/rules 2017-06-23 15:48:10.000000000 +0000
@@ -5,8 +5,7 @@
pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
-# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with python2
More information about the Debian-med-packaging
mailing list