开发者社区> 问答> 正文

使用ubuntu14.04编译Android5.1系统源码时报Fatal error: invalid -march= option: `armv5te'

host StaticLib: libfdlibm (out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/libfdlibm.a)
Export includes file: libcore/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libjavacore_intermediates/export_includes
host SharedLib: libjavacore (out/host/linux-x86/obj/lib/libjavacore.so)
Notice file: libcore/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libjavacore.so.txt
Notice file: external/zlib/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libz-host.so.txt
Install: out/host/linux-x86/lib64/libz-host.so
Install: out/host/linux-x86/lib64/libjavacore.so
Assembler messages:
Fatal error: invalid -march= option: `armv5te'
make: * [out/target/product/H2a/obj/lib/crtbegin_dynamic1.o] Error 1

展开
收起
其~ 2018-11-15 12:22:27 2587 0
1 条回答
写回答
取消 提交回答
  • 检查下使用的工具链的版本, 看起来是工具链不支持armv5te

    2019-07-17 23:14:25
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载