Mailing List Archive

Building QEMU on PS3 (Gentoo/PowerPC)
Hi, folks

I am trying to build QEMU 0.13/0.14 on a PS3 machine (Gentoo/PowerPC).
But I got a gcc internal error.

Here is the system information:
------------------------------------------------------------------------
gcc (Gentoo 4.4.4-r2 p1.3, pie-0.4.5)
Linux ps3 2.6.37-rc6
------------------------------------------------------------------------

And here is the compliation error:
------------------------------------------------------------------------
CC i386-linux-user/translate.o
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [translate.o] Error 1
make: *** [subdir-i386-linux-user] Error 2
------------------------------------------------------------------------

I saw that gentoo has qemu 0.14 in its protage. Do I miss something
while building qemu?

Thanks!

Regards,
chenwj

--
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Re: Building QEMU on PS3 (Gentoo/PowerPC) [ In reply to ]
maybe this is useful:
http://forums.gentoo.org/viewtopic-p-6594579.html#6594579


cheers,
Nell

--
PowerMac G4 450MHz - CRUX PPC 2.7
Re: Re: Building QEMU on PS3 (Gentoo/PowerPC) [ In reply to ]
Hi, Nell

I tried the CRUX PPC approach, but no luck. Here is my
enviroment.

-------------------------------------------------------
$ gcc --version
gcc-4.5.2 (Gentoo 4.5.2 p1.1, pie-0.4.5) 4.5.2
$ uname -a
Linux ps3 2.6.37-rc6 #6 SMP Thu Jan 6 21:50:40 CST 2011 ppc64 Cell Broadband Engine, altivec supported GNU/Linux
-------------------------------------------------------

And what I did is,

-------------------------------------------------------
$ export CFLAGS="$CFLAGS -fno-var-tracking"
$ ../qemu-0.13.0/configure --prefix=/tmp/chenwj/install
--target-list=i386-linux-user
-------------------------------------------------------

But it's still failed to compiling translate.o which is the
OOM (out of memory) probelm metioned on the QEMU mailing list.
"--enable-debug" option solve this OOM problem, though.

Regards,
chenwj

--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667