[PATCH] Don't rely on having LP64 in semaphores if 64b atomic ops are available.

Torvald Riegel triegel@redhat.com
Fri Jan 23 17:56:00 GMT 2015


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.



More information about the Libc-alpha mailing list