------- Comment #10 from wielemak at science dot uva dot nl 2006-03-03 14:37 ------- Frank,
Thanks a lot! It just comes from man gettid: NAME gettid - get thread identification SYNOPSIS #include <sys/types.h> #include <linux/unistd.h> #include <errno.h> _syscall0(pid_t,gettid) pid_t gettid(void); This code passes configure and is thus included. Should I conclude glibc is broken? Its not my machine, I'm just trying to fix a problem for a SWI-Prolog user ... Anyway, if it doesn't reproduce on the latest Debian I guess it is fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26511