Re: [Gems-users] Illegal operands


Date: Thu, 18 Jun 2009 10:10:08 +0800
From: "lenglihello" <lenglihello@xxxxxxx>
Subject: Re: [Gems-users] Illegal operands
I compiled on soloris sparc.
I think it may be the problem of the gcc path. "--with-as=/usr/sfw/bin/gas"
I want to change it into "--with-as=/usr/ccs/bin/as", but I can not find where to recompile gcc since I install gcc by "pkgadd".
 
 
2009-06-18

lenglihello

发件人: Polina Dudnik
发送时间: 2009-06-18  01:43:47
收件人: Gems Users
抄送:
主题: Re: [Gems-users] Illegal operands
What machine are you compiling on?

2009/6/17 lenglihello <lenglihello@xxxxxxx>
Hi, every body
I encounter a problem when I compile my program on the simulate machine, fallowing is the error place in my MakeFile :
***********************************
transaction.o: transaction.c transaction.h
 gcc -O3 -Wa,-xarch=v8plusa -DSIMICS -c -o transaction.o transaction.c
**********************************
and the error shows like:
**********************************
/var/tmp//ccu06BJG.s: Assembler messages
/var/tmp//ccu06BJG.s:1121:Error: Illegal operands
**********************************
 
I have searched on line, and people said that it is related to the undefination of registers used in program.
When all the codes related to registers in transaction.c are deleted, the problem disappeared.
But I still do not know how to solve the problem if I want to use the original transaction.c.
 
Any help will be appreciated!
2009-06-17

lenglihello

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]