[Development] Enabling -fPIE globally
Thiago Macieira
thiago.macieira at intel.com
Sun Jan 29 19:12:53 CET 2012
On Sunday, 29 de January de 2012 18.25.10, Stephen Kelly wrote:
> 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.
contains(QT_CONFIG, reduce_relocations):message("Use -fPIE")
> > 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?
No. I expect we'll get more feedback after the alpha release.
> > 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.
None.
This changes *applications*, not the libraries.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120129/070af138/attachment.sig>
More information about the Development
mailing list