九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 4022|回复: 2
打印 上一主题 下一主题

X3288android5.1编译出错

[复制链接]
跳转到指定楼层
楼主
发表于 2017-7-11 15:22:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: er                                                                                                                                                             ror: out/host/linux-x86/obj32/STATIC_LIBRARIES/libc++_intermediates/libc++.a(thr                                                                                                                                                             ead.o): unsupported reloc 43 against global symbol typeinfo for std::__1::system                                                                                                                                                             _error
external/libunwind/src/x86/Gos-linux.c:301: warning: warning: sigreturn is not i                                                                                                                                                             mplemented and will always fail
external/libunwind/src/x86/Gos-linux.c:301: warning: warning: sigreturn is not i                                                                                                                                                             mplemented and will always fail
external/libcxxabi/src/abort_message.cpp:38: error: unsupported reloc 43
external/libcxxabi/src/cxa_aux_runtime.cpp:24: error: unsupported reloc 43
external/libcxxabi/src/cxa_aux_runtime.cpp:24: error: unsupported reloc 43
external/libcxxabi/src/cxa_aux_runtime.cpp:29: error: unsupported reloc 43
external/libcxxabi/src/cxa_aux_runtime.cpp:29: error: unsupported reloc 43
external/libcxxabi/src/cxa_default_handlers.cpp:59: error: unsupported reloc 43
external/libcxxabi/src/cxa_default_handlers.cpp:106: error: unsupported reloc 43
external/libcxxabi/src/cxa_default_handlers.cpp:116: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:29: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:29: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:54: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:54: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:112: error: unsupported reloc 43
external/libcxxabi/src/cxa_handlers.cpp:120: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:204: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:220: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:249: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:204: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:50: error: unsupported reloc 43
external/libcxxabi/src/cxa_new_delete.cpp:50: error: unsupported reloc 43
external/libcxx/include/exception:102: error: unsupported reloc 43
external/libcxxabi/src/cxa_personality.cpp:462: error: unsupported reloc 43
external/libcxxabi/src/cxa_personality.cpp:1285: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:233: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:233: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:78: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:78: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:370: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:370: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:78: error: unsupported reloc 43
external/libcxxabi/src/private_typeinfo.cpp:382: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:31: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:31: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:23: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:31: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:31: error: unsupported reloc 43
external/libcxxabi/src/stdexcept.cpp:31: error: unsupported reloc 43
external/libcxxabi/src/typeinfo.cpp:24: error: unsupported reloc 43
external/libcxxabi/src/typeinfo.cpp:40: error: unsupported reloc 43
external/compiler-rt/lib/builtins/eprintf.c:32: error: unsupported reloc 43
external/libcxx/src/algorithm.cpp:57: error: unsupported reloc 43
external/libcxx/src/algorithm.cpp:62: error: unsupported reloc 43
ext
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/ostream:268: error: unsupported reloc 43
external/libcxx/include/ostream:277: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43


external/libcxx/src/iostream.cpp:59: error: unsupported reloc 43
external/libcxx/src/iostream.cpp:60: error: unsupported reloc 43
external/libcxx/src/iostream.cpp:64: error: unsupported reloc 43
external/libcxx/src/iostream.cpp:65: error: unsupported reloc 43
external/libcxx/include/streambuf:371: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/streambuf:371: error: unsupported reloc 43
external/libcxx/include/__locale:181: error: unsupported reloc 43
external/libcxx/include/streambuf:371: error: unsupported reloc 43



external/libcxx/src/system_error.cpp:166: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:172: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:178: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:184: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:190: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:196: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:207: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:207: error: unsupported reloc 43
external/libcxx/src/thread.cpp:44: error: unsupported reloc 43
external/libcxx/src/thread.cpp:44: error: unsupported reloc 43
external/libcxx/src/thread.cpp:63: error: unsupported reloc 43
external/libcxx/src/thread.cpp:63: error: unsupported reloc 43
external/libcxx/src/thread.cpp:133: error: unsupported reloc 43
external/libcxx/src/thread.cpp:133: error: unsupported reloc 43
external/libcxx/include/thread:146: error: unsupported reloc 43
external/libcxx/include/thread:149: error: unsupported reloc 43
external/libcxx/include/thread:149: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libc++.so] Error 1

#### make failed to build some targets (05:57 (mm:ss)) ####


回复

使用道具 举报

沙发
 楼主| 发表于 2017-7-11 15:23:46 | 只看该作者
******************************
You have tried to change the API from what has been previously approved.

To make these errors go away, you have two choices:
   1) You can add "@hide" javadoc comments to the methods, etc. listed in the
      errors above.

   2) You can update current.txt by executing the following command:
         make update-api

      To submit the revised current.txt to the main Android repository,
      you will need approval.
******************************

第一次编译的时候爆这个错误,使用make update-api之后,再次编译就爆上面的错误了
回复 支持 反对

使用道具 举报

板凳
发表于 2017-7-11 17:30:32 | 只看该作者
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld  你这个是ubuntu的版本和我们默认编译版本不一样造成的,使用我前面发的命令就可以解决了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-23 05:10 , Processed in 0.017731 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表