美文网首页
编译Android源码出错:error: unsupported

编译Android源码出错:error: unsupported

作者: smartsharp | 来源:发表于2019-10-14 20:38 被阅读0次

Ubuntu16.04 编译Android 源码出错:
out/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_entry: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_exit: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libartd_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_deoptimize: error: unsupported reloc 42

解决办法:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/bin/ld

相关文章

网友评论

      本文标题:编译Android源码出错:error: unsupported

      本文链接:https://www.haomeiwen.com/subject/xcsdmctx.html