在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

最新文章

  1. Java读带有BOM的UTF-8文件乱码原因及解决方法
  2. locale的设定及其LANG、LC_ALL、LANGUAGE环境变量的区别
  3. IOS 动画的各种实现方法
  4. mysql索引需要了解的几个注意
  5. java下io文件切割合并功能加配置文件
  6. php测试时不出现错误信息
  7. 关于Sublime Text编辑器的实用技巧
  8. java设计模式之单例设计模式和多例设计模式
  9. HashMap二三事
  10. CentOS 安装 Ansible 以及连接Windows server的办法
  11. 由consequence忽然发现英语也挺有意思
  12. 2017-2018-2 20155225《网络对抗技术》实验五 MSF基础应用
  13. PAT 乙级 1014 福尔摩斯的约会 (20) C++版
  14. Python PyCharm编译器
  15. Locust性能测试5-参数化批量注册
  16. 2018.09.16 loj#10241. 取石子游戏 1(博弈论)
  17. 64位win8.1系统安装intelhaxm
  18. [Z] 用GDB调试程序
  19. ZedGraph类库之基本教程篇
  20. AngularJS取得后台Jason数据显示在页面上

热门文章

  1. BF算法(串模式匹配算法)
  2. CodeForce-808C Tea Party(结构体排序贪心)
  3. python+echarts+flask实现对全国疫情数据的爬取并可视化展示
  4. 安卓学习记录(四)——体温表APP
  5. 【OI】Tex Quotes——UVa 272
  6. win7任务计划提示”该任务映像已损坏或已篡改“
  7. Orchard Core 配置项说明
  8. P4001-[ICPC-Beijing 2006]狼抓兔子【对偶图】
  9. P3335-[ZJOI2013]蚂蚁寻路【dp】
  10. 解除你学习Python自动化测试框架的所有疑惑,开启学习直通车