> -----Original Message-----
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> Sent: Thursday, April 12, 2012 8:57 PM
> To: Stefan Weil
> Cc: Kevin Wolf; 'qemu-devel'; Pavel Dovgaluk
> Subject: Re: [Qemu-devel] Fiber switching and stack protection
> 
> 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.

  You are right, this is a compiler bug with non-thread-local TLS.

> >>> 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?

  I've tried to add -mthreads to compiler options but nothing has changed, qemu 
still fails.


Pavel Dovgaluk




Reply via email to