|
From: Konstantin S. <kon...@gm...> - 2009-06-22 14:46:45
|
Hi, Did anyone try to port helgrind or drd to Mac? It looks like Mac's pthread library requires special attention. For example, darwin's pthread_cond_wait() calls pthread_mutex_lock (on Linux, pthread_cond_wait() doesn't do that). Some other similar problems are still hiding from us... :) --kcc |
|
From: Julian S. <js...@ac...> - 2009-06-22 15:09:58
|
> Did anyone try to port helgrind or drd to Mac? Not me. I think Nick gave it a go, but not sure how far he got. > It looks like Mac's pthread library requires special attention. > For example, darwin's pthread_cond_wait() calls pthread_mutex_lock (on > Linux, pthread_cond_wait() doesn't do that). > Some other similar problems are still hiding from us... :) Sounds likely. I'm expecting it to be pretty swampy. J |
|
From: Nicholas N. <n.n...@gm...> - 2009-06-23 02:31:10
|
On Tue, Jun 23, 2009 at 1:11 AM, Julian Seward<js...@ac...> wrote: > >> Did anyone try to port helgrind or drd to Mac? > > Not me. I think Nick gave it a go, but not sure how far he got. I made some progress. Initially all the tests were failing horrendously. After a bit of work about only about half of them were failing horrendously. Currently the tests aren't run on Darwin, though, you'll need to modify TEST_TOOLS in Makefile.am to change that. I know that some of the intercepts in hg_intercepts.c need to be tweaked, because on Mac they lack '@' suffixes. There's a "DDD" comment about that in there. Beyond that, I don't know, there's probably more stuff. Nick |
|
From: Bart V. A. <bar...@gm...> - 2009-06-22 16:16:55
|
On Mon, Jun 22, 2009 at 4:46 PM, Konstantin Serebryany<kon...@gm...> wrote: > Did anyone try to port helgrind or drd to Mac? > > It looks like Mac's pthread library requires special attention. > For example, darwin's pthread_cond_wait() calls pthread_mutex_lock (on > Linux, pthread_cond_wait() doesn't do that). > Some other similar problems are still hiding from us... :) Regarding DRD: I did not yet try to port it to Darwin. Bart. |