[uclibc-ng-devel] [PATCH] NPTL: fix CFLAGS for cancellation points

Waldemar Brodkorb wbx at uclibc-ng.org
Tue Sep 15 22:51:19 CEST 2015


Hi Max,
Max Filippov wrote,

> Stack unwinding that happens during NPTL thread cancellation needs
> cancellable syscall wrapper functions to be compiled with -fexceptions
> -fasynchronous-unwind-tables to be able to unwind to cleanup handlers
> registered before syscall invocation.
> 
> Add these flags for all cancellable syscall wrappers.

Thanks, wonderful, reduces test failure for ARM to just 6:
FAIL test-double got 1 expected 0
FAIL test-float got 1 expected 0
FAIL test-idouble got 1 expected 0
FAIL test-ifloat got 1 expected 0
FAIL tst-signal7 got 1 expected 0
FAIL tst-tls16 got 1 expected 0

Committed and pushed,
 best regards
  Waldemar


More information about the devel mailing list