zsmjhtn opened a new issue #2820: [Android][honer 8] compiler error in weex 
0.24 on cmake3.6.4111459 && ndk-bundle/r16
URL: https://github.com/apache/incubator-weex/issues/2820
 
 
   ```
   Execution failed for task ':weex_sdk:externalNativeBuildRelease'.
   > Build command failed.
     Error while executing process 
/Users/huangtianning/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with 
arguments {--build 
/Users/huangtianning/and/sdk/.externalNativeBuild/cmake/release/armeabi 
--target weexjss}
     [1/1] Linking CXX shared library 
/Users/huangtianning/and/sdk/build/intermediates/cmake/release/obj/armeabi/libweexjss.so
     FAILED: : && 
/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
  --target=armv5te-none-linux-androideabi 
--gcc-toolchain=/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
 --sysroot=/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/sysroot 
-fPIC -isystem 
/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/sysroot/usr/include/arm-linux-androideabi
 -D__ANDROID_API__=19 -g -DANDROID -ffunction-sections -funwind-tables 
-fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale 
-msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat 
-Werror=format-security -std=c++11  -std=c++1y -march=armv7-a -Oz -DNDEBUG  
-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a --sysroot 
/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/platforms/android-19/arch-arm
 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings 
-Wl,--exclude-libs,libunwind.a 
-L/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/sources/cxx-stl/llvm-libc++/libs/armeabi
 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro 
-Wl,-z,now   
-Wl,--version-script=/Users/huangtianning/and/weex_core/Source/android/jsengine//weexjsserver_version_script.txt
 -Wl,--no-undefined -Wl,-soname,libweexjss.so -shared -shared  -o 
/Users/huangtianning/and/sdk/build/intermediates/cmake/release/obj/armeabi/libweexjss.so
 Source/android/jsengine/CMakeFiles/weexjss.dir/weex_ipc_client.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/weex_ipc_server.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/weex_jsc_utils.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/weex_runtime.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/script_bridge_in_multi_so.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/script_bridge_in_multi_process.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/core_side_in_multi_so.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/core_side_in_multi_process.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/script_side_in_simple.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/bridge/script/script_side_in_queue.cpp.o
 Source/android/jsengine/CMakeFiles/weexjss.dir/object/args/exe_js_args.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/args/init_framework_args.cpp.o
 Source/android/jsengine/CMakeFiles/weexjss.dir/object/args.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/weex_console_object.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/weex_env.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/weex_global_object.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/weex_object_holder.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/object/weex_simple_object.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/init_framework_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/create_app_context_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/create_instance_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/call_js_on_app_context_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/destory_app_context_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/destory_instance_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/exe_js_on_app_with_result.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/update_global_config_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/ctime_callback_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/exe_js_services_task.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/exe_js_on_instance_task.cpp.o
 Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/exe_js_task.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/take_heap_snapshot.cpp.o
 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/impl/native_timer_task.cpp.o
 Source/android/jsengine/CMakeFiles/weexjss.dir/task/weex_task.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/weex_task_queue.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/timer_task.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/timer_queue.cpp.o 
Source/android/jsengine/CMakeFiles/weexjss.dir/task/back_to_weex_core_queue.cpp.o
 Source/android/jsengine/CMakeFiles/weexjss.dir/wson/wson_jsc.cpp.o 
-L/Users/huangtianning/and/weex_core/Source/libs/armeabi 
Source/base/libweexbase.a Source/third_party/IPC/libweexipc.a 
Source/wson/libwson.a -lJavaScriptCore -lWTF -llog -lz -lc -ldl -pthread 
-latomic -lm 
"/Users/huangtianning/Library/Android/sdk/ndk-bundle/r16/sources/cxx-stl/llvm-libc++/libs/armeabi/libc++.a"
 && :
     
/Users/huangtianning/and/weex_core/Source/include/JavaScriptCore/runtime/WriteBarrier.h:136:
 error: undefined reference to 'JSC::JSValue::decode(long long)'
     
/Users/huangtianning/and/weex_core/Source/include/JavaScriptCore/runtime/JSCell.h:277:
 error: undefined reference to 'JSC::JSValue::asCell() const'
     clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
     ninja: build stopped: subcommand failed.
   
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to