报错如下:
Error: `_obstack@GLIBC_2.2.5' can't be versioned to common symbol '_obstack_compat'
修复方法: 修改代码
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 5786da0aa4..c27a422077 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -116,7 +116,7 @@ int obstack_exit_failure = EXIT_FAILURE;
/* A looong time ago (before 1994, anyway; we're not sure) this global variable
was used by non-GNU-C macros to avoid multiple evaluation. The GNU C
library still exports it because somebody might use it. */
-struct obstack *_obstack_compat;
+struct obstack *_obstack_compat = 0;
compat_symbol (libc, _obstack_compat, _obstack, GLIBC_2_0);
# endif
# endif
reference: https://www.lordaro.co.uk/posts/2018-08-26-compiling-glibc.html
reference: https://forum.slitaz.org/topic/unable-to-compile-glibc-dev-glibc-locale