error: unsupported reloc 43
作者:互联网
在Ubuntu 16.04.5 LTS编译android 5.1报错
[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) ####
参考
https://blog.csdn.net/u014770862/article/details/52624851
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
修改后重新make ok
标签:17,19,linux,43,unsupported,libnativehelper,reloc,error 来源: https://www.cnblogs.com/tid-think/p/11066470.html