diff --git a/src/build/linux/sysroot_scripts/reversion_glibc.py b/src/build/linux/sysroot_scripts/reversion_glibc.py index 8651386ccb..357bb1973f 100755 --- a/src/build/linux/sysroot_scripts/reversion_glibc.py +++ b/src/build/linux/sysroot_scripts/reversion_glibc.py @@ -73,7 +73,7 @@ for line in stdout.decode("utf-8").split('\n'): continue version = [int(part) for part in match.group(1).split('.')] - if version < MAX_ALLOWED_GLIBC_VERSION: + if version <= MAX_ALLOWED_GLIBC_VERSION: old_supported_version = supported_version.get(base_name, ([-1], -1)) supported_version[base_name] = max((version, index), old_supported_version) if is_default: diff --git a/src/build/linux/sysroot_scripts/sysroot-creator.sh b/src/build/linux/sysroot_scripts/sysroot-creator.sh index bf9b435b8e..7586b01a13 100644 --- a/src/build/linux/sysroot_scripts/sysroot-creator.sh +++ b/src/build/linux/sysroot_scripts/sysroot-creator.sh @@ -398,7 +398,7 @@ HacksAndPatchesARM64() { HacksAndPatchesCommon aarch64 linux-gnu true # Skip reversion_glibc.py. Glibc is compiled in a way where many libm math # functions do not have compatibility symbols for versions <= 2.17. - # ReversionGlibc aarch64 linux-gnu + ReversionGlibc aarch64 linux-gnu } HacksAndPatchesARMEL() {