This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc 2.21 - Machine maintainers, please test your machines.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Chris Metcalf <cmetcalf at ezchip dot com>
- Cc: Torvald Riegel <triegel at redhat dot com>, "Carlos O'Donell" <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, David Miller <davem at davemloft dot net>, Richard Henderson <rth at redhat dot com>, Mike Frysinger <vapier at gentoo dot org>, Andreas Schwab <schwab at suse dot de>, "Joseph S. Myers" <joseph at codesourcery dot com>, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>, Thomas Schwinge <thomas at codesourcery dot com>, Marcus Shawcroft <marcus dot shawcroft at linaro dot org>, Chung-Lin Tang <chunglin_tang at mentor dot com>, Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Sun, 25 Jan 2015 10:12:23 -0800
- Subject: Re: glibc 2.21 - Machine maintainers, please test your machines.
- Authentication-results: sourceware.org; auth=none
- References: <54C2BDD7 dot 7000304 at redhat dot com> <54C3B6D5 dot 3090308 at ezchip dot com> <1422119595 dot 29655 dot 42 dot camel at triegel dot csb> <54C5094A dot 8060300 at ezchip dot com> <54C51D94 dot 6030007 at ezchip dot com>
On Sun, Jan 25, 2015 at 8:45 AM, Chris Metcalf <cmetcalf@ezchip.com> wrote:
> On 1/25/2015 10:18 AM, Chris Metcalf wrote:
>>
>> I'm now running with the following change, to see if tilegx32 will
>> also pass with it; this implements my suggestion of rounding new_sem to
>> an 8-byte boundary explicitly on ILP32 platforms.
>
>
> With my proposed change, tilegx32 (and tilegx64) pass all the tests.
> Repeated
> here with a suitable ChangeLog. Let me know if this is acceptable to commit
> for 2.21.
>
> 2015-01-25 Chris Metcalf <cmetcalf@ezchip.com>
>
> * sysdeps/nptl/internaltypes.h (to_new_sem): Define. Provides new
> behavior for [__HAVE_64B_ATOMICS && !defined (_LP64)].
> * nptl/sem_getvalue.c (__new_sem_getvalue): Use to_new_sem.
> * nptl/sem_init.c (__new_sem_init): Likewise.
> * nptl/sem_post.c (__new_sem_post): Likewise.
> * nptl/sem_wait.c (__new_sem_wait): Likewise.
> (__new_sem_trywait): Likewise.
> * nptl/sem_timedwait.c (sem_timedwait): Likewise.
> * nptl/sem_open.c (sem_open): Add comment about to_new_sem.
>
>
Can you try something similar to siginfo_t in:
sysdeps/unix/sysv/linux/x86/bits/siginfo.h
We had a similar problem on x32 before.
--
H.J.