[PATCH roland/nptl-sparc] Move remaining SPARC code out of nptl/.
David Miller
davem@davemloft.net
Mon Jun 23 00:01:00 GMT 2014
From: David Miller <davem@davemloft.net>
Date: Fri, 20 Jun 2014 20:13:45 -0700 (PDT)
> From: Roland McGrath <roland@hack.frob.com>
> Date: Fri, 20 Jun 2014 17:16:28 -0700 (PDT)
>
>> I've committed it. Please draw my attention to any follow-on fixes you
>> find necessary (or even just desirable), so I can be on the lookout not to
>> repeat mistakes with other machines.
>
> Will do.
There appears to be a problem with putting this stuff under sysdeps/sparc/nptl,
in that header files under nptl/sysdeps/unix/sysv/linux/ will be choosen first.
As a result, sysdeps/sparc/nptl/internaltypes.h won't be used, instead we end up
using nptl/sysdeps/unix/sysv/linux/internaltypes.h.
This leads to the build failing:
../sysdeps/sparc/nptl/pthread_barrier_destroy.c: In function ‘pthread_barrier_destroy’:
../sysdeps/sparc/nptl/pthread_barrier_destroy.c:32:25: error: dereferencing pointer to incomplete type
...
etc.
I can't think of an easy way to fix this.
More information about the Libc-alpha
mailing list