| Bug#: 213411 | Product: Gentoo Linux | Version: 2007.0 | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: qt@gentoo.org | Reported By: h.mth@web.de | |
| Component: Ebuilds | |||
| URL: http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/qt/qt-x11-opensource-src-4.3.4-aliasing.patch | |||
| Summary: x11-libs/qt-4.3.x has aliasing problems | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2008-03-14 17:06 0000 | |||
| Description: | Opened: 2008-03-14 17:06 0000 |
The Qt library version 4.3.x has problems with aliasing. These should be fixed in 4.4. Some gcc versions with optimization '-O2' or '-fstrict-aliasing' compile Qt but throw segmentation faults at runtime. See my mailing list thread at Qt-interest: http://lists.trolltech.com/qt-interest/2008-03/thread00368-0.html (Message 6 and onwards get interesting.) One issue is fixed with the patch from fedora on URL. But on f.g.o and b.g.o I see Qt segfaulting other way, the QApplication constructor. I recommend to add 'append-flags -fno-strict-aliasing' in src_compile before configure is called. References: https://forums.gentoo.org/viewtopic-t-668006.html https://forums.gentoo.org/viewtopic-t-492597.html https://forums.gentoo.org/viewtopic-t-674330.html https://bugs.gentoo.org/192954
Fixed in qt-4.3.4-r1, thanks for letting us know. :)
*** Bug 214223 has been marked as a duplicate of this bug. ***
Reopen wrt Bug 214218, this thing looks more borked than this...
I don't see a porting problem here :)
*** Bug 241828 has been marked as a duplicate of this bug. ***