On 02/20/2011 06:32 PM, Peter Maydell wrote:
On 20 February 2011 16:56, Aurelien Jarno<aurel...@aurel32.net>  wrote:
On Sun, Feb 20, 2011 at 03:01:12PM +0100, nello martuscielli wrote:
   CC    x86_64-softmmu/translate.o
{standard input}: Assembler messages:
{standard input}:11903788: Warning: end of file not at end of a line;
newline inserted
gcc: Internal error: Killed (program cc1)

It is most likely a compiler/setup issue. My guess your machine got out
of memory, and the OOM killer killed cc1. Try adding more memory and/or
swap, it should work.

Some of qemu's code does seem to trigger rather excessive memory
use by gcc; for instance we've had problems with memory usage
building for ARM with gcc of target-sparc/translate.c wanting
gigabytes of RAM with some compiler flags:
https://bugs.launchpad.net/gcc-linaro/+bug/714921

I suspect it's all those large switch statements...

It's on my todo list to report it to GCC, since this memory-hog behavior is a GCC regression.

Paolo

Reply via email to