* [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU?
@ 2006-06-01 1:00 James Supancic
2006-06-01 3:36 ` Joshua Root
0 siblings, 1 reply; 5+ messages in thread
From: James Supancic @ 2006-06-01 1:00 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
When I run
qemu-i386 /usr/bin/wine
I get
qemu: uncaught target signal 11 (Segmentation fault) - exiting
I am using the wine version I compiled and installed for my x86 host, not
the one from the qemu website. Do I have to compile my wine version with
some special options to use it with qemu-i386 or set some special
configuration settings?
I know I don't need qemu-i386 to run wine compiled for x86 CPUs on an x86
CPU. I am trying to figure out how to make a version of wine that will work
with qemu-i386, after I figure this out I intend to move the wine
installation over to a sparc CPU.
Thank you for your time,
James Supancic
[-- Attachment #2: Type: text/html, Size: 712 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU?
2006-06-01 1:00 [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU? James Supancic
@ 2006-06-01 3:36 ` Joshua Root
2006-06-02 23:53 ` James Supancic
0 siblings, 1 reply; 5+ messages in thread
From: Joshua Root @ 2006-06-01 3:36 UTC (permalink / raw)
To: arrummzen; +Cc: qemu-devel
James Supancic wrote:
> When I run
> qemu-i386 /usr/bin/wine
> I get
> qemu: uncaught target signal 11 (Segmentation fault) - exiting
>
> I know I don't need qemu-i386 to run wine compiled for x86 CPUs on an
> x86 CPU. I am trying to figure out how to make a version of wine that
> will work with qemu-i386, after I figure this out I intend to move the
> wine installation over to a sparc CPU.
Qemu's user mode emulation only works for Linux -> Linux at the moment,
i.e. programs compiled for Linux can be run on a Linux host. (The useful
part is of course that programs compiled for a different CPU
architecture than the host's can be run.)
However, encouraging progress has been made on qemu-darwin-user, which
will do what you want to do. See here:
http://wiki.opendarwin.org/index.php/Darwine:qemu-darwin-user
- Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU?
2006-06-01 3:36 ` Joshua Root
@ 2006-06-02 23:53 ` James Supancic
2006-06-03 3:38 ` Joshua Root
2006-06-03 9:21 ` Johannes Schindelin
0 siblings, 2 replies; 5+ messages in thread
From: James Supancic @ 2006-06-02 23:53 UTC (permalink / raw)
To: Joshua Root, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
But, I am using a version of wine on Linux compiled for Linux? wine is a
Linux program is it not?
I got the segfault when I ran
qemu-i386 /usr/bin/wine
when I run file /usr/bin/wine I get
/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped.
I should be able to run 32-bit ELF executable compiled for Intel 80386 CPUs
with qemu-i386, shouldn't I?
Note that, I didn't even try to run a Win32 executable with wine, I just
tried to run "wine", it should have printed its command line options/help
and exited without doing anything strange...
Thank you for your time,
James Supancic
On 5/31/06, Joshua Root <josh_root@users.sourceforge.net> wrote:
>
> James Supancic wrote:
> > When I run
> > qemu-i386 /usr/bin/wine
> > I get
> > qemu: uncaught target signal 11 (Segmentation fault) - exiting
> >
> > I know I don't need qemu-i386 to run wine compiled for x86 CPUs on an
> > x86 CPU. I am trying to figure out how to make a version of wine that
> > will work with qemu-i386, after I figure this out I intend to move the
> > wine installation over to a sparc CPU.
>
> Qemu's user mode emulation only works for Linux -> Linux at the moment,
> i.e. programs compiled for Linux can be run on a Linux host. (The useful
> part is of course that programs compiled for a different CPU
> architecture than the host's can be run.)
>
> However, encouraging progress has been made on qemu-darwin-user, which
> will do what you want to do. See here:
> http://wiki.opendarwin.org/index.php/Darwine:qemu-darwin-user
>
> - Josh
>
[-- Attachment #2: Type: text/html, Size: 2087 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU?
2006-06-02 23:53 ` James Supancic
@ 2006-06-03 3:38 ` Joshua Root
2006-06-03 9:21 ` Johannes Schindelin
1 sibling, 0 replies; 5+ messages in thread
From: Joshua Root @ 2006-06-03 3:38 UTC (permalink / raw)
To: arrummzen; +Cc: qemu-devel
James Supancic wrote:
> But, I am using a version of wine on Linux compiled for Linux? wine is a
> Linux program is it not?
Oops, I wasn't paying attention and thought your message was posted to
darwine-devel. Sorry!
- Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU?
2006-06-02 23:53 ` James Supancic
2006-06-03 3:38 ` Joshua Root
@ 2006-06-03 9:21 ` Johannes Schindelin
1 sibling, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2006-06-03 9:21 UTC (permalink / raw)
To: qemu-devel; +Cc: Joshua Root
Hi,
On Fri, 2 Jun 2006, James Supancic wrote:
> But, I am using a version of wine on Linux compiled for Linux? wine is a
> Linux program is it not?
Well, partly so. It actually does quite a lot of fiddling to fake a
Windows memory layout for one. I remember that there were some problems
with stack protectors and other permission restricting Linux setups. It
should be possible to support that startup routine, though.
Just out of interest: Are you running with or without kqemu?
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-03 9:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-01 1:00 [Qemu-devel] qemu-i386 segfaults when running wine on a x86 CPU? James Supancic
2006-06-01 3:36 ` Joshua Root
2006-06-02 23:53 ` James Supancic
2006-06-03 3:38 ` Joshua Root
2006-06-03 9:21 ` Johannes Schindelin
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.