[Bug c++/19876] New: g++ starts eating all the memory and the CPU

pied at fnux dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 10 21:04:00 GMT 2005


Hi    
    
I'm developing a linux distribution with friends, and we decided to use gcc 4.    
A few days ago, KDE 3.3.92 was released.     
But it doesn't compile :( Especially, with the kdepim package, g++ starts    
eating all the memory and all the CPU on a file.     
I can't submit this file because it relies on a lot of headers and libs from    
KDE and Qt so it would be to heavy.    
Here is the command line :   
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H   
-I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim   
-I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib   
-I../certmanager/lib -I..  -I../libkdepim -I/usr/lib/qt3/include   
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   
-D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi   
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts   
-Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security   
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common   
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT   
-DQT_NO_TRANSLATION  -MT globalsettings.lo -MD -MP -MF   
".deps/globalsettings.Tpo" -c -o globalsettings.lo globalsettings.cpp; \   
then mv -f ".deps/globalsettings.Tpo" ".deps/globalsettings.Plo"; else rm -f   
".deps/globalsettings.Tpo"; exit 1; fi   
   
Configure of gcc :   
../gcc-4.0-20050130/configure --prefix=/usr --libexecdir=/usr/lib  
--enable-shared --enable-threads=posix --enable-__cxa_atexit  
--enable-clocale=gnu --enable-languages=c,c++,java,objc --with-libffi  
--enable-libffi  
 
I reported the bug on bugs.kde.org too : 
http://bugs.kde.org/show_bug.cgi?id=99045 
 
Thanks

-- 
           Summary: g++ starts eating all the memory and the CPU
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pied at fnux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19876



More information about the Gcc-bugs mailing list