[Development] Enabling -fPIE globally
Stephen Kelly
stephen.kelly at kdab.com
Sun Jan 29 18:25:10 CET 2012
On Sunday, January 29, 2012 14:15:43 Thiago Macieira wrote:
> Hello
>
> Olivier has just uploaded a change ( http://codereview.qt-project.org/14528
> ) that enabled -fPIE in all application builds and I support him. He also
> added a static assertion check for ELF builds without position-independent
> code, so that people using other buildsystems are reminded to turn -fPIE on
> too.
If qmake can tell us (at building-Qt-time) that this is needed, I'm sure we
can add something to the Qt CMake files to make this easier.
>
> If you have a problem with this, speak up. Linux distributors, especially,
> let us know what you think.
Are you sure they're on this mailing list?
>
> For more background, please read my blogs on the "sorry state of libraries
> on Linux". But the summary is: function pointer comparison is broken with
> current versions of gcc and the -Bsymbolic-functions option we've made the
> default.
I have to admit that I don't know what effect this change would have on
preloading.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120129/6457670e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120129/6457670e/attachment.sig>
More information about the Development
mailing list