mars armeabi xlog编译失败

js4nwp54  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(52)

[ 92%] Building CXX object comm/CMakeFiles/comm.dir/jni/util/comm_function.cc.o
[ 92%] Building CXX object comm/CMakeFiles/comm.dir/jni/util/scope_jenv.cc.o
[ 93%] Building CXX object comm/CMakeFiles/comm.dir/jni/util/scoped_jstring.cc.o
[ 95%] Building CXX object comm/CMakeFiles/comm.dir/jni/util/var_cache.cc.o
In file included from /Users/huyang67/Downloads/mars-master/mars/comm/jni/platform_comm.cc:33:
In file included from /Users/huyang67/Downloads/mars-master/mars/comm/../../mars/comm/coroutine/coroutine.h:18:
In file included from /Users/huyang67/Downloads/mars-master/mars/comm/../boost/coroutine/all.hpp:14:
In file included from /Users/huyang67/Downloads/mars-master/mars/comm/../boost/coroutine/protected_stack_allocator.hpp:12:
/Users/huyang67/Downloads/mars-master/mars/comm/../boost/coroutine/posix/protected_stack_allocator.hpp:71:19: warning: unused variable 'result' [-Wunused-variable]
const int result( ::mprotect( limit, traits_type::page_size(), PROT_NONE) );
^
1 warning generated.
[ 95%] Linking CXX static library libcomm.a
[ 95%] Built target comm
make[1]: *** [CMakeFiles/marsxlog.dir/rule] Error 2
make: *** [marsxlog] Error 2
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!

配置是这样的。
export ADB=/Users/huyang67/Library/Android/sdk/platform-tools
export PATH=$PATH:$ADB
export NDK_ROOT=/Users/huyang67/android-ndk-r16b
export PATH=$PATH:/Users/huyang67/android-ndk-r16b
export CMAKE=/Users/huyang67/Library/Android/sdk/cmake/3.10.2.4988404/bin/
export PATH=$CMAKE:$PATH

uklbhaso

uklbhaso1#

In file included from /Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/uECC.c:177:
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
".syntax unified \n\t"
^
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
[ 12%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/gregorian/greg_weekday.cpp.o
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
[ 14%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/date_time/src/posix_time/posix_time_types.cpp.o
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
/Users/huyang67/Downloads/mars-master/mars/log/crypt/micro-ecc-master/asm_arm.inc:534:9: error: inline assembly requires more registers
than available
[ 15%] Building CXX object boost/CMakeFiles/mars-boost.dir/libs/exception/src/clone_current_exception_non_intrusive.cpp.o
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[ 17%] Building CXX object comm/CMakeFiles/comm.dir/alarm.cc.o
20 errors generated.
make[3]: *** [xlog/CMakeFiles/xlog.dir/crypt/micro-ecc-master/uECC.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....

njthzxwz

njthzxwz2#

已经移除armeabi的支持了,请使用armeabi-v7a架构

相关问题