From c8d324269252217455ef8783144223d7c900e7bf Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 18 2020 15:00:19 +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). */