From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: nello martuscielli <ppc.addon@gmail.com>,
qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] Re: qemu-0.14.0 doesn't compile on ppc32
Date: Mon, 21 Feb 2011 09:10:16 +0100 [thread overview]
Message-ID: <4D621DE8.60506@redhat.com> (raw)
In-Reply-To: <AANLkTi=30DhbuSv3GdjCFwyjjSU5AHHEe0vvUQjZ=pwo@mail.gmail.com>
On 02/20/2011 06:32 PM, Peter Maydell wrote:
> On 20 February 2011 16:56, Aurelien Jarno<aurelien@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
next prev parent reply other threads:[~2011-02-21 8:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 14:01 [Qemu-devel] qemu-0.14.0 doesn't compile on ppc32 nello martuscielli
2011-02-20 16:56 ` Aurelien Jarno
2011-02-20 17:02 ` malc
2011-02-20 23:34 ` nello martuscielli
2011-02-21 0:15 ` malc
2011-02-20 17:32 ` Peter Maydell
2011-02-21 8:10 ` Paolo Bonzini [this message]
2011-02-22 0:56 ` [Qemu-devel] " nello martuscielli
2011-03-14 10:23 ` Peter Maydell
2011-03-14 10:33 ` Stefan Hajnoczi
2011-03-14 19:14 ` Blue Swirl
2011-03-14 11:17 ` Paolo Bonzini
2011-02-20 23:32 ` [Qemu-devel] " nello martuscielli
2011-02-20 17:01 ` malc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D621DE8.60506@redhat.com \
--to=pbonzini@redhat.com \
--cc=aurelien@aurel32.net \
--cc=peter.maydell@linaro.org \
--cc=ppc.addon@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.