Build fails with build-many-glibcs.py script and target hppa-linux-gnu.
Stefan Liebler
stli@linux.vnet.ibm.com
Tue Feb 7 15:03:00 GMT 2017
Hi,
I've run build-many-glibcs.py script and recognized that the build fails
for target hppa-linux-gnu due to fails like the following:
hppa-glibc-linux-gnu-gcc old_pthread_cond_init.c -c ...
In file included from ./pthreadP.h:30:0,
from ../sysdeps/unix/sysv/linux/hppa/pthreadP.h:1,
from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:24,
from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:21:
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: In function
â__pthread_cond_initâ:
../sysdeps/unix/sysv/linux/hppa/internaltypes.h:51:14: error: âstruct
<anonymous>â has no member named â__wseqâ
var->__data.__wseq = 0; \
^
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:30:3: note: in
expansion of macro âcond_compat_clearâ
cond_compat_clear (cond);
^~~~~~~~~~~~~~~~~
../sysdeps/unix/sysv/linux/hppa/internaltypes.h:52:14: error: âstruct
<anonymous>â has no member named â__signals_sentâ; did you mean
â__total_seqâ?
var->__data.__signals_sent = 0;
...
../sysdeps/unix/sysv/linux/hppa/internaltypes.h:50:7: error: unused
variable âtmpâ [-Werror=unused-variable]
int tmp = 0; \
In file included from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:39:0,
from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:21:
...
./pthread_cond_init.c: In function â__pthread_cond_init_internalâ:
./pthread_cond_init.c:38:17: error: âstruct <anonymous>â has no member
named â__wrefsâ
cond->__data.__wrefs |= __PTHREAD_COND_SHARED_MASK;
^
hppa-glibc-linux-gnu-gcc old_pthread_cond_wait.c -c ...
In file included from ./pthreadP.h:30:0,
from ../sysdeps/unix/sysv/linux/hppa/pthreadP.h:1,
from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c:24,
from
../sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c:21:
../sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: In function
â__pthread_cond_waitâ:
../sysdeps/unix/sysv/linux/hppa/internaltypes.h:72:7: error: implicit
declaration of function âatomic_compare_exchange_acquire_weak_relaxedâ
[-Werror=implicit-function-declaration]
&& atomic_compare_exchange_acquire_weak_relaxed (value, 1, 2)) \
The build succeeded before commit
ed19993b5b0d05d62cc883571519a67dae481a14 "New condvar implementation
that provides stronger ordering guarantees.".
It seems that at least the required changes in pthreadtypes.h are
missing for hppa.
Torvald, can you please have a look at it?
Bye.
Stefan
More information about the Libc-alpha
mailing list