-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check-symbols tests fail on 5.3.1 #3850
Comments
@garretrieger looks like this is from #3842 |
What compiler? |
from full log gcc 12.2.1
|
Same issue on Arch Linux, GCC 12.2.0. Only happens when building with LTO ( |
The symbol also appears in the dynamic symbol table of libharfbuzz-subset for a non-LTO build, but the test does not complain. |
Adjusting the diff --git a/src/check-symbols.py b/src/check-symbols.py
index 11ca28dc7..d0b8bd3c8 100755
--- a/src/check-symbols.py
+++ b/src/check-symbols.py
@@ -31,7 +31,7 @@ for soname in ['harfbuzz', 'harfbuzz-subset', 'harfbuzz-icu', 'harfbuzz-gobject'
symprefix = '_' if suffix == 'dylib' else ''
EXPORTED_SYMBOLS = [s.split ()[2]
- for s in re.findall (r'^.+ [BCDGIRST] .+$', subprocess.check_output (nm.split() + [so]).decode ('utf-8'), re.MULTILINE)
+ for s in re.findall (r'^.+ [BCDGIRSTu] .+$', subprocess.check_output (nm.split() + [so]).decode ('utf-8'), re.MULTILINE)
if not re.match (r'.* %s(%s)\b' % (symprefix, IGNORED_SYMBOLS), s)]
# run again c++filt also if is available The manpage for GNU nm says:
So maybe these all should be considered "exported". |
Thanks. I'm working on a fix. |
Fixed. Thank you all. |
New test failure in 5.3.1:
The text was updated successfully, but these errors were encountered: