This week's experiment build gdc with tls disabled.

Johannes Pfau nospam at example.com
Thu Dec 19 08:34:22 PST 2013


Am Thu, 19 Dec 2013 15:39:28 +0000
schrieb Iain Buclaw <ibuclaw at gdcproject.org>:

> On 19 December 2013 11:47, Johannes Pfau <nospam at example.com> wrote:
> > Am Tue, 17 Dec 2013 18:48:38 +0100
> > schrieb "Iain Buclaw" <ibuclaw at ubuntu.com>:
> >
> 
> It's compatible with libgcc emutls.

Of course! I totally missed the extern(C) in emutls.d. So emutls.d just
overwrites the default emutls implementation in libgcc?

I guess this works fine for D apps as long as libgcc is a static
library.

What about a shared libgcc? Wouldn't the compiler then pickup the
emutls function in libgcc instead of libgdruntme?

The most difficult case is probably a C app loading a
shared D library?


More information about the D.gnu mailing list