qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] coroutine: Fix win32 variant for older mingw32


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] coroutine: Fix win32 variant for older mingw32 compilers
Date: Wed, 21 Nov 2012 20:11:54 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

Am 21.11.2012 15:38, schrieb Paolo Bonzini:
Il 21/11/2012 15:33, malc ha scritto:
Leaking leader is a bit bad, but it looks ok for 1.3.
Hmm. A TLS destructor is apparently not available. Is there some "on
thread termination" callback mechanism on Windows? Didn't find one on
first glance.

Dlls receive something like THREAD_DETTACH in it's startup routine or
something like that if my memory serves me.
Only DLLs.

But this sounds like deja-vu.  I'm pretty sure in the past we just
decided that this compiler is not supported (of course it's bad that
it's silent).  Stefan, do you remember the details?

Paolo

Debian cross works with -mthread.The issue was discussed here:

https://bugs.launchpad.net/qemu/+bug/932487

Jan, I don't think your patch should be applied.

Current MinGW / MinGW-w64 compilers work, so those users
which compile and use QEMU on Windows won't have a problem.
With MinGW-w64, it is even possible to compile QEMU with nearly
no warnings :-)

Debian cross development is full of difficulties. Passing an extra
compiler option like -mthread is only one of these difficulties.
I updated http://wiki.qemu.org/Hosts/W32, so anybody who really
wants to run cross compilations on Debian can get more information
there.

We could add a check to configure and add -mthread automatically.
Up to now, there was no consensus whether this is wanted because
-mthread adds a library to QEMU's dependencies.

Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]