qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when ac


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)
Date: Tue, 20 Mar 2012 10:57:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

Il 20/03/2012 10:35, Roy Tam ha scritto:
> 2012/3/20 Stefan Weil <address@hidden>:
>> Please try a newer compiler. gcc-4.6.2 compiles thread local storage 
>> correctly, gcc-4.3.3 obviously doesn't.
>> If you can confirm that newer compilers fix this bug, I'd like to close this 
>> ticket.
> 
> I'm using gcc-4.6.2 now.

Please test this suggestion:

>>> Please try these modified configure option which adds the compiler flag 
>>> needed for multithreading:
>>> --extra-cflags="-O0 -pipe -mthreads". For me, -mthreads solved the problem.
>>
>> Yes "-mthreads" switch does workaround the issue.
>> But using "-mthreads" making resulting binaries depend on
>> mingwm10.dll, which is not good.
> 
> Is "-D_MT" enough instead of -mthreads?

Paolo



reply via email to

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