[dmd-internals] Building Phobos and druntime as a dylib on Mac OS X

Jacob Carlborg doob at me.com
Sun Nov 20 05:58:10 PST 2011


On 17 nov 2011, at 20:58, Walter Bright wrote:
> 
> It is. You can verify by using obj2asm to look at the asm output of dmd.

That's a good idea.

>>  Which would mean that my simple test should fail as well, but it doesn't.
>> 
>> 2. What should happen to the _tls_beg and _tls_end sections when a library is dynamically loaded, i.e. using dlopen?
> 
> I don't really know.

No offense, but I thought if anyone would know this it would be you. I don't know if anyone else, like Sean, would know this but I really think we need to figure this out if we want to support dynamic libraries.

-- 
/Jacob Carlborg



More information about the dmd-internals mailing list