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

Steve Ellcey sellcey@mips.com
Thu Jan 22 18:59:00 GMT 2015


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.

Steve Ellcey
sellcey@imgtec.com



More information about the Libc-alpha mailing list