This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New condvar implementation that provides stronger ordering guarantees.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]