On Sun, 20 Feb 2011, Aurelien Jarno wrote: > 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 <http://gcc.gnu.org/bugs.html> 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. >
Replacing -O2 with -O or no O at all will work too. -- mailto:av1...@comtv.ru