- Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
Description
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:
$ /Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo -info libopus.a Non-fat file: libopus.a is architecture: PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace. Stack dump: 0. Program arguments: /Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo -info libopus.a #0 0x000000010481c590 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x1001c4590) #1 0x000000010481af18 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x1001c2f18) #2 0x000000010481cecc (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x1001c4ecc) #3 0x0000000190b44184 (/usr/lib/system/libsystem_platform.dylib+0x180484184) #4 0x00000001047b6164 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x10015e164) #5 0x0000000104660fc4 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x100008fc4) #6 0x0000000104661720 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x100009720) #7 0x000000010465f138 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x100007138) #8 0x000000010465e65c (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x10000665c) #9 0x0000000104665754 (/Users/guy/Library/Android/sdk/ndk/28.0.12674087/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-lipo+0x10000d754) #10 0x000000019078c274 Segmentation fault: 11 Upstream bug
No response
Commit to cherry-pick
No response
I am using a supported NDK
- I have checked and the NDK I'm using is currently supported
Affected versions
r27, r28
Host OS
Mac
Host OS version
15.1.1
Affected ABIs
arm64-v8a
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Awaiting triage