免费注册 查看新帖 |

Chinaunix

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

{standard input}: 83: error: opcode not supported on this processor: mips1 [复制链接]

论坛徽章:
6
季节之章:冬
日期:2015-01-20 17:18:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2015-12-20 06:20:00程序设计版块每日发帖之星
日期:2016-06-09 06:20:00每日论坛发贴之星
日期:2016-06-09 06:20:002016科比退役纪念章
日期:2017-01-12 14:08:57
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-21 19:12 |只看该作者 |倒序浏览
... ...
{standard input}: Assembler messages:
{standard input}: 83: error: opcode not supported on this processor: mips1 (mips1)  'll $3 36 ($4)'
{standard input}: 86: error: opcode not supported on this processor: mips1 (mips1)  'sc $3 36 ($4)'
... ...

我的硬件是龙芯,操作系统是MIPS架构的。在编译bind-9.7.0-5.P2.e16.src.rpm时出错。

这是怎么回事啊?该如何修改?

论坛徽章:
6
季节之章:冬
日期:2015-01-20 17:18:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2015-12-20 06:20:00程序设计版块每日发帖之星
日期:2016-06-09 06:20:00每日论坛发贴之星
日期:2016-06-09 06:20:002016科比退役纪念章
日期:2017-01-12 14:08:57
2 [报告]
发表于 2011-06-23 12:01 |只看该作者
... ...
{standard input}: Assembler messages:
{standard input}: 83: error: opcode not supported on ...
liklstar 发表于 2011-06-21 19:12



   

之所以出现这种情况,是因为默认编译的指令集是MIPS1,但程序中使用了一些MIPS2的指令。MIPS1的扩展支持一些MIPS2的指令。

解决办法是在指令"ll"和"sc"前添加:

.set mips2

即可。

论坛徽章:
0
3 [报告]
发表于 2011-06-23 15:30 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP