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: Steve Ellcey <sellcey at mips dot com>
- To: Torvald Riegel <triegel at redhat 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: Thu, 22 Jan 2015 10:57:56 -0800
- 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>
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