This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Don't rely on having LP64 in semaphores if 64b atomic ops are available.
- From: Torvald Riegel <triegel at redhat dot com>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: GLIBC Devel <libc-alpha at sourceware dot org>, "Maciej W. Rozycki" <macro at linux-mips dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Fri, 23 Jan 2015 18:56:23 +0100
- Subject: Re: [PATCH] Don't rely on having LP64 in semaphores if 64b atomic ops are available.
- Authentication-results: sourceware.org; auth=none
- References: <1421951065 dot 4572 dot 47 dot camel at triegel dot csb> <1421953076 dot 28889 dot 137 dot camel at ubuntu-sellcey>
On Thu, 2015-01-22 at 10:57 -0800, Steve Ellcey wrote:
> On Thu, 2015-01-22 at 19:24 +0100, Torvald Riegel wrote:
> > This attempts to fix an issue in the new semaphore implementation for
> > archs that provide 64b atomic ops but do not use an LP64 data model.
> > This affects MIPS N32 ABI and x32 too I guess.
> >
> > Steve, can you test this patch please? I'll do the same on x86_64-linux
> > in the meantime.
>
> I was able to build glibc with this patch (all 3 MIPS ABI's). I haven't
> run any tests, but the builds all look OK.
I have tested this on x86_64-linux and no regressions. Will commit this
early next week unless there are any objections.