aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-11-10 16:23:07 +0800
committerfanquake <fanquake@gmail.com>2021-11-16 07:51:24 +0800
commitdbfca4a815d2dbef69f3b634c24b875bc1d22afc (patch)
treecf2102ad4ac16ac1e8a48749c40a512c66b6f129 /configure.ac
parent41e6909c073024e774e5f960f00ebd74758e9d2e (diff)
downloadbitcoin-dbfca4a815d2dbef69f3b634c24b875bc1d22afc.tar.xz
build: require glibc 2.18+ for release builds
From what I can see the only platform this drops support for is CentOS 7. CentOS 7 reached the end of it's "full update" support at the end of 2020. It does receive maintenance updates until 2024, however I don't think supporting glibc 2.17 until 2024 is realistic. Note that anyone wanting to self-compile and target a glibc 2.17 runtime could build with --disable-threadlocal. glibc 2.18 was released in August 2013. https://sourceware.org/legacy-ml/libc-alpha/2013-08/msg00160.html
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 2c6e762d6d..3c035ab614 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1044,9 +1044,6 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
[AC_MSG_RESULT([no])]
)
-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; then
TEMP_LDFLAGS="$LDFLAGS"
LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS"