This is the mail archive of the libc-alpha@sources.redhat.com 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]

is sysdep-cancel.h needed for any linux arch?


Hi,
current glibc cvs fails to compile on linux mips with:

../linuxthreads/sysdeps/pthread/errno-loc.c: In function `__errno_location':
../linuxthreads/sysdeps/pthread/errno-loc.c:39: `pthread_descr' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:39: (Each undeclared identifier is reported only once
../linuxthreads/sysdeps/pthread/errno-loc.c:39: for each function it appears in.)
../linuxthreads/sysdeps/pthread/errno-loc.c:39: parse error before "self"
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: implicit declaration of function `LIBC_THREAD_GETMEM'
../linuxthreads/sysdeps/pthread/errno-loc.c:40: `self' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:40: `p_errnop' undeclared (first use in this function)
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: return makes pointer from integer without a cast

This can be worked around by including <linuxthreads/internals.h> (which
for other archs gets included by sysdep-cancel.h). Compilation of
alloca_cutoff.c fails later with the same problem. So is linuxthreads/
supposed to work at all without sysdep-cancel.h or is it a must have for
every arch?
Regards,
 -- Guido


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