git-cthreads-symbols
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
Commited for 2.33

commit f9ba73d056721ff61160a46438fd8ebf11d9aeee
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Dec 3 10:48:27 2020 +0100

    htl: Add missing symbols

    hurd/hurdsig.c needs to detect whether __pthread_detach and
    __pthread_create are available, so they need to be exposed.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-cthreads-symbols.diff

htl/Versions
hurd/Versions

index 77f7335b9ce39be89956854b3da093cf005e2f9b..63f4583b7a3700a96042ea280ab6da62fef01ea3 100644 (file)
@@ -148,6 +148,8 @@ libpthread {
 
     __cthread_detach;
     __cthread_fork;
+    __pthread_detach;
+    __pthread_create;
     __cthread_keycreate;
     __cthread_getspecific;
     __cthread_setspecific;
index 88aa3388af4b5ea2f13208580a95e268c5e67959..1098085c1db8a854a6c707e13d10d85a1ed62e40 100644 (file)
@@ -144,7 +144,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;
 
     # variables used for detecting cthreads