Re: Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk")

Tom Tromey
2012-09-06T19:30:02Z

>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:

Yit> Here's the corresponding bug report for glibc stating that it is by
Yit> design: http://sourceware.org/bugzilla/show_bug.cgi?id=9939

I asked the local glibc hackers to see if they can fix it.
It seems to me that, while the existing malloc hooks are inherently
broken for multi-threading in the "wrapper" case, there is no deep
reason that mcheck has to use these hooks.

Tom