qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target
@ 2011-08-09 15:53 Sebastian Herbszt
  2011-08-09 16:19 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Herbszt @ 2011-08-09 15:53 UTC (permalink / raw)
  To: qemu-devel Developers

  CC    coroutine-win32.o
coroutine-win32.c:36: error: thread-local storage not supported for this target
coroutine-win32.c:37: error: thread-local storage not supported for this target
make: *** [coroutine-win32.o] Error 1

Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target
  2011-08-09 15:53 [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target Sebastian Herbszt
@ 2011-08-09 16:19 ` Paolo Bonzini
  2011-08-09 16:58   ` Sebastian Herbszt
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2011-08-09 16:19 UTC (permalink / raw)
  To: Sebastian Herbszt; +Cc: qemu-devel Developers

On 08/09/2011 05:53 PM, Sebastian Herbszt wrote:
> CC coroutine-win32.o
> coroutine-win32.c:36: error: thread-local storage not supported for this
> target
> coroutine-win32.c:37: error: thread-local storage not supported for this
> target
> make: *** [coroutine-win32.o] Error 1

You need a newer GCC.  Alternatively we can change it to use 
TlsAlloc/TlsFree, but I would like to support __thread-based TLS always 
(for example for liburcu---userspace RCU...).

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target
  2011-08-09 16:19 ` Paolo Bonzini
@ 2011-08-09 16:58   ` Sebastian Herbszt
  2011-08-10  7:55     ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Herbszt @ 2011-08-09 16:58 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel Developers

Paolo Bonzini wrote:
> On 08/09/2011 05:53 PM, Sebastian Herbszt wrote:
>> CC coroutine-win32.o
>> coroutine-win32.c:36: error: thread-local storage not supported for this
>> target
>> coroutine-win32.c:37: error: thread-local storage not supported for this
>> target
>> make: *** [coroutine-win32.o] Error 1
> 
> You need a newer GCC.  Alternatively we can change it to use 
> TlsAlloc/TlsFree, but I would like to support __thread-based TLS always 
> (for example for liburcu---userspace RCU...).
> 
> Paolo

I guess "gcc version 3.4.5 (mingw32 special)" is no longer supported then?
What's the minimum gcc version needed now?

Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target
  2011-08-09 16:58   ` Sebastian Herbszt
@ 2011-08-10  7:55     ` Paolo Bonzini
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2011-08-10  7:55 UTC (permalink / raw)
  To: Sebastian Herbszt; +Cc: qemu-devel Developers

On 08/09/2011 06:58 PM, Sebastian Herbszt wrote:
>>
>>> CC coroutine-win32.o
>>> coroutine-win32.c:36: error: thread-local storage not supported for this
>>> target
>>> coroutine-win32.c:37: error: thread-local storage not supported for this
>>> target
>>> make: *** [coroutine-win32.o] Error 1
>>
>> You need a newer GCC.  Alternatively we can change it to use
>> TlsAlloc/TlsFree, but I would like to support __thread-based TLS
>> always (for example for liburcu---userspace RCU...).

>
> I guess "gcc version 3.4.5 (mingw32 special)" is no longer supported then?
> What's the minimum gcc version needed now?

IIRC the next-newer GCC for mingw32 was 4.3, everything in the middle 
wasn't supported except by building it yourself.

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-10  7:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 15:53 [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target Sebastian Herbszt
2011-08-09 16:19 ` Paolo Bonzini
2011-08-09 16:58   ` Sebastian Herbszt
2011-08-10  7:55     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).