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 you have a problem with this, speak up. Linux distributors, especially, let us know what you think. 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. See also: http://macieira.org/blog/2012/01/sorry-state-of-dynamic-libraries-on-linux/ http://macieira.org/blog/2012/01/update-and-benchmark-on-the-dynamic-library- proposals/ http://gcc.gnu.org/bugzilla/show_bug.cgi?id520 http://sourceware.org/bugzilla/show_bug.cgi?id600 -- 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
