您的位置:首页 > 移动开发 > Android开发

ubuntu 16.04 编译 android 6.0 错误

2017-07-10 14:05 232 查看
错误:

rebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8//x86_64-linux/bin/ld: error: unsupported reloc  42/43 against global symbol Always crash in
aleatory code and never finish compile code without error 

clang: error: linker command failed with exit code 1 (use -v to see invocation)

暂时解决办法:

I've replaced prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin/ld
with the symlink to /usr/bin/ld.gold, and this fixed the compilation issue. I'm sure if the result is actually working, however
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android