Skip to contentSkip to conversation

coroutine-win32.c:36: error: thread-local storage not supported for this target

Qemu-devel Sebastian Herbszt 2 participants 4 messages Aug 9, 2011 – Aug 10, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Sebastian Herbszt

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

#2 lore raw
Quoted 11 lines · Paolo Bonzini
Quoted 6 lines · Sebastian Herbszt

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

#3 lore raw
Quoted 8 lines · Sebastian Herbszt
Quoted 8 lines
Quoted 7 lines

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

Quoted 7 lines
Quoted 3 lines

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