Skip to contentSkip to conversation

OpenBSD/Sparc64 gcc doesn't know about __thread, so build breaks

Qemu-devel Blue Swirl 3 participants 3 messages Aug 29, 2009 – Aug 31, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Hi,

I get this error on OpenBSD/Sparc64:
CC i386-softmmu/monitor.o
/src/qemu/monitor.c:3232: error: thread-local storage not supported for this target
gmake[1]: *** [monitor.o] Error 1

Removing the offending __thread would fix the build.

#1 lore raw
Quoted 7 lines · Blue Swirl

Hi,

I get this error on OpenBSD/Sparc64:
CC i386-softmmu/monitor.o
/src/qemu/monitor.c:3232: error: thread-local storage not supported for this target
gmake[1]: *** [monitor.o] Error 1

Same on MinGW

CC i386-softmmu/monitor.o
/v0.11.0-rc0-564-g757506d/monitor.c:3232: error: thread-local storage not supported for this target make[1]: *** [monitor.o] Error 1

Quoted 1 line

Removing the offending __thread would fix the build.

- Sebastian

#2 lore raw
In reply to Blue Swirl
Quoted 9 lines · Blue Swirl

Hi,

I get this error on OpenBSD/Sparc64:
CC i386-softmmu/monitor.o
/src/qemu/monitor.c:3232: error: thread-local storage not supported for this target
gmake[1]: *** [monitor.o] Error 1

Removing the offending __thread would fix the build.

Ok, just kill it then. I thought it is an easy way to make it future-proof when qemu becomes more parallel. Right now we don't need it though: even with io thread enabled the qemu code is protected by one big lock, we don't have qemu code run truely parallel.

cheers,
Gerd