主题 : ubuntu16.04 编译友善android5.0出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 127831
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2016-09-06
最后登录: 2016-10-30
楼主  发表于: 2016-09-07 14:39

 ubuntu16.04 编译友善android5.0出错

unbuntu 16.04编译android5.0出错,以下为部分log。
复制代码
  1. external/libcxx/include/atomic:539:2: error: #error <atomic> is not implemented
  2. art/runtime/atomic.h:155:5: error: 'atomic_thread_fence' is not a member of 'std'
  3. art/runtime/atomic.h:155:30: error: 'memory_order_acquire' is not a member of 'std'
  4. art/runtime/entrypoints/entrypoint_utils.h:50:44: error: 'art::mirror::Class* art::CheckClassInitializedForObjectAlloc(art::mirror::Class*, art::Thread*, bool*)' declared 'static' but never defined [-Werror=unused-function]
  5. art/runtime/entrypoints/entrypoint_utils.h:146:33: error: 'art::mirror::ArtField* art::FindFieldFast(uint32_t, art::mirror::ArtMethod*, art::FindFieldType, size_t)' declared 'static' but never defined [-Werror=unused-function]
  6. art/runtime/entrypoints/entrypoint_utils.h:152:34: error: 'art::mirror::ArtMethod* art::FindMethodFast(uint32_t, art::mirror::Object*, art::mirror::ArtMethod*, bool, art::InvokeType)' declared 'static' but never defined [-Werror=unused-function]
  7. art/runtime/entrypoints/entrypoint_utils.h:158:30: error: 'art::mirror::Class* art::ResolveVerifyAndClinit(uint32_t, art::mirror::ArtMethod*, art::Thread*, bool, bool)' declared 'static' but never defined [-Werror=unused-function]
  8. art/runtime/entrypoints/entrypoint_utils.h:166:31: error: 'art::mirror::String* art::ResolveStringFromCode(art::mirror::ArtMethod*, uint32_t)' declared 'static' but never defined [-Werror=unused-function]
  9. art/runtime/entrypoints/entrypoint_utils.h:171:20: error: 'void art::UnlockJniSynchronizedMethod(jobject, art::Thread*)' declared 'static' but never defined [-Werror=unused-function]
  10. art/runtime/entrypoints/entrypoint_utils.h:177:20: error: 'void art::CheckSuspend(art::Thread*)' declared 'static' but never defined [-Werror=unused-function]
  11. cc1plus: all warnings being treated as errors