This is the mail archive of the glibc-bugs@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]

[Bug nptl/21016] New: pthread_cond support is broken on hppa


https://sourceware.org/bugzilla/show_bug.cgi?id=21016

            Bug ID: 21016
           Summary: pthread_cond support is broken on hppa
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
                CC: deller at gmx dot de, drepper.fsp at gmail dot com,
                    triegel at redhat dot com
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Trunk build fails here:

gcc ../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c -c -std=gnu11
-fgnu89-in
line  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants
-fno-stack
-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition    
-ft
ls-model=initial-exec      -I../include -I/home/dave/gnu/glibc/objdir/nptl 
-I/home/dave/gnu/glibc/objdir  -I../sysdeps/unix/sysv/linux/hppa 
-I../sysdeps/hppa/
nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux 
-I../sy
sdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet 
-I..
/sysdeps/unix/sysv  -I../sysdeps/unix  -I../sysdeps/posix 
-I../sysdeps/hppa/hpp
a1.1  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee75
4/dbl-64  -I../sysdeps/hppa/fpu  -I../sysdeps/hppa  -I../sysdeps/ieee754 
-I../s
ysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/hppa-linux-g
nu/6/include -isystem /usr/lib/gcc/hppa-linux-gnu/6/include-fixed -isystem
/usr/
include  -D_LIBC_REENTRANT -include /home/dave/gnu/glibc/objdir/libc-modules.h
-
DMODULE_NAME=libpthread -include ../include/libc-symbols.h       -o
/home/dave/g
nu/glibc/objdir/nptl/pthread_cond_init.o -MD -MP -MF
/home/dave/gnu/glibc/objdir/nptl/pthread_cond_init.o.dt -MT
/home/dave/gnu/glibc/objdir/nptl/pthread_cond_i
nit.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);
   ^~~~~~~~~~~~~~~~~
../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/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:53:14: error: ‘struct
<anonymous>’ has no member named ‘__confirmed’
   var->__data.__confirmed = 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:54:14: error: ‘struct
<anonymous>’ has no member named ‘__generation’
   var->__data.__generation = 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:56:14: error: ‘struct
<anonymous>’ has no member named ‘__quiescence_waiters’; did you mean
‘__nwaiters’?
   var->__data.__quiescence_waiters = 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:57:14: error: ‘struct
<anonymous>’ has no member named ‘__clockid’; did you mean ‘__lock’?
   var->__data.__clockid = 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:50:7: error: unused variable
‘tmp’ [-Werror=unused-variable]
   int tmp = 0;        \
       ^
../sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c:30:3: note: in expansion of
macro ‘cond_compat_clear’
   cond_compat_clear (cond);
   ^~~~~~~~~~~~~~~~~
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;
                 ^
./pthread_cond_init.c:44:17: error: ‘struct <anonymous>’ has no member named
‘__wrefs’
     cond->__data.__wrefs |= __PTHREAD_COND_CLOCK_MONOTONIC_MASK;
                 ^
cc1: all warnings being treated as errors
/home/dave/gnu/glibc/objdir/sysd-rules:9: recipe for target
'/home/dave/gnu/glibc/objdir/nptl/pthread_cond_init.o' failed
make[2]: *** [/home/dave/gnu/glibc/objdir/nptl/pthread_cond_init.o] Error 1
make[2]: Leaving directory '/home/dave/gnu/glibc/glibc/nptl'
Makefile:215: recipe for target 'nptl/subdir_lib' failed
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory '/home/dave/gnu/glibc/glibc'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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