qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: nello martuscielli <ppc.addon@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-0.14.0 doesn't compile on ppc32
Date: Sun, 20 Feb 2011 20:02:38 +0300 (MSK)	[thread overview]
Message-ID: <alpine.LNX.2.00.1102202002100.4123@linmac> (raw)
In-Reply-To: <20110220165637.GK18619@volta.aurel32.net>

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:av1474@comtv.ru

  reply	other threads:[~2011-02-20 17:03 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 [this message]
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=alpine.LNX.2.00.1102202002100.4123@linmac \
    --to=av1474@comtv.ru \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).