[Development] Qt, fPIE, fPIC and changes coming in Qt 5.4.2

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Thu May 28 17:24:55 CEST 2015


Hi! I've been watching the recent changes in Qt 5.4.2 due to gcc5. I have some
doubts I would like to clear.

Please feel free to correct me and/or expand whatever you think it's worth.

As I understand the issue is that gcc5 created a BIC in qt5 due to us using
-Bsymbolic and -fPIE, so the solution was to use -fPIC instead.

That means that applications need to use -fPIC when building against Qt 5.4.2 
too.

* Will the same happen with Qt4? Do we need to patch it?

* Suppose I now push Qt 5.4.2 compiled against gcc4.9 to Debian: do I need to 
recompile whatever depends on Qt5? I would expect I shouldn't, but better 
asking :)

Kinds regards, Lisandro.

-- 
My favourite poem is the one that starts 'Thirty days hath September' because
it actually tells you something.
 -- Groucho Marx

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150528/8cb19feb/attachment.sig>


More information about the Development mailing list