九鼎创展论坛

标题: X3288android5.1编译出错 [打印本页]

作者: forever1985    时间: 2017-7-11 15:22
标题: X3288android5.1编译出错
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)) ####



作者: forever1985    时间: 2017-7-11 15:23
******************************
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之后,再次编译就爆上面的错误了
作者: armeasy    时间: 2017-7-11 17:30
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld  你这个是ubuntu的版本和我们默认编译版本不一样造成的,使用我前面发的命令就可以解决了




欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/) Powered by Discuz! X3.2