mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
partial bitcoin#23511: require glibc 2.18+
This commit is contained in:
parent
d37f30ce46
commit
07bd5977e5
@ -586,7 +586,7 @@ CXXFLAGS="$TEMP_CXXFLAGS"
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"
|
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO"
|
||||||
|
|
||||||
AC_ARG_WITH([utils],
|
AC_ARG_WITH([utils],
|
||||||
[AS_HELP_STRING([--with-utils],
|
[AS_HELP_STRING([--with-utils],
|
||||||
@ -994,9 +994,6 @@ 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
|
if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && test "x$use_glibc_compat" = xno; }; then
|
||||||
TEMP_LDFLAGS="$LDFLAGS"
|
TEMP_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS"
|
LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS"
|
||||||
|
@ -18,35 +18,31 @@ from typing import List, Optional
|
|||||||
|
|
||||||
import pixie
|
import pixie
|
||||||
|
|
||||||
# Debian 8 (Jessie) EOL: 2020. https://wiki.debian.org/DebianReleases#Production_Releases
|
# Debian 9 (Stretch) EOL: 2022. https://wiki.debian.org/DebianReleases#Production_Releases
|
||||||
#
|
#
|
||||||
# - g++ version 4.9.2 (https://packages.debian.org/search?suite=jessie&arch=any&searchon=names&keywords=g%2B%2B)
|
# - g++ version 6.3.0 (https://packages.debian.org/search?suite=stretch&arch=any&searchon=names&keywords=g%2B%2B)
|
||||||
# - libc version 2.19 (https://packages.debian.org/search?suite=jessie&arch=any&searchon=names&keywords=libc6)
|
# - libc version 2.24 (https://packages.debian.org/search?suite=stretch&arch=any&searchon=names&keywords=libc6)
|
||||||
#
|
#
|
||||||
# Ubuntu 16.04 (Xenial) EOL: 2024. https://wiki.ubuntu.com/Releases
|
# Ubuntu 16.04 (Xenial) EOL: 2026. https://wiki.ubuntu.com/Releases
|
||||||
#
|
#
|
||||||
# - g++ version 5.3.1 (https://packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names&suite=xenial§ion=all)
|
# - g++ version 5.3.1
|
||||||
# - libc version 2.23.0 (https://packages.ubuntu.com/search?keywords=libc6&searchon=names&suite=xenial§ion=all)
|
# - libc version 2.23
|
||||||
#
|
#
|
||||||
# CentOS 7 EOL: 2024. https://wiki.centos.org/FAQ/General
|
# CentOS Stream 8 EOL: 2024. https://wiki.centos.org/About/Product
|
||||||
#
|
#
|
||||||
# - g++ version 4.8.5 (http://mirror.centos.org/centos/7/os/x86_64/Packages/)
|
# - g++ version 8.5.0 (http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/)
|
||||||
# - libc version 2.17 (http://mirror.centos.org/centos/7/os/x86_64/Packages/)
|
# - libc version 2.28 (http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/)
|
||||||
#
|
|
||||||
# Taking the minimum of these as our target.
|
|
||||||
#
|
|
||||||
# According to GNU ABI document (https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html) this corresponds to:
|
|
||||||
# GCC 4.8.5: GCC_4.8.0
|
|
||||||
# (glibc) GLIBC_2_17
|
|
||||||
#
|
#
|
||||||
|
# See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html for more info.
|
||||||
|
|
||||||
MAX_VERSIONS = {
|
MAX_VERSIONS = {
|
||||||
'GCC': (4,8,0),
|
'GCC': (4,8,0),
|
||||||
'GLIBC': {
|
'GLIBC': {
|
||||||
pixie.EM_386: (2,17),
|
pixie.EM_386: (2,18),
|
||||||
pixie.EM_X86_64: (2,17),
|
pixie.EM_X86_64: (2,18),
|
||||||
pixie.EM_ARM: (2,17),
|
pixie.EM_ARM: (2,18),
|
||||||
pixie.EM_AARCH64:(2,17),
|
pixie.EM_AARCH64:(2,18),
|
||||||
pixie.EM_PPC64: (2,17),
|
pixie.EM_PPC64: (2,18),
|
||||||
pixie.EM_RISCV: (2,27),
|
pixie.EM_RISCV: (2,27),
|
||||||
},
|
},
|
||||||
'LIBATOMIC': (1,0),
|
'LIBATOMIC': (1,0),
|
||||||
|
@ -13,6 +13,7 @@ These are the dependencies currently used by Dash Core. You can find instruction
|
|||||||
| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) | | No | Yes | |
|
| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) | | No | Yes | |
|
||||||
| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) | | No | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) (Android only) |
|
| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) | | No | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) (Android only) |
|
||||||
| GCC | | [7+](https://gcc.gnu.org/) (C++17 support) | | | |
|
| GCC | | [7+](https://gcc.gnu.org/) (C++17 support) | | | |
|
||||||
|
| glibc | | [2.18](https://www.gnu.org/software/libc/) | | | | |
|
||||||
| HarfBuzz-NG | | | | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) |
|
| HarfBuzz-NG | | | | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) |
|
||||||
| libevent | [2.1.11-stable](https://github.com/libevent/libevent/releases) | No | | |
|
| libevent | [2.1.11-stable](https://github.com/libevent/libevent/releases) | No | | |
|
||||||
| libnatpmp | git commit [4536032...](https://github.com/miniupnp/libnatpmp/tree/4536032ae32268a45c073a4d5e91bbab4534773a) | | No | | |
|
| libnatpmp | git commit [4536032...](https://github.com/miniupnp/libnatpmp/tree/4536032ae32268a45c073a4d5e91bbab4534773a) | | No | | |
|
||||||
|
Loading…
Reference in New Issue
Block a user