From 20a30922fbf6ba14e250ca649239af115dbbe7b0 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 19 Apr 2020 20:20:06 +0800 Subject: [PATCH 1/2] doc: note why we can't use thread_local with glibc back compat --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 4c9902efc6..77cd23c0b0 100644 --- a/configure.ac +++ b/configure.ac @@ -861,6 +861,9 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([ ] ) +dnl thread_local is currently disabled when building with glibc back compat. +dnl Our minimum supported glibc is 2.17, however support for thread_local +dnl did not arrive in glibc until 2.18. if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && test "x$use_glibc_compat" = xno; }; then TEMP_LDFLAGS="$LDFLAGS" LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS" From b155fcda5186c59fc4fb2a9eaaf791d132e0ab30 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 21 Apr 2020 10:05:43 +0800 Subject: [PATCH 2/2] doc: fix typo in configure.ac s/liner/linker/ --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 77cd23c0b0..828c7aa7b3 100644 --- a/configure.ac +++ b/configure.ac @@ -256,7 +256,7 @@ AC_ARG_ENABLE([gprof], [enable_gprof=$enableval], [enable_gprof=no]) -dnl Pass compiler & liner flags that make builds deterministic +dnl Pass compiler & linker flags that make builds deterministic AC_ARG_ENABLE([determinism], [AS_HELP_STRING([--enable-determinism], [Enable compilation flags that make builds deterministic (default is no)])],