Quantcast
Channel: CSDN博客移动开发推荐文章
Viewing all articles
Browse latest Browse all 5930

Android问题集锦之五十二:unsupported reloc 43

$
0
0
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/bcc_compat_intermediates/Main.o: unsupported reloc 43 against global symbol llvm::cl::opt<char, false, llvm::cl::parser<char> >::~opt()
frameworks/compile/libbcc/tools/bcc_compat/Main.cpp:139: error: unsupported reloc 43
frameworks/compile/libbcc/tools/bcc_compat/Main.cpp:157: error: unsupported reloc 43
frameworks/compile/libbcc/tools/bcc_compat/Main.cpp:248: error: unsupported reloc 43
frameworks/compile/libbcc/tools/bcc_compat/Main.cpp:269: error: unsupported reloc 43

背景:
ubuntu 14.04上搭建的安卓源码编译环境,成功的编译过。
年后把ubuntu升级到16.04后,今晚第一次编译安卓源码,报错如上。

百思不得姐,终于找到网友的暴力解决方案:

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

原文:http://www.cnblogs.com/blowing-in-the-wind/p/6518076.html

作者:lincyang 发表于2017/6/15 20:23:50 原文链接
阅读:98 评论:0 查看评论

Viewing all articles
Browse latest Browse all 5930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>