[llvm-dev] Linking android with lld: aarch64 target

Minseong Kim via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 22 21:29:24 PDT 2017


It would be great if anyone can share your thoughts about the cause and
possibly fix of the error below ?

I would like to know why it is caused and how it can be fixed (if possible)
?

The error message is:

~/llvm/build/install_android/linux-x86/clang-3688880/bin/ld.lld: error:
external/boringssl/linux-aarch64/crypto/sha/sha1-armv8.S:1202: can't create
dynamic relocation R_AARCH64_PREL64 against symbol 'OPENSSL_armcap_P'
defined in out/target/product/hikey/obj/STATIC_LIBRARIES/libcrypto_
intermediates/libcrypto.a(sha1-armv8.o)
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)

cheers,
-- Min
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170323/270b1595/attachment-0001.html>


More information about the llvm-dev mailing list