From 4a38b186b412e76ce0c4475285c88f3a2d497d24 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 10 Oct 2020 01:11:56 +0800 Subject: [PATCH] build: Fix glibc symbol pattern --- .../linux/sysroot_scripts/find_incompatible_glibc_symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/linux/sysroot_scripts/find_incompatible_glibc_symbols.py b/src/build/linux/sysroot_scripts/find_incompatible_glibc_symbols.py index d79a89b98b..ad2dd5c3be 100755 --- a/src/build/linux/sysroot_scripts/find_incompatible_glibc_symbols.py +++ b/src/build/linux/sysroot_scripts/find_incompatible_glibc_symbols.py @@ -16,7 +16,7 @@ MAX_ALLOWED_GLIBC_VERSION = [2, 17] def get_replacements(nm_file, max_allowed_glibc_version): - symbol_format = re.compile('\S+ \S+ ([^@]+)@@?(\S+)\n') + symbol_format = re.compile('\S+ \S+ ([^@]+)@@?([^@]+)') version_format = re.compile('GLIBC_[0-9\.]+') symbols = {} for line in nm_file: