From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrgYj-0002Ka-CU for qemu-devel@nongnu.org; Mon, 21 Feb 2011 19:56:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrgYc-00006b-PF for qemu-devel@nongnu.org; Mon, 21 Feb 2011 19:56:57 -0500 Received: from mail-yx0-f173.google.com ([209.85.213.173]:60206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrgYc-00006U-Jp for qemu-devel@nongnu.org; Mon, 21 Feb 2011 19:56:50 -0500 Received: by yxk8 with SMTP id 8so1009645yxk.4 for ; Mon, 21 Feb 2011 16:56:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D621DE8.60506@redhat.com> References: <20110220165637.GK18619@volta.aurel32.net> <4D621DE8.60506@redhat.com> Date: Tue, 22 Feb 2011 01:56:49 +0100 Message-ID: From: nello martuscielli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: qemu-0.14.0 doesn't compile on ppc32 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , qemu-devel@nongnu.org, Aurelien Jarno On Mon, Feb 21, 2011 at 9:10 AM, Paolo Bonzini wrote: > On 02/20/2011 06:32 PM, Peter Maydell wrote: >> >> On 20 February 2011 16:56, Aurelien Jarno =A0wrote= : >>> >>> On Sun, Feb 20, 2011 at 03:01:12PM +0100, nello martuscielli wrote: >>>> >>>> =A0 CC =A0 =A0x86_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 > compiling with -fno-var-tracking i just succesfully built it without any out of memory error. So it seems it's possible to compile qemu on ppc32 without a ridiculous high amount of ram with gcc-4.5.2.