|
From: | Dmitry Moskalchuk |
Subject: | Re: undefined reference to __gnustep_objcxx_personality_v0 |
Date: | Sat, 26 Dec 2015 22:27:18 +0300 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 26/12/15 20:13, David Chisnall wrote:Rereading the assembly, there was one obvious bug. Can you rerun the tests and see if this fixes it? If not, then there are likely some less-obvious bugs hiding. So after some investigation, I've found that libobjc2 start crashing after this commit: https://github.com/gnustep/libobjc2/commit/51071302779fdf6231fa75de133de34bd3efd171 It crashes exactly in the moment of objc_msgSend being called. For some reason it corrupt call stack; obviously, there is kind of overflow bug, or something like that. Even though comment to that commit say " Currently, every objc_msgSend() implementation except for x86-64 is broken", it's not completely clear to me what exactly was done by that commit. I'd very appreciate if you could explain and somehow advise me. -- Dmitry Moskalchuk |
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |