* [Qemu-devel] qemu for x86 plugins on PPC?
@ 2004-08-24 14:40 Wim Vanderbauwhede
2004-08-24 14:54 ` Paul Brook
0 siblings, 1 reply; 4+ messages in thread
From: Wim Vanderbauwhede @ 2004-08-24 14:40 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
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.
Wim
--
If it's pointless, what's the point?
If there is a point to it, what's the point?
(Tibor Fischer, "The Thought Gang")
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] qemu for x86 plugins on PPC?
2004-08-24 14:40 [Qemu-devel] qemu for x86 plugins on PPC? Wim Vanderbauwhede
@ 2004-08-24 14:54 ` Paul Brook
2004-08-24 15:41 ` Wim Vanderbauwhede
2004-08-24 17:51 ` Ronnie Misra
0 siblings, 2 replies; 4+ messages in thread
From: Paul Brook @ 2004-08-24 14:54 UTC (permalink / raw)
To: qemu-devel; +Cc: Wim Vanderbauwhede
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.
I don't think this is going to work.
Shared objects (.so) are quite tightly tied into the main executable. For
example they're likely to share memory structures, with no cleanly defined
interface between them. You're effectively asking qemu link together code
compiled for two (very) different targets into a single executable.
By contrast the linux syscall layer emulated by qemu-user is clean, well
defined, and relatively simple.
However, you should be able to run x86 mozilla with x86 plugins under qemu on
a PPC machine. I haven't tried this.
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] qemu for x86 plugins on PPC?
2004-08-24 14:54 ` Paul Brook
@ 2004-08-24 15:41 ` Wim Vanderbauwhede
2004-08-24 17:51 ` Ronnie Misra
1 sibling, 0 replies; 4+ messages in thread
From: Wim Vanderbauwhede @ 2004-08-24 15:41 UTC (permalink / raw)
To: Paul Brook; +Cc: Qemu Devel List
[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]
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.
>
> I don't think this is going to work.
> Shared objects (.so) are quite tightly tied into the main executable. For
> example they're likely to share memory structures, with no cleanly defined
> interface between them. You're effectively asking qemu link together code
> compiled for two (very) different targets into a single executable.
OK, I see. Pity.
>
> By contrast the linux syscall layer emulated by qemu-user is clean, well
> defined, and relatively simple.
>
> However, you should be able to run x86 mozilla with x86 plugins under qemu on
> 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.
I would really appreicate if someone could look into this, and I guess
other PPC users would be glad too.
Thanks,
Wim
>
> Paul
--
If it's pointless, what's the point?
If there is a point to it, what's the point?
(Tibor Fischer, "The Thought Gang")
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] qemu for x86 plugins on PPC?
2004-08-24 14:54 ` Paul Brook
2004-08-24 15:41 ` Wim Vanderbauwhede
@ 2004-08-24 17:51 ` Ronnie Misra
1 sibling, 0 replies; 4+ messages in thread
From: Ronnie Misra @ 2004-08-24 17:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Wim Vanderbauwhede
On Aug 24, 2004, at 7:54 AM, 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.
>
> I don't think this is going to work.
> Shared objects (.so) are quite tightly tied into the main executable.
> For
> example they're likely to share memory structures, with no cleanly
> defined
> interface between them. You're effectively asking qemu link together
> code
> compiled for two (very) different targets into a single executable.
>
> By contrast the linux syscall layer emulated by qemu-user is clean,
> well
> defined, and relatively simple.
>
> However, you should be able to run x86 mozilla with x86 plugins under
> qemu on
> a PPC machine. I haven't tried this.
It might be true that shared objects are tightly tied into the
executable in the general case, but in the specific case of mozilla
plugins, there is a defined interface between the plugin and the
executable - the Netscape plugin API:
<http://www.mozilla.org/projects/plugins/>
Crossover has a product to let x86-linux users use Windows plugins in
Mozilla, and it works well enough to let you use the Windows QuickTime
plugin...
Ronnie
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-24 17:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 14:40 [Qemu-devel] qemu for x86 plugins on PPC? Wim Vanderbauwhede
2004-08-24 14:54 ` Paul Brook
2004-08-24 15:41 ` Wim Vanderbauwhede
2004-08-24 17:51 ` Ronnie Misra
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.