From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34639 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrCaQ-0006wq-B0 for qemu-devel@nongnu.org; Sun, 20 Feb 2011 11:56:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrCaP-0001CD-63 for qemu-devel@nongnu.org; Sun, 20 Feb 2011 11:56:42 -0500 Received: from hall.aurel32.net ([88.191.126.93]:39327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrCaP-0001C9-05 for qemu-devel@nongnu.org; Sun, 20 Feb 2011 11:56:41 -0500 Date: Sun, 20 Feb 2011 17:56:37 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] qemu-0.14.0 doesn't compile on ppc32 Message-ID: <20110220165637.GK18619@volta.aurel32.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: nello martuscielli Cc: qemu-devel@nongnu.org On Sun, Feb 20, 2011 at 03:01:12PM +0100, nello martuscielli wrote: > hi, > i'm unable to compile qemu-0.14.0 on my PowerPC box. > The same kind of error there is also compiling qemu-0.13.0 in the same > environment. > > Testing box is a PowerMac G4 with CRUX PPC (32bit) 2.7 > gcc-4.5.2, binutils-2.21, glibc-2.12.2, linux-2.6.37.1 > I always get the same compile failure. > > # crux > CRUX PPC (32 bit) version 2.7 > # uname -a > Linux hermes 2.6.37.1 #1 PREEMPT Fri Feb 18 21:12:07 CET 2011 ppc > 7447A, altivec supported PowerBook6,7 GNU/Linux > # gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.5.2/lto-wrapper > Target: powerpc-unknown-linux-gnu > Configured with: ../gcc-4.5.2/configure --disable-multilib > --prefix=/usr --mandir=/usr/man --libexecdir=/usr/lib > --enable-languages=c,c++,objc --enable-threads=posix > --enable-__cxa_atexit --enable-clocale=gnu --enable-shared > --disable-nls --with-x=no --enable-long-long --with-system-zlib > --with-pkgversion='CRUX PPC' --host=powerpc-unknown-linux-gnu > --build=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu > Thread model: posix > gcc version 4.5.2 (CRUX PPC) > > > [...] > CC x86_64-softmmu/balloon.o > CC x86_64-softmmu/virtio-blk.o > CC x86_64-softmmu/virtio-balloon.o > CC x86_64-softmmu/virtio-net.o > CC x86_64-softmmu/virtio-serial-bus.o > CC x86_64-softmmu/virtio-pci.o > CC x86_64-softmmu/vhost_net.o > CC x86_64-softmmu/virtio-9p.o > CC x86_64-softmmu/rwhandler.o > CC x86_64-softmmu/kvm-stub.o > CC x86_64-softmmu/exec.o > CC x86_64-softmmu/translate-all.o > CC x86_64-softmmu/cpu-exec.o > 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) > Please submit a full bug report. > See for instructions. > make[1]: *** [translate.o] Error 1 > make[1]: *** Deleting file `translate.o' > make: *** [subdir-x86_64-softmmu] Error 2 > > instead with the same configure: > --audio-drv-list=alsa,sdl --enable-sdl --disable-bluez --disable-kvm > it compiles fine on my ppc64 (G5) box with CRUX PPC (64bit) 2.7 > > Can i receive help about? Is it really a compiler problem? > I compiled a lot of stuff and this is the first time i receive this > kind of error. > 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. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net