This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Build fails with build-many-glibcs.py script and target hppa-linux-gnu.
- From: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org, Torvald Riegel <triegel at redhat dot com>
- Date: Tue, 7 Feb 2017 16:03:21 +0100
- Subject: Build fails with build-many-glibcs.py script and target hppa-linux-gnu.
- Authentication-results: sourceware.org; auth=none
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