[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

glibc FTBFS with hurd-hurd_0.5.git20141210-3



glibc (2.19-14~1) FTBFS early. Have I missed something?
The patch ports_h_loop.patch is applied when building hurd.

i586-gnu-gcc-4.8 hurdsig.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall
-Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -pipe
-Wno-parentheses -Wstrict-prototypes 
...
 -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-o .../build-tree/hurd-i386-libc/hurd/hurdsig.o -MD -MP
-MF .../build-tree/hurd-i386-libc/hurd/hurdsig.o.dt
-MT .../build-tree/hurd-i386-libc/hurd/hurdsig.o
In file included from /usr/include/i386-gnu/bits/mutex.h:34:0,
                 from ../libpthread/include/pthread/pthreadtypes.h:83,
                 from ../libpthread/include/pthread/pthread.h:55,
                 from ../libpthread/include/pthread.h:2,
                 from ../include/pthread.h:1,
                 from hurdsig.c:23:
../libpthread/sysdeps/mach/bits/spin-lock.h:33:2: error: #error
__PTHREAD_SPIN_LOCK_INITIALIZER undefined: should be defined by
<lock-intern.h>.
 #error __PTHREAD_SPIN_LOCK_INITIALIZER undefined: should be defined by
<lock-intern.h>.
  ^
In file included from ../libpthread/include/pthread/pthread.h:461:0,
                 from ../libpthread/include/pthread.h:2,
                 from ../include/pthread.h:1,
                 from hurdsig.c:23:
../libpthread/sysdeps/mach/bits/spin-lock-inline.h: In function
‘__pthread_spin_init’:
../libpthread/sysdeps/mach/bits/spin-lock-inline.h:54:13: error:
‘__PTHREAD_SPIN_LOCK_INITIALIZER’ undeclared (first use in this
function)
   *__lock = __PTHREAD_SPIN_LOCK_INITIALIZER;
             ^
../libpthread/sysdeps/mach/bits/spin-lock-inline.h:54:13: note: each
undeclared identifier is reported only once for each function it appears
in
hurdsig.c: In function ‘write_corefile’:
hurdsig.c:309:5: warning: passing argument 3 of ‘__dir_link’ discards
‘const’ qualifier from pointer target type [enabled by default]
     err = __dir_link (coredir, file, name, 1);
     ^
In file included from ../hurd/hurd.h:35:0,
                 from hurdsig.c:27:
/home/srs/DEBs/glibc/glibc-2.19/build-tree/hurd-i386-libc/hurd/hurd/fs.h:346:15: note: expected ‘char *’ but argument is of type ‘const char *’
 kern_return_t __dir_link
               ^
../o-iterator.mk:9: recipe for target
'.../build-tree/hurd-i386-libc/hurd/hurdsig.o' failed
make[3]: *** 



Reply to: