在fedora19 32位上编译firefox45的gssq问题?
我在fedora19 32位上编译firefox-45.4.0-6.fc21.loongson.src.rpm时
在编译中遇到了一个问题,如下:
我尝试做了一下修改:
问一下这是什么原因导致的。为什么原来代码没有写offet的数值也能够编译通过?
在编译中遇到了一个问题,如下:
$ gcc -o memset.o -fPIC -Wa,--noexecstack -include ../mozilla-config.h -DMOZILLA_CLIENT -g -c /root/rpmbuild/BUILD/firefox-45.4.0/firefox45/memory-ls3/memset.S
/root/rpmbuild/BUILD/firefox-45.4.0/firefox45/memory-ls3/memset.S: Assembler messages:
/root/rpmbuild/BUILD/firefox-45.4.0/firefox45/memory-ls3/memset.S:75: Error: Instruction gssq requires absolute expression
/root/rpmbuild/BUILD/firefox-45.4.0/firefox45/memory-ls3/memset.S:75: Error: Offset not 16 bytes alignment (260)
我尝试做了一下修改:
将gssq一行改成这个文件可以编译通过了!
_1x16a_loop:
- gssq a1, a1, (a0)
+ gssq a1, a1, 0x0(a0)
bnel a0, t1, _1x16a_loop
ADDIU a0, a0, 16
问一下这是什么原因导致的。为什么原来代码没有写offet的数值也能够编译通过?
没有找到相关结果
已邀请:
1 个回复
lixiaofei
赞同来自: