From: Adhemerval Zanella Date: Wed, 7 Oct 2020 18:24:04 +0000 (-0300) Subject: nptl: Add missing cancellation flags on futex_internal and pselect32 X-Git-Tag: glibc-2.33~431 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a04689ee7a2600a1466354096123c57ccd1e1dc7;p=thirdparty%2Fglibc.git nptl: Add missing cancellation flags on futex_internal and pselect32 It fixes the tst-cancelx{4,5} and tst-cancel24-{static} regression on some platforms (arm and sparc32). Checked on arm-linux-gnueabihf and sparcv9-linux-gnu. --- diff --git a/sysdeps/nptl/Makefile b/sysdeps/nptl/Makefile index a65be3b7ea7..8dfb6fdf1e9 100644 --- a/sysdeps/nptl/Makefile +++ b/sysdeps/nptl/Makefile @@ -18,6 +18,7 @@ ifeq ($(subdir),nptl) libpthread-sysdep_routines += errno-loc futex-internal +CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables endif ifeq ($(subdir),rt) diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index a54eb75d74e..de9e86553b9 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -69,6 +69,7 @@ CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-sync_file_range.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-pselect32.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))" sysdep_headers += sys/mount.h sys/acct.h \