-
Notifications
You must be signed in to change notification settings - Fork 53
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
Linker warning "direct access to global weak symbol" #3
Comments
The mangled names mentioned in the warning can be "decrypted" using c++filt:
and
|
It is pretty clear that there must be some sort of discrepancy between the 3rdparty software build (via command line) and the Little Go application build (via Xcode). A first comparison of the command line options used to compile a given .cpp file in both environments did not provide any useful clues. Specifically, the options "-fvisibility=hidden" and "-fvisibility-inlines-hidden" are present in both builds. Note that in the Xcode build the compiler options of an .mm file need to be examined, because .mm files contain C++ code while .m files contain only Objective-C code. For instance, "-fvisibility-inlines-hidden" is missing when .m files are compiled. |
More information:
|
Next steps:
|
Fixed the following 3rd party build issues:
Despite these fixes, the linker warning is still printed in all builds, EXCEPT the simulator build for one of the release/distribute configurations. Maybe a clue can be found by comparing the simulator SDK build settings of the Debug and Release configurations... |
The linker warning disappeared after the Fuego build process was outsourced to the fuego-on-ios project (which includes building Boost and Fuego with clang). |
linked crash reports - Xcode Organizer - None - Crashlytics - Crash report batch #3, consisting of 4 crash reports from a single device (a 6th generation iPad) running iOS 14.4. all crashes occurred in method updateAutoLayoutConstraints of StatusViewController, on this line: self.activityIndicatorSpacingConstraint.constant = 0.0f;
Since upgrading from Xcode 3 to Xcode 4, and the accompanying compiler upgrade,
the build produces the following linker warning:
Note: This issue was moved here from the old bugtracker.
The text was updated successfully, but these errors were encountered: