http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179
--- Comment #16 from Patrick Marlier <patrick.marlier at gmail dot com> 2012-02-23 15:49:26 UTC --- Created attachment 26735 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26735 proposal fix I have also started a patch (not tested at all) but I am more extreme in the approach and confines the change to boehm-gc and darwin x86/x86_64 (Lion doesn't support PPC, right?). Does the change to x86 is required? I am not sure... This is a workaround for 4.7 but I think boehm-gc should be updated for 4.8? Jack/Iain/Mike, I think it is wise to let you fix it since I have no access to a darwin11. PR boehm-gc/52179 * include/private/gcconfig.h (DARWIN): Define STACKBOTTOM with pthread_get_stackaddr_np when available. * configure.ac (THREADS): Check availability of pthread_get_stackaddr_np on *-*-darwin*. * configure: Regenerate.