mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
merge bitcoin#22305: Avoid fcntl64@GLIBC_2.28 in libsqlite3.a
This commit is contained in:
parent
0fcc90cd3a
commit
772ec4c536
@ -33,13 +33,19 @@ import pixie
|
|||||||
# - libc version 2.28 (http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/)
|
# - libc version 2.28 (http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/)
|
||||||
#
|
#
|
||||||
# See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html for more info.
|
# See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html for more info.
|
||||||
|
#
|
||||||
|
# For 32-bit systems the minimum libc version is 2.28 to embrace new fcntl{64} symbols.
|
||||||
|
# It is safer than handling them in the glibc_compat.cpp due to their variadic arguments
|
||||||
|
# with possible different sizes.
|
||||||
|
# See: https://stackoverflow.com/a/58472959
|
||||||
|
#
|
||||||
|
|
||||||
MAX_VERSIONS = {
|
MAX_VERSIONS = {
|
||||||
'GCC': (4,8,0),
|
'GCC': (4,8,0),
|
||||||
'GLIBC': {
|
'GLIBC': {
|
||||||
pixie.EM_386: (2,18),
|
pixie.EM_386: (2,28),
|
||||||
pixie.EM_X86_64: (2,18),
|
pixie.EM_X86_64: (2,18),
|
||||||
pixie.EM_ARM: (2,18),
|
pixie.EM_ARM: (2,28),
|
||||||
pixie.EM_AARCH64:(2,18),
|
pixie.EM_AARCH64:(2,18),
|
||||||
pixie.EM_PPC64: (2,18),
|
pixie.EM_PPC64: (2,18),
|
||||||
pixie.EM_RISCV: (2,27),
|
pixie.EM_RISCV: (2,27),
|
||||||
|
Loading…
Reference in New Issue
Block a user