From f449feb69afa8ed1ff2a1ce2f6a02def6e8c1d85 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 19 Jan 2025 18:41:36 +0800 Subject: [PATCH] Remove dependency on glibc 2.27 --- src/build.sh | 1 + src/build/linux/sysroot_scripts/reversion_glibc.py | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/build.sh b/src/build.sh index 8a99036145..cceeb520ee 100755 --- a/src/build.sh +++ b/src/build.sh @@ -77,6 +77,7 @@ flags="$flags"' enable_backup_ref_ptr_support=false enable_dangling_raw_ptr_checks=false + enable_shadow_metadata=false ' if [ "$WITH_SYSROOT" ]; then diff --git a/src/build/linux/sysroot_scripts/reversion_glibc.py b/src/build/linux/sysroot_scripts/reversion_glibc.py index 7f88dcfa0a..44941e3609 100644 --- a/src/build/linux/sysroot_scripts/reversion_glibc.py +++ b/src/build/linux/sysroot_scripts/reversion_glibc.py @@ -19,10 +19,6 @@ SECTION_PATTERN = re.compile(r"^ *\[ *[0-9]+\] +(\S+) +\S+ + ([0-9a-f]+) .*$") # Some otherwise disallowed symbols are referenced in the linux-chromeos build. # To continue supporting it, allow these symbols to remain enabled. SYMBOL_ALLOWLIST = { - "fts64_close", - "fts64_open", - "fts64_read", - "memfd_create", }