-
Notifications
You must be signed in to change notification settings - Fork 264
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
[Bug]: lipo -info
Crashes when Given any Static Library Compiled for Android
#2109
Comments
@pirama-arumuga-nainar idk what llvm-lipo is. Is that something we support, or something that was shipped by accident? |
it's only useful for Apple's mach-o "universal" binaries (formerly called "fat" binaries, hence the "lipo" pun). probably shouldn't crash on ELF binaries though! |
Ah, yeah, so not useful for the NDK and probably a thing we should just remove to save space. |
Correct, |
@Sharjeel-Khan has r.android.com/3445363 to remove |
That was my plan. Will do that for r29 (will probably ignore it for r28). |
Description
Steps to Reproduce
Run llvm-lipo with the following library, which was compiled for Android.
libopus.android.zip
Expected Results
The architecture of the library will be printed.
Actual Results
Lipo fails:
Upstream bug
No response
Commit to cherry-pick
No response
I am using a supported NDK
Affected versions
r27, r28
Host OS
Mac
Host OS version
15.1.1
Affected ABIs
arm64-v8a
The text was updated successfully, but these errors were encountered: