Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BzdUY-0001Uq-5k for qemu-devel@nongnu.org; Tue, 24 Aug 2004 11:45:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BzdUW-0001Tn-FT for qemu-devel@nongnu.org; Tue, 24 Aug 2004 11:45:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzdUW-0001Tk-BW for qemu-devel@nongnu.org; Tue, 24 Aug 2004 11:45:44 -0400 Received: from [130.209.249.184] (helo=mr1.dcs.gla.ac.uk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BzdPZ-0004o3-O5 for qemu-devel@nongnu.org; Tue, 24 Aug 2004 11:40:38 -0400 Subject: Re: [Qemu-devel] qemu for x86 plugins on PPC? From: Wim Vanderbauwhede In-Reply-To: <200408241554.46999.paul@codesourcery.com> References: <1093358441.4535.76.camel@sicilia.dcs.gla.ac.uk> <200408241554.46999.paul@codesourcery.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-qjQR57Tm5T0165EyRfYX" Message-Id: <1093362098.4535.125.camel@sicilia.dcs.gla.ac.uk> Mime-Version: 1.0 Date: Tue, 24 Aug 2004 16:41:38 +0100 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Qemu Devel List --=-qjQR57Tm5T0165EyRfYX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-08-24 at 15:54, Paul Brook wrote: > On Tuesday 24 August 2004 15:40, Wim Vanderbauwhede wrote: > > Hi qemu-guru's, > > > > Would it be possible to use qemu to have x86 plugins work in a PPC > > browser? The plugins for mozilla are .so shared libraries, so I imagine > > that it should be possible based on usermode qemu-i386. > > A Flash-plugin for mozilla on PPC is a kind of holy grail, it would be > > great if qemu could provide this. >=20 > I don't think this is going to work. > Shared objects (.so) are quite tightly tied into the main executable. For= =20 > example they're likely to share memory structures, with no cleanly define= d=20 > interface between them. You're effectively asking qemu link together cod= e=20 > compiled for two (very) different targets into a single executable. OK, I see. Pity. >=20 > By contrast the linux syscall layer emulated by qemu-user is clean, well=20 > defined, and relatively simple. >=20 > However, you should be able to run x86 mozilla with x86 plugins under qem= u on=20 > a PPC machine. I haven't tried this. I have tried this. It used to work with qemu 0.5.5 and glibc 2.3.1. I had firefox with flash, acrobat reader and the stand-alone flash player, all working well. However qemu 0.6 broke most of this (only acrobat reader still working), and upgrading to glibc2.3.1 (and probably a higher gcc as well) just broke everything. At the moment, the only thing that works under usermode qemu on PPC is ash.static. Even /bin/true fails with a segmentation fault.=20 I would really appreicate if someone could look into this, and I guess other PPC users would be glad too. Thanks, Wim >=20 > Paul --=20 If it's pointless, what's the point? If there is a point to it, what's the point? (Tibor Fischer, "The Thought Gang") --=-qjQR57Tm5T0165EyRfYX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBK2GysMk8zPoGa9IRAoylAJ9AFZOSrSOb0xADBz11FUi9nPR2YACfU/p/ evDIDn+VhOYyqt1LAOhlT0I= =SbMV -----END PGP SIGNATURE----- --=-qjQR57Tm5T0165EyRfYX--