Fix arm64 build requiring glibc 2.29

https://bugs.chromium.org/p/chromium/issues/detail?id=1309965#c5
This commit is contained in:
klzgrad 2022-10-06 00:14:04 +08:00
parent 2a968556c4
commit 077d788a4a
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ jobs:
uses: actions/cache@v2
with:
path: src/out/sysroot-build/bullseye/bullseye_*
key: sysroot-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-v${{ env.CACHE_EPOCH }}
key: sysroot-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-fixbugrefresh-v${{ env.CACHE_EPOCH }}
- id: ccache-timestamp
run: echo "::set-output name=date::$(date +%s)"
- name: Cache ccache files

View File

@ -71,7 +71,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:

View File

@ -427,7 +427,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() {