Clang and support of thread local storage?

Hi there,

is TLS supported by clang on Haiku?
With my example (basically only a function which contains the variable definition below) I always get:
./ error: thread-local storage is not supported for the current target __thread static int forwardingSlot; ^
With gcc it seems that __thread keyword is compiled fine.

Hmm, sounds like a bug. Can you file an issue over at HaikuPorts?