]> sourceware.org Git - glibc.git/commitdiff
nptl: Add missing cancellation flags on futex_internal and pselect32
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Oct 2020 18:24:04 +0000 (15:24 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Oct 2020 18:24:04 +0000 (15:24 -0300)
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.

sysdeps/nptl/Makefile
sysdeps/unix/sysv/linux/Makefile

index a65be3b7ea7b8e005632d59af23678342363c9d8..8dfb6fdf1e950c6a5696d0abac6bdfd27cfd1d6a 100644 (file)
@@ -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)
index a54eb75d74e4187528d30c2774db2048b8f1b449..de9e86553b9e38f3903d405ece5dacf2523d50e8 100644 (file)
@@ -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 \
This page took 0.046455 seconds and 5 git commands to generate.