This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH]: Fix pause calcellation on sparc64*-linux
- From: David Miller <davem at davemloft dot net>
- To: jakub at redhat dot com
- Cc: drepper at redhat dot com, libc-alpha at sourceware dot org
- Date: Mon, 12 May 2008 17:52:50 -0700 (PDT)
- Subject: Re: [PATCH]: Fix pause calcellation on sparc64*-linux
- References: <20080509.015205.226045652.davem@davemloft.net>
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?