Re: [Development] -reduce-relocations vs hardening

2015-08-21 Thread Kevin Kofler
Timo Jyrinki wrote: > We patched a couple of packages to use: > > export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie > > due to this, seeing it as the best option at the moment to get GCC5 > transition completed for those packages that had some insistence of > adding -fPIE where we did not want

Re: [Development] -reduce-relocations vs hardening

2015-08-21 Thread Timo Jyrinki
Try two, thank you gmail. 2015-08-20 23:03 GMT+03:00 Lisandro Damián Nicanor Pérez : > Hi! yesterday I received a [bug] report asking Qt to not requiring apps using > it to pass -fPIC (actually to let the app use -fPIE) due to hardening reasons. We patched a couple of packages to use: export DEB

Re: [Development] -reduce-relocations vs hardening

2015-08-21 Thread Timo Jyrinki
2015-08-20 23:03 GMT+03:00 Lisandro Damián Nicanor Pérez : > Hi! yesterday I received a [bug] report asking Qt to not requiring apps using > it to pass -fPIC (actually to let the app use -fPIE) due to hardening reasons. We patched a couple of packages to use: __

Re: [Development] -reduce-relocations vs hardening

2015-08-20 Thread Lisandro Damián Nicanor Pérez Meyer
On Thursday 20 August 2015 14:08:40 Thiago Macieira wrote: > On Thursday 20 August 2015 22:16:15 Kevin Kofler wrote: > > Lisandro Damián Nicanor Pérez Meyer wrote: > > > Hi! yesterday I received a [bug] report asking Qt to not requiring apps > > > using it to pass -fPIC (actually to let the app use

Re: [Development] -reduce-relocations vs hardening

2015-08-20 Thread Thiago Macieira
On Thursday 20 August 2015 22:16:15 Kevin Kofler wrote: > Lisandro Damián Nicanor Pérez Meyer wrote: > > Hi! yesterday I received a [bug] report asking Qt to not requiring apps > > using it to pass -fPIC (actually to let the app use -fPIE) due to > > hardening reasons. > > -fPIC actually allows th

Re: [Development] -reduce-relocations vs hardening

2015-08-20 Thread Kevin Kofler
Lisandro Damián Nicanor Pérez Meyer wrote: > Hi! yesterday I received a [bug] report asking Qt to not requiring apps > using it to pass -fPIC (actually to let the app use -fPIE) due to > hardening reasons. -fPIC actually allows the same hardening as -fPIE. PIE is basically the subset of PIC requi

[Development] -reduce-relocations vs hardening

2015-08-20 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! yesterday I received a [bug] report asking Qt to not requiring apps using it to pass -fPIC (actually to let the app use -fPIE) due to hardening reasons. Now as we are using -reduce-relocations and gcc5 this is currently not possible at least until gcc's upstreams decide to add this as a [fea