On 2011-07-25 20:49, Walter Bright wrote:
On 7/25/2011 5:57 AM, Jacob Carlborg wrote:
I created a patch back then but it was never applied. The patch
removed those
"hacks" and uses "getsectdatafromheader" instead, but it never fixed
the "Hello
world fails on OSX!" issue completely.
http://d.puremagic.com/issues/show_bug.cgi?id=4854
Why didn't it work?
As you can see in my last post in that issue I didn't get the original
error, which was in "__tls_get_addr". But instead I got a different
error in "strncmp":
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x97655133 in strncmp ()
(gdb) bt
#0 0x97655133 in strncmp ()
#1 0x0000101c in ?? ()
Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb)
Either I messed something up or the solution we thought of couldn't fix
the problem. In either case it might good to apply anyway, it woks on
Snow Leopard.
I guess now that we have github it should be pull request.
--
/Jacob Carlborg