I am having some problems with building the libpthread addon. I get the error
> ../libpthread/sysdeps/mach/hurd/pt-sysdep.h:38:32: error:
> '_HURD_THREADVAR_DYNAMIC_USER' undeclared (first use in this function)
> #define _HURD_THREADVAR_THREAD _HURD_THREADVAR_DYNAMIC_USER <-- but I
> can't seem to find this
^
> ../libpthread/sysdeps/mach/hurd/pt-sysdep.h:46:33: note: in expansion of
> macro '_HURD_THREADVAR_THREAD'
> __hurd_threadvar_location (_HURD_THREADVAR_THREAD); \
^
> ./pthread/../sysdeps/generic/pt-barrier-wait.c:52:32: note: in expansion of
> macro '_pthread_self'
> struct __pthread *self = _pthread_self ();
I searched the source files for the macros
'_HURD_THREADVAR_DYNAMIC_USER' and '_HURD_THREADVAR_THREAD' and I
can't seem to find them so where are they used? I noticed
'_HURD_THREADVAR_DYNAMIC_USER' used to be in /hurd/hurd/threadvar.h
but now it's removed.
Any ideas?