在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!) 创芯人才网--重磅上线啦!
查看: 3517|回复: 1

[求助] android6 编译armv5与armv6 的时候出现如下错误,麻烦汇编小哥帮忙解决下

[复制链接]
发表于 2016-3-10 21:02:37 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=idea6410
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te-vfp
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-27-generic-x86_64-with-Ubuntu-15.10-wily
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
OUT_DIR=out


ninja: Entering directory `.'
[  0% 4/24219] target thumb C: libc <= bionic/libc/arch-common/bionic/crtbegin_so.c
[  0% 5/24219] target thumb C: libc <= bionic/libc/arch-arm/bionic/atexit_legacy.c
[  0% 6/24219] target thumb C: libc <= bionic/libc/arch-arm/bionic/exidx_dynamic.c
[  0% 7/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_bionic_ndk_intermediates/export_includes
[  0% 8/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_bionic_intermediates/export_includes
[  0% 9/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_cxa_intermediates/export_includes
[  0% 10/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_freebsd_intermediates/export_includes
[  0% 11/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_dns_intermediates/export_includes
[  0% 12/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_malloc_intermediates/export_includes
[  0% 13/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_gdtoa_intermediates/export_includes
[  0% 14/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/export_includes
[  0% 15/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_openbsd_intermediates/export_includes
[  0% 16/24219] target thumb C++: libc <= bionic/libc/bionic/libc_init_dynamic.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2629532/bin/clang++ -I external/jemalloc/include -I bionic/libc/stdio -I bionic/libc -I out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates -I out/target/product/idea6410/gen/SHARED_LIBRARIES/libc_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/idea6410/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c    -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -march=armv5t -mtune=xscale -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -fdebug-prefix-map=/proc/self/cwd= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG  -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc  -target arm-linux-androideabi    -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -D_LIBC=1 -Wall -Wextra -Wunused -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=type-limits -Werror -fPIC -DCRT_LEGACY_WORKAROUND -DANDROID_STRICT -std=gnu++14  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast  -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type    -MD -MF out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.d -o out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.o bionic/libc/bionic/libc_init_dynamic.cpp) && (cp out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.d out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.d >> out/target/product/idea6410/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.P)"
bionic/libc/bionic/libc_init_dynamic.cpp:69:16: error: invalid operand for instruction
  void** tls = __get_tls();
               ^
bionic/libc/private/__get_tls.h:36:47: note: expanded from macro '__get_tls'
# define __get_tls() ({ void** __val; __asm__("mrc p15, 0, %0, c13, c0, 3" : "=r"(__val)); __val; })
                                              ^
<inline asm>:1:6: note: instantiated into assembly here
        mrc p15, 0, r0, c13, c0, 3
            ^
1 error generated.
[  0% 16/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_pthread_intermediates/export_includes
[  0% 16/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_openbsd_ndk_intermediates/export_includes
[  0% 16/24219] Export includes file:  -- out/target/product/idea6410/obj/STATIC_LIBRARIES/libc_stack_protector_intermediates/export_includes
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
发表于 2016-3-12 22:54:14 | 显示全部楼层
??????
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-26 10:29 , Processed in 0.013977 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表