Re: Enabling PIE by default for Stretch

Maximiliano Curia <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <20161010122111.d3gycxehyabu3rwy__14649.993464309$1476102144$gmane$org@gnuservers.com.ar>
¡Hola Niels!

El 2016-10-10 a las 05:44 +0000, Niels Thykier escribió:
> Niels Thykier:
>> As brought up on the meeting last night, I think we should try to go for 
>> PIE by default in Stretch on all release architectures! 
>>  * It is a substantial hardening feature 
>>  * Upstream has vastly reduced the performance penalty for x86 
>>  * The majority of all porters believe their release architecture is 
>>    ready for it. 
>>  * We have sufficient time to solve any issues or revert if it turns out 
>>    to be too problematic.

>> [...]

>>  * Deadline for major concerns:  Fri, 7th of October 2016.

> It appears that there were no major concerns.  I will follow up #835148 
> and request PIE by default for the following architectures.

> * amd64 
> * arm64 
> * armel 
> * armhf 
> * i386 
> * mips 
> * mips64el 
> * mipsel 
> * ppc64el 
> * s390x

Such a change will produce unneeded FTBFS's in libraries using -fPIC (such as 
qt5 and all it's dependencies).

Afaik, -fPIC is stronger than -fPIE, at the same time, -fPIE is incompatible 
with -fPIC and -fPIE makes little sense in shared libraries.

And while a single patch should be trivial, I fear they would be many specific 
ones.

Happy hacking,
-- 
"If a thing is done wrong often enough, it becomes right" -- Leahy's Law
 Saludos /\/\ /\ >< `/
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJX+4e3AAoJEMcZdpmymyMqmTcP/2ZUpeZHrMMEPsY+4v+7gK2d
1d5rcy2ZNrZuWV4yG6GpYCSao3dflKT7PWHz2avnT76T+SmmDqHgLNeGT73uMScU
VCzUtaImV39eokM4uStOLXYl1ISrQKMDnBrEJlN1BbQscxxtKMSm2OvWLPIhB7ZH
PH1BV2MFDcb5xZrjv6wokCFYK8sMur1Nho8AEJnDsspz8hbRZQpQcoIfgYawNky1
3cRmvcQ5FN2la65bALS7wR0pdFq3TpfPsovoXukb6vetdZls392ZcYOkPYJjwnU2
Uaqryz1pM3FdPj8qcjfLiWXLdEVwhfCDy1ajhobwLKFUSaKLJrM0Li9GxyHlOnrR
vDkXki8XP8efYTpsJpzLROa2vwhlnYK8k2LNEP61aOr1K9n6OI5cX/tEWvLc5mTO
iyWDZ1uyKwCmLp8WDh9XgRE63HuCb4gz1JvPVKDoH0RAhOcPXKv4EVTZ1SSNKuWh
h+RAqqmjnGgoF3phPPpZsXga+DRDKh18pvDoO22WUgk3Q5VjS8YSoqFgICOW3AlT
aviZZLxEdhgJXyBDrNiY9kXCNqDYYttVKZ2vVNq4JGUh7HoR2ko2cQNRQFOH1Glb
LkulAjy4R4fwDkWy9wAaz92GtZVh0wIxD9Do05YDZBm+Y2S2qRgsbhHnLgNF89YH
A7VDS9NNVFZS/8eaeiiS
=zFxT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.