From 0b1f68b1d5659b01fde7636dc77d13f2d82c23f7 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 13:45:45 +0000 Subject: Apply patch gc-7.6.4-dont_disable_exceptions.patch patch_name: gc-7.6.4-dont_disable_exceptions.patch present_in_specfile: true location_in_specfile: 3 --- diff --git a/pthread_start.c b/pthread_start.c index bd4fc4a..eb3d3cb 100644 --- a/pthread_start.c +++ b/pthread_start.c @@ -22,7 +22,7 @@ /* case at the top of the file. FIXME: it's still unclear whether this */ /* will actually cause the exit handler to be invoked last when */ /* thread_exit is called (and if -fexceptions is used). */ -#if defined(__GNUC__) && defined(__linux__) +#if 0 && defined(__GNUC__) && defined(__linux__) /* We undefine __EXCEPTIONS to avoid using GCC __cleanup__ attribute. */ /* The current NPTL implementation of pthread_cleanup_push uses */ /* __cleanup__ attribute when __EXCEPTIONS is defined (-fexceptions). */