https://sourceware.org/bugzilla/show_bug.cgi?id=21131
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #2 from Alan Modra <amodra at gmail dot com> --- I can't build current glibc. I configure with dest=/home/gnu/hppa-linux libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ libc_cv_ssp=no \ ~/src/glibc-current/configure \ --build=x86_64-linux \ --host=hppa-linux \ --prefix="${dest}"/usr \ --with-headers="${dest}"/usr/include \ --enable-kernel=4.4 \ --without-selinux \ --disable-werror Using headers from a recent kernel, and hppa-linux-gcc (GCC) 7.0.0 20170102, I get hppa-linux-gcc ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/alan/build/cross/hppa-linux/glibc/nptl -I/home/alan/build/cross/hppa-linux/glibc -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/hppa/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/hppa/fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /home/local/bin/../lib/gcc/hppa-linux/7.0.0/include -isystem /home/local/bin/../lib/gcc/hppa-linux/7.0.0/include-fixed -isystem /home/gnu/hppa-linux/usr/include -D_LIBC_REENTRANT -include /home/alan/build/cross/hppa-linux/glibc/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -o /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o -MD -MP -MF /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o.dt -MT /home/alan/build/cross/hppa-linux/glibc/nptl/pthread_cond_init.o 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); ^~~~~~~~~~~~~~~~~ [snip more errors related to the same struct] See https://sourceware.org/ml/libc-alpha/2016-05/msg00605.html So, I can't easily reproduce this error. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils