is sysdep-cancel.h needed for any linux arch?
Guido Guenther
agx@sigxcpu.org
Thu Jan 2 15:17:00 GMT 2003
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
More information about the Libc-alpha
mailing list