[Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 14 21:11:00 GMT 2013


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to SebastiansPublicAddress from comment #0)
> I'm compiling on a raspberry pi (no cross compiling), so this may be caused
> by insufficient memory. But gcc doesn't say so. It just says
> 
> g++-4.7: internal compiler error: Killed (program cc1plus)

That is because the kernel is killing cc1plus when it runs out of memory when a
mmap/malloc happens.  There is not much GCC can do when the kernel decides to
over commit memory to the application and then decides to kill it due to lack
of memory.



More information about the Gcc-bugs mailing list