Source: subversion
Version: 1.9.5-1
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:52:40.000000000 +0000
+++ debian/rules        2017-06-23 15:52:45.000000000 +0000
@@ -9,7 +9,7 @@
 #   with-apache, no-apache | enable/disable certain packages
 #   with-ruby, no-ruby     |
 
-DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/default.mk
 
 # Fully functional Java support is still a bit spotty on some Debian

Reply via email to