qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Fiber switching and stack protection


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Fiber switching and stack protection
Date: Thu, 12 Apr 2012 18:57:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Il 12/04/2012 18:31, Stefan Weil ha scritto:
> Am 12.04.2012 12:18, schrieb Paolo Bonzini:
>> Il 12/04/2012 12:13, Kevin Wolf ha scritto:
>>> I guess it's this non-thread-local TLS once again, basically a
>>> compiler bug.
>>>
>>> Paolo, wasn't there a compiler option that works around the problem?
>>>
>> I asked to test it (-D_MT) but never got any answer.
> 
> I'd be surprised if defining _MT helped against compiler bugs.

Well, -mthreads fixed it, and it should be the same as -D_MT
-lmingwthrd.  But we shouldn't need libmingwthrd, or do we?

Paolo

> It will change the declaration of some functions in stdio.h,
> but the buggy compiler will still not create TLS.






reply via email to

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