<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>213411</bug_id>
          
          <creation_ts>2008-03-14 17:06 0000</creation_ts>
          <short_desc>x11-libs/qt-4.3.x has aliasing problems</short_desc>
          <delta_ts>2009-01-03 01:33:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/qt/qt-x11-opensource-src-4.3.4-aliasing.patch</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>214218</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>h.mth@web.de</reporter>
          <assigned_to>qt@gentoo.org</assigned_to>
          <cc>gnu_andrew@member.fsf.org</cc>
    
    <cc>liquitsnake@gmx.net</cc>
    
    <cc>loki_val@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>h.mth@web.de</who>
            <bug_when>2008-03-14 17:06:43 0000</bug_when>
            <thetext>The Qt library version 4.3.x has problems with aliasing.
These should be fixed in 4.4.

Some gcc versions with optimization &apos;-O2&apos; or &apos;-fstrict-aliasing&apos; 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 &apos;append-flags -fno-strict-aliasing&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ingmar@gentoo.org</who>
            <bug_when>2008-03-19 04:30:58 0000</bug_when>
            <thetext>Fixed in qt-4.3.4-r1, thanks for letting us know. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-22 06:47:32 0000</bug_when>
            <thetext>*** Bug 214223 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-22 06:58:32 0000</bug_when>
            <thetext>Reopen wrt Bug 214218, this thing looks more borked than this...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2008-05-03 19:01:55 0000</bug_when>
            <thetext>I don&apos;t see a porting problem here :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yngwin@gentoo.org</who>
            <bug_when>2009-01-03 01:30:39 0000</bug_when>
            <thetext>*** Bug 241828 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>