[Bug c++/37008] [4.2 Regression] OOM on a big c++ file

livubuntu at lalescu dot ro gcc-bugzilla@gcc.gnu.org
Sun Aug 3 07:24:00 GMT 2008



------- Comment #5 from livubuntu at lalescu dot ro  2008-08-03 07:23 -------
(In reply to comment #4)
> (In reply to comment #2)
> > g++: Internal error: Killed (program cc1plus)
> > 
> > this means your system ran out of memory and the operating system decided
> > to kill the compiler.  Note that memory usage problems are unlikely to be
> > fixed in a further release of GCC 4.2, but you might want to try GCC 4.3.1
> > or later which uses less memory than GCC 4.1 for your testcase.
> > 
> 
> I tried the GCC 4.3.1, of course, but I got very very many weird warnings for
> the Qt included files. I tried the binary GCC 4.3.1 from Debian.
> 
> A collaborator reports that he compiled successfully FET for the same Qt as
> mine, with GCC 4.3.1, but for 32 bit version. He obtained only a few warnings.
> 
> Thank you for fast reply. I'll do some more tests with GCC 4.3.1 and maybe
> report bugs to Trolltech for Qt or report bugs here for GCC 4.3.1.
> 

I installed latest qt and gcc 4.3.1. Everything is fine, FET compiles OK, thank
you. It is very good that I get a few warnings which did not show up in gcc
4.1.3, and I saw a few mistakes of mine.


-- 


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



More information about the Gcc-bugs mailing list