[dmd-internals] Assertion in the linker on Mac OS X

Jacob Carlborg doob at me.com
Sun May 12 13:01:38 PDT 2013


On 12 maj 2013, at 17:53, Michel Fortin <michel.fortin at michelf.ca> wrote:

> I note that your file has L_OBJC_METH_VAR_NAME_0, L_OBJC_METH_VAR_NAME_2, L_OBJC_METH_VAR_NAME_4 (incrementing by two each time) while my old alpha had L_OBJC_METH_VAR_NAME_0, L_OBJC_METH_VAR_NAME_1, L_OBJC_METH_VAR_NAME_2, incrementing by one... I don't think this is the problem though.

I'm pretty sure it's the opposite way. Example, on this line you're incrementing "classnamecount":

https://github.com/michelf/dmd/blob/d-objc/src/objc.c#L378

Then again on line 381.

> Which D file are you using to make this object file?

This one:

https://github.com/jacob-carlborg/dmd/blob/objc_merge/test_objc/runnable/objc_call.d

-- 
/Jacob Carlborg



More information about the dmd-internals mailing list