[hurd,commited] htl: Add missing symbols

Samuel Thibault samuel.thibault@ens-lyon.org
Thu Dec 3 09:50:22 GMT 2020


hurd/hurdsig.c needs to detect whether __pthread_detach and
__pthread_create are available, so they need to be exposed.
---
 htl/Versions  | 2 ++
 hurd/Versions | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/htl/Versions b/htl/Versions
index 4e23c2ed64..95496297e3 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -173,6 +173,8 @@ libpthread {
 
     __cthread_detach;
     __cthread_fork;
+    __pthread_detach;
+    __pthread_create;
     __cthread_keycreate;
     __cthread_getspecific;
     __cthread_setspecific;
diff --git a/hurd/Versions b/hurd/Versions
index aa27f0f098..f37e359ac8 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -140,7 +140,7 @@ libc {
 
   HURD_CTHREADS_0.3 {
     # weak refs to libthreads functions that libc calls iff libthreads in use
-    __cthread_fork; __cthread_detach;
+    __cthread_fork; __pthread_create; __cthread_detach; __pthread_detach;
     __pthread_getattr_np; __pthread_attr_getstack;
 
     # cthreads functions with stubs in libc
-- 
2.29.2



More information about the Libc-alpha mailing list