免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2118 | 回复: 0
打印 上一主题 下一主题

[CPU及多核] 求助mips64_gcc4.8.2 relocation truncated to fit: R_MIPS_GOT_PAGE [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-08-21 19:57 |只看该作者 |倒序浏览
本帖最后由 许你安然 于 2015-08-21 20:18 编辑

如题:

工具链用的 mips64_gcc4.8.2_glibc2.18.0_multi

版本如下
version=V3.04.20


XXX_XXX1的函数头如下
int XXX_XXX1(context, input, inputLen)
e  *context;                                       
ee *input;                                
eee  inputLen;  




链接的时候出现如下问题,大家帮忙看看啥问题?
不识别函数头格式,
代码中太多这种格式的函数,
能否修改编译flag让工具链识别这个函数格式,
另外很多其他CPU的工具链都可以识别这个格式的函数


/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX1:
(.text+0x6c0830): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX2:
(.text+0x6c0960): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib):  In function `XXX_XXX3:
(.text+0x6c0acc): relocation truncated to fit: R_MIPS_GOT_PAGE against `no symbol'
/home/XXX/XXX/XXX/target/XXX/XXX/XXX/XXX/XXX/XXX/lib_XXX.a(lib_XXX.lib): In function `XXX_XXX4:
(.text+0x6c9a04): additional relocation overflows omitted from the output


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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP