GDC Compile Error

Daniel Green venix1 at gmail.com
Mon Apr 18 07:42:18 PDT 2011


On 4/18/2011 5:25 AM, %u wrote:
> Thanks, yeah that makes the errors go away fortunately, though it
> still makes me wonder why that's happening. :)
The module expects the following TLS symbols:
_tlstart
_tlsend
_tls_callbacks_a

The GCC TLS emulation prefixes all outputted symbols with ___emutls_:
  ___emutls_t._tlsstart
  ___emutls_v._tlsend

And does not yet have _tls_callback_a which is a Windows specific symbol.

I imagine that the __gshared attribute keeps GCC from identifying that 
they should be prefixed with ___emutls.



More information about the Digitalmars-d mailing list