[hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol

Message ID 20230519184541.1546043-1-samuel.thibault@ens-lyon.org
State Committed
Commit 6af84886adb7105d452c0ffec21b5eed1ffa2d65
Series [hurd,commited] hurd 64bit: Re-introduce gai_suspend symbol |


Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Testing passed

Commit Message

Samuel Thibault May 19, 2023, 6:45 p.m. UTC
  4d3f846b88d3 ("hurd: Fix __TIMESIZE on x86_64") incidentaly dropped it
because it fixed hurd 64bit into setting __TIMESIZE to 64, and that case
was not having gai_suspend defined yet.
 resolv/gai_suspend.c | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index 977e8d653d..dbd0429f01 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -155,6 +155,8 @@  versioned_symbol (libc, ___gai_suspend_time64, gai_suspend, GLIBC_2_34);
 #  if OTHER_SHLIB_COMPAT (libanl, GLIBC_2_2_3, GLIBC_2_34)
 compat_symbol (libanl, ___gai_suspend_time64, gai_suspend, GLIBC_2_2_3);
 #  endif
+# else
+weak_alias (___gai_suspend_time64, gai_suspend)
 # endif /* PTHREAD_IN_LIBC */
 #else /* __TIMESIZE != 64 */