[PATCH]: Fix pause calcellation on sparc64*-linux

David Miller davem@davemloft.net
Tue May 13 13:33:00 GMT 2008


From: David Miller <davem@davemloft.net>
Date: Fri, 09 May 2008 01:52:05 -0700 (PDT)

> 
> When using -fexceptions based cancellations, pause() does not
> unwind into the cancellation handler correctly on sparc64*-linux.
> 
> This is because sparc64*-*-linux uses the C implementation of
> pause() found under glibc/sysdeps/posix/pause.c
> 
> Therefore, we have to build both ptw-pause.c and ptw-sigsuspend.c
> with -fexceptions so that we can fully unwind into the caller's
> cancellation block.
> 
> This fixes nptl/tst-cancelx4 on sparc64*-linux as well as any
> other test that required pause() cancellation to work with
> -fexceptions
> 
> Please apply, thanks.

Ping?



More information about the Libc-alpha mailing list