On 5 Jun 2015 08:05, "Dan Olson via D.gnu" <d.gnu@puremagic.com> wrote:
>
> Dan Olson <gorox@comcast.net> writes:
>
> > Looks like I need to track down missing symbols from rt.tlsgc now. I
> > think it is becoming a fun puzzle :-) The arm stuff can wait.
>
> How do I tell gdc that OS X needs target specific underscore "_" prefix
> added to pragma(mangle, name)?  thread.d uses
> core.internal.traits.externDFunc.  That is cause.  For now I worked
> around with:
>
> pragma(mangle, "_"~mangleFunc!T(fqn)) mixin(decl);

That's interesting, it should do that for you automatically, there should be only one reason why that doesn't happen, and I don't use it for pragma mangle.