Bug 34570 - [4.3 regression] recent gcc 4.3 snapshots miscompile KDE 4
Summary: [4.3 regression] recent gcc 4.3 snapshots miscompile KDE 4
Status: RESOLVED DUPLICATE of bug 34385
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.3.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 19:07 UTC by bero
Modified: 2007-12-31 14:06 UTC (History)
25 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bero 2007-12-23 19:07:29 UTC
Building kdebase 4 with current gcc 4.3 snapshots causes several important applications (e.g. plasma, konsole) to crash on startup.

Several files are involved; rebuilding the workspace/libs/plasma directory with an older gcc 4.3 snapshot (or gcc 4.2.x) fixes plasma startup.

Last known good gcc 4.3 snapshot: SVN rev. 129944

No simple testcase found yet.
Comment 1 bero 2007-12-26 23:12:33 UTC
I've run checks on some more gcc revisions. Down to a few revisions.

Last known working svn rev: 130324
First known broken svn rev: 130330
Comment 2 bero 2007-12-26 23:32:43 UTC
A Qt strict-aliasing bug potentially affecting this has shown up; it's possible that the problem isn't with gcc after all, but only shows up with the current versions. Running more tests with a fixed Qt version. (At a first quick look, I don't see how 130324->130330 could un-hide a strict-aliasing bug though, especially because the strict-aliasing bug is supposed to occur with 4.2.1 as well)
Comment 3 Mark Mitchell 2007-12-31 06:53:02 UTC
Waiting until the submitter determines whether or not this is actually a compiler bug.
Comment 4 Richard Biener 2007-12-31 12:04:35 UTC
This was identified as a Qt bug by us (there's a dup with a testcase around somewhere which I cannot find right now).
Comment 5 İsmail Dönmez 2007-12-31 12:10:56 UTC
FWIW Dirk's fix for this taken from OpenSuse is available at http://svn.pardus.org.tr/pardus/devel/programming/libs/qt4/files/qt-43-aliasing.diff
Comment 6 Jakub Jelinek 2007-12-31 14:06:42 UTC

*** This bug has been marked as a duplicate of 34385 ***