From: Aurelien Jarno <aurelien@aurel32.net>
To: nello martuscielli <ppc.addon@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-0.14.0 doesn't compile on ppc32
Date: Sun, 20 Feb 2011 17:56:37 +0100 [thread overview]
Message-ID: <20110220165637.GK18619@volta.aurel32.net> (raw)
In-Reply-To: <AANLkTimPkL19hyjafH9KS+o8XA+EwDTmpw2B3WDDd-ML@mail.gmail.com>
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.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2011-02-20 16:56 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 [this message]
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 ` [Qemu-devel] " Paolo Bonzini
2011-02-22 0:56 ` 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=20110220165637.GK18619@volta.aurel32.net \
--to=aurelien@aurel32.net \
--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.