This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/sem_post] BZ#18434: Fix sem_post EOVERFLOW check for [!__HAVE_64B_ATOMICS].
- From: Torvald Riegel <triegel at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>, "Carlos O'Donell" <carlos at redhat dot com>
- Date: Wed, 20 May 2015 00:24:09 +0200
- Subject: Re: [PATCH roland/sem_post] BZ#18434: Fix sem_post EOVERFLOW check for [!__HAVE_64B_ATOMICS].
- Authentication-results: sourceware.org; auth=none
- References: <20150519221106 dot 7114B2C3A73 at topped-with-meat dot com>
On Tue, 2015-05-19 at 15:11 -0700, Roland McGrath wrote:
> This bug is a regression introduced by the 2.21 semaphore rewrite.
> It affects all machines without __HAVE_64B_ATOMICS.
>
> Tested i686-linux-gnu and arm-nacl, where the new test case fails before
> the fix and passes after it. I didn't test the sparc32 code, but the bug
> and the fix are the same as in the generic code.
>
> This seems appropriate for a 2.21 backport, and I've marked the bug that
> way (I've just added the glibc_2.21 keyword since we didn't have one yet).
Ouch :( Thanks for fixing this!