> On 08 Apr 2015, at 00:30, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On 7 April 2015 at 22:21, Liviu Ionescu <i...@livius.net> wrote: >> I could not identify if the problem is within qemu or mingw-w64, >> but I would not rule out a problem in qemu. I would first suspect >> a customisation made especially for mingw-w32, which is not >> appropriate for the 64-bit version of mingw-w64. > > I have successfully run QEMU in the past built with the Ubuntu > gcc-mingw-w64 compiler.
yes, if you compile the 32-bit version with the mingw-w64, it works. problems occur only with the 64-bit version. those interested can easily reproduce the problem, both on MSYS2 and Arch. if your tests were indeed done with mingw-w64, the 64-bit toolchain, I guess it was an older version of qemu. all my tests were done with the latest git sources (2.2.92). > My guess is that it's more likely > that the runtime is picking up the wrong version of some mingw > runtime DLL (likely the threading related one), or possibly > that you compiled against the wrong threading DLL. it's not only about my builds, the one included in MSYS2 has the same problem. those interested can also test it easily. > ... and the few who do have some need for Windows > builds generally have a working toolchain setup, obviously). yes, the 64-bit Windows build prepared by Stefan Weil seems to be done with the old mingw-w32 on Windows, not mingw-w64. > If you want to see this fixed you're probably going to need > to investigate it yourself :-( the chances of succeeding this on my Mac are slim... regards, Liviu