http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55589
--- Comment #4 from michael at talamasca dot ocis.net <michael at talamasca dot ocis.net> 2012-12-13 23:36:53 UTC --- The patch doesn't compile. At __wrap_pthread_create, it starts erroring because the pthread_t and pthread_attr_t types do not exist. It appears that since the module specifically depends on hooking user applications' attempts to use the pthread API, it's unavoidably specific to that API.