> I don't think this is quite correct. If it is extern inline > (irregardless if you use inline, __inline or __inline__), it may not > be inlined, but an external reference will be generated. Does our > libpthread contain definitions for these inline functions? > > If not, we will need to add them, by replacting extern inline with a macro: > > #ifndef __PTHREAD_EXTERN_INLINE > #define __PTHREAD_EXTERN_INLINE extern __inline > #endif > > and including a file in the compilation of the library that does > something like: > > #define __PTHREAD_EXTERN_INLINE > #include <pthread.h> > > Or whatever is required.
There are weak aliases from the internal names to the POSIX names. The internal names which are extern inline in the public header files (e.g. sysdeps/mach/bits/spin-lock.h) are correctly included in the library. See ./pthread/pt-spin-inlines.c, for instance. _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd