From 6cc992412cd8c8555ca5d67fa2b994e38ccb6c1f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 5 Jan 2021 11:22:25 -0300 Subject: alpha: Provide wait4 for static library [BZ #27150] This ia regression from 09153638cfef91, versioned_symbol acts as weak_alias for !SHARED but it is undefined to avoid non versioned alias from the generic implementation. Checked with a build for alpha-linux-gnu. --- sysdeps/unix/sysv/linux/alpha/wait4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/unix/sysv/linux/alpha/wait4.c b/sysdeps/unix/sysv/linux/alpha/wait4.c index 40df07cc2a..ed425da910 100644 --- a/sysdeps/unix/sysv/linux/alpha/wait4.c +++ b/sysdeps/unix/sysv/linux/alpha/wait4.c @@ -21,6 +21,8 @@ #undef weak_alias #define weak_alias(a, b) #include +#undef weak_alias +#define weak_alias(name, aliasname) _weak_alias (name, aliasname) versioned_symbol (libc, __wait4, wait4, GLIBC_2_1); /* GLIBC_2_0 version is implemented at osf_wait4.c. */ -- cgit v1.2.3