从核编译报错,未知问题。
-
您好,我在使用mpicc编译从从核部分的代码时,遇到了下列未能查证的报错,请问这些错误可能是什么原因造成的呢。
slave.c:16: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:17: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:18: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:19: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:33: warning: passing argument 5 of 'athread_put' discards qualifiers from pointer target type
slave.c:11: warning: unused variable 'y'
slave.c:11: warning: unused variable 'x'
/tmp/ccspin#.qvgvx5.s: Assembler messages:
/tmp/ccspin#.qvgvx5.s:21: Warning: make sure the slave code is in .text1 section, not .text section
/tmp/ccspin#.qvgvx5.s:26: Warning: make sure the slave code is in .text1 section, not .text section
/tmp/ccspin#.qvgvx5.s:77: Error: unknown opcodesetfpec0' /tmp/ccspin#.qvgvx5.s:78: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:82: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:90: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:144: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:151: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:181: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:187: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:218: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:224: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:234: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:240: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:367: Error: inappropriate arguments for opcodeldl' /tmp/ccspin#.qvgvx5.s:372: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:376: Error: inappropriate arguments for opcodeldl' /tmp/ccspin#.qvgvx5.s:380: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:385: Error: inappropriate arguments for opcodeldl' /tmp/ccspin#.qvgvx5.s:389: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:393: Error: inappropriate arguments for opcodeldl' /tmp/ccspin#.qvgvx5.s:403: Error: inappropriate arguments for opcode
stl'
/tmp/ccspin#.qvgvx5.s:459: Error: unknown opcodesetfpec3' /tmp/ccspin#.qvgvx5.s:466: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:496: Error: unknown opcode `setfpec3'
/tmp/ccspin#.qvgvx5.s:536: Warning: make sure the slave code is in .text1 section, not .text section
-
用sw5cc -slave
-
此回复已被删除!
-
@段晓辉 非常感谢您,问题已经解决了,道谢来迟。