[PATCH] D146266: gn build: Fix Android build.
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 17:21:15 PDT 2023
aeubanks added a comment.
yeah this was very confusing when I was looking at this
$ fd i386 ~/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/
/usr/local/google/home/aeubanks/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.5/lib/linux/i386/
$ fd i686 ~/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/
...
/usr/local/google/home/aeubanks/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.5/lib/linux/libclang_rt.ubsan_standalone_cxx-i686-android.a # and lots of other compiler-rt libs
/usr/local/google/home/aeubanks/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android/
/usr/local/google/home/aeubanks/repos/chromium/src/third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/
...
building with this patch, I still get `ld.lld: error: unable to find library -l:libunwind.a` for all the different arches
perhaps the Android NDK in Chromium is not the standard one? are you using the one bundled in Chromium?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146266/new/
https://reviews.llvm.org/D146266
More information about the llvm-commits
mailing list