error: unsupported reloc 43

在Ubuntu 16.04.5 LTS編譯android 5.1報錯linux

[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.063]clang: error: linker command failed with exit code 1 (use -v to see invocation)
[19:17:13.063]build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
[19:17:13.063]make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
[19:17:13.063]
[19:17:13.063]#### make failed to build some targets (6 seconds) ####

參考android

https://blog.csdn.net/u014770862/article/details/52624851ui

cp /usr/bin/ld.gold   prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld 

修改後從新make okspa

相關文章
相關標籤/搜索