ubuntu 16.04 编译 android 6.0 错误

xiaoxiao2021-02-28  137

错误:

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

转载请注明原文地址: https://www.6miu.com/read-25397.html

最新回复(0)