Bug#835148: gcc-6: please enable PIE hardening flags by default on amd64 ppc64el and s390x
On Tue, 23 Aug 2016 00:25:30 +0200 Balint Reczey
> Package: gcc-6
> Version: 6.1.1-12
> Severity: wishlist
> Tags: patch
> Dear Matthias,
> As a continuation of the discussions  on debian-devel I'm
> attaching the simple patch that implements enabling the PIE
> hardening flags for a subset of the architectures.
> I'm open to changing the subset, it matches the set selected in Ubuntu
> as a start, but porters may have different preferences .
> I'm continuing with a full archive rebuild to see the amount of packages
> to be updated for the change in the default flags.
> The same patch applies to gcc-5, too, if it does not get removed
> from the archive before the patch is accepted for gcc-6.
>  https://lists.debian.org/debian-devel/2016/05/msg00228.html
>  https://lists.debian.org/debian-devel/2016/08/msg00324.html
As per , please enable PIE by default on the following architectures:
All of these architectures (except amd64+i386 with porter waivers) had
at least 2 porters supporting PIE.