]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd 64bit: Add missing libanl
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 11:35:54 +0000 (13:35 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 11:36:14 +0000 (13:36 +0200)
The move of libanl to libc was in glibc 2.34 for nptl only.

resolv/Makefile
sysdeps/htl/Makeconfig
sysdeps/mach/hurd/x86_64/libanl.abilist [new file with mode: 0644]
sysdeps/nptl/Makeconfig

index 5128bd0bc16d4748b1c37087b504cc5851695c19..054b1fa36ca5b68acb007ecc6307b7a0c5e362b2 100644 (file)
@@ -186,7 +186,7 @@ libresolv-routines := \
   resolv-deprecated \
   # libresolv-routines
 
-ifeq ($(have-GLIBC_2.34)$(have-thread-library),yesyes)
+ifeq ($(have-anl-library),yes)
 # Empty compatibility library for old binaries.
 extra-libs += libanl
 libanl-routines += libanl-compat
index f8b321c8d23a0f4d6e2d631c5e17f1a844d377fe..ab22373ae18159702f935a057dd71776033fa1a5 100644 (file)
@@ -2,6 +2,7 @@
 # This gets included at the end of the main glibc Makeconfig.
 
 have-thread-library = yes
+have-anl-library = yes
 
 shared-thread-library = $(common-objpfx)htl/libpthread.so
 static-thread-library = $(..)htl/libpthread_syms.a $(common-objpfx)htl/libpthread.a $(common-objpfx)mach/libmachuser.a $(common-objpfx)hurd/libhurduser.a
diff --git a/sysdeps/mach/hurd/x86_64/libanl.abilist b/sysdeps/mach/hurd/x86_64/libanl.abilist
new file mode 100644 (file)
index 0000000..c0a6a00
--- /dev/null
@@ -0,0 +1,4 @@
+GLIBC_2.38 gai_cancel F
+GLIBC_2.38 gai_error F
+GLIBC_2.38 gai_suspend F
+GLIBC_2.38 getaddrinfo_a F
index 2ce1aa7347266b281f73cf816245b7ad59997cbc..77aedd1e73c5a9457ae33e158e1ce7d6d776aaf5 100644 (file)
@@ -19,6 +19,7 @@
 # This gets included at the end of the main glibc Makeconfig.
 
 have-thread-library = yes
+have-anl-library = $(have-GLIBC_2.34)
 
 # The thread library is integrated.
 shared-thread-library =