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
TestWTF tests compilation unit names clash with WTF implementation compilation unit names, causing linker warnings #16858
TestWTF tests compilation unit names clash with WTF implementation compilation unit names, causing linker warnings #16858
Conversation
EWS run on previous version of this PR (hash 332c3d6) |
332c3d6
to
5d9a883
Compare
EWS run on current version of this PR (hash 5d9a883) |
EWS shows the warning count greatly reduced: The macOS-AppleSilicon-Ventura-Debug-Build-EWS build emitted 79 warnings, compared to a recent build on the same queue that emitted 4814. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't meaningfully review the pbxproj change, but the explanation makes good sense, and the XML diff for it would indeed look something like this.
β¦mpilation unit names, causing linker warnings https://bugs.webkit.org/show_bug.cgi?id=224860 rdar://problem/77255847 Reviewed by Alexey Proskuryakov. libWTF.a was being merged into libTestWTF.a, causing a naming collision that resulted in thousands of warnings like Libtool libTestWTF /Volumes/.../usr/bin/libtool: warning same member name (AtomString.o) in output file used for input files: and GenerateDSYMFile TestWTF.dSYM warning: (x86_64) could not find object file symbol for symbol __ZNK3WTF10AtomString23convertToASCIILowercaseEv Instead, move the linkage of libWTF.a down into the TestWTF binary. Tests in TestWTF can have the same file name as their implementation in WTF without symbol name collisions, because they are never part of the same static archive. * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/267099@main
5d9a883
to
ce7e7da
Compare
Committed 267099@main (ce7e7da): https://commits.webkit.org/267099@main Reviewed commits have been landed. Closing PR #16858 and removing active labels. |
ce7e7da
5d9a883