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.

Reply via email to