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

x3288编译错误

[复制链接]
跳转到指定楼层
楼主
发表于 2017-6-17 14:06:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
jdk 1.7
#./mk -s编译时出现如下问题

prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/STATIC_LIBRARIES/libc++_intermediates/libc++.a(thread.o): unsupported reloc 43 against global symbol std::__1::__thread_specific_ptr<std::__1::__thread_struct>::~__thread_specific_ptr()
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/STATIC_LIBRARIES/libc++_intermediates/libc++.a(thread.o): unsupported reloc 43 against global symbol std::__1::__thread_specific_ptr<std::__1::__thread_struct>::__at_thread_exit(void*)
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/STATIC_LIBRARIES/libc++_intermediates/libc++.a(thread.o): unsupported reloc 43 against global symbol std::__1::system_error::~system_error()
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/STATIC_LIBRARIES/libc++_intermediates/libc++.a(thread.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 implemented and will always fail
external/libunwind/src/x86/Gos-linux.c:301: warning: warning: sigreturn is not implemented 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
这个该如何解决 ?

回复

使用道具 举报

沙发
发表于 2017-6-17 18:25:56 | 只看该作者
你应该是用的16.04的ubuntu编译的把,14.04不会出现这个错误。
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
这样修改就可以了编译通过了
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-23 16:03 , Processed in 0.017348 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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