f5a2b2
diff -up gc-7.6.4/pthread_start.c.dont_disable_exceptions gc-7.6.4/pthread_start.c
f5a2b2
--- gc-7.6.4/pthread_start.c.dont_disable_exceptions	2018-01-26 07:16:17.000000000 -0600
f5a2b2
+++ gc-7.6.4/pthread_start.c	2018-03-14 09:21:34.263477197 -0500
f5a2b2
@@ -22,7 +22,7 @@
f5a2b2
 /* case at the top of the file.  FIXME: it's still unclear whether this */
f5a2b2
 /* will actually cause the exit handler to be invoked last when         */
f5a2b2
 /* thread_exit is called (and if -fexceptions is used).                 */
f5a2b2
-#if defined(__GNUC__) && defined(__linux__)
f5a2b2
+#if 0 && defined(__GNUC__) && defined(__linux__)
f5a2b2
   /* We undefine __EXCEPTIONS to avoid using GCC __cleanup__ attribute. */
f5a2b2
   /* The current NPTL implementation of pthread_cleanup_push uses       */
f5a2b2
   /* __cleanup__ attribute when __EXCEPTIONS is defined (-fexceptions). */