[PATCH] New condvar implementation that provides stronger ordering guarantees.
Carlos O'Donell
carlos@redhat.com
Mon Jan 2 03:56:00 GMT 2017
On 12/31/2016 12:37 PM, Joseph Myers wrote:
> In addition to hppa (as expected), it appears the build is broken for
> sparcv9 (previous discussion said it was broken for pre-v9, did the
> expected breakage change as a result of other sparc changes?).
>
> https://sourceware.org/ml/libc-testresults/2016-q4/msg00093.html
>
> For sparc64-linux-gnu I see
>
> pthread_cond_init.c: In function '__pthread_cond_init':
> pthread_cond_init.c:38:17: error: 'struct <anonymous>' has no member named
> '__wrefs'
> cond->__data.__wrefs |= __PTHREAD_COND_SHARED_MASK;
> ^
> pthread_cond_init.c:44:17: error: 'struct <anonymous>' has no member named
> '__wrefs'
> cond->__data.__wrefs |= __PTHREAD_COND_CLOCK_MONOTONIC_MASK;
> ^
> and various such errors for sparcv9-linux-gnu.
My opinion is that this has to get fixed by the ports maintainer
for SPARC, just like I'll fix this for hppa in the coming week.
You need to adapt the pthreadtypes.h structure definition
to match the same changes being done to the other architectures.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list