Version: (using Devel) Compiler: gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20) OS: Linux Installed from: Compiled sources KDElibs fails to build with current SVN (and has been doing so for a month already). Current revision which I'm trying to build is 1066549. GCC version is: gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20) Build hangs at the file called "SVGNames.o" (that is, the source file is "SVGNames.cpp") in KHTML directory. Qt is 4.6.0 from qt.nokia.com, but KDElibs didn't compile with the very same error using Qt 4.5.3 either. After some time GCC consumes about 1.5 Gb of RAM and then it OOMs, showing me the login screen. I guess there was a commit in KHTML regarding the file SVGNames.cpp that caused this problem, because I remember building KDE just fine a month or two ago, and then there was a commit, but I can't remember the number. A rebuild from scratch doesn't help. [Possibly the commit is this one : ------------------------------------------------------------------------ r873529 | vtokarev | 2008-10-19 20:48:49 +0400 (Sun, 19 Oct 2008) | 1 line Add svg dom from WebCore ------------------------------------------------------------------------ ]
Erm, sorry, sure it was not the commit that introduced the problem, but there definitely was a commit that did.
Please paste the whole last building line before the error and the error line from make VERBOSE=1 And what are your cmake arguments please?
This is a bug in Fedora 12 version of gcc. Add -fno-var-tracking to workaround. https://bugzilla.redhat.com/show_bug.cgi?id=538233 has the same bug in another spot.