Hi all,

So I am in process of getting the in-order model from mips to compile so 
we can put it into the tree. I am having the following error:

Reading /Users/rickstrong/work/m5-dev/src/cpu/simple/SConsopts

scons: warning: The env.Copy() method is deprecated; use the env.Clone() 
method instead.
File "/Users/rickstrong/build/m5-dev/build/libelf/SConscript", line 90, 
in <module>
Building in /Users/rickstrong/build/m5-dev/build/MIPS_SE
Using saved options file 
/Users/rickstrong/build/m5-dev/build/options/MIPS_SE
scons: done reading SConscript files.
scons: Building targets ...
g++ -o 
/Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.do 
-c -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Werror -Wundef 
-ggdb3 -DTHE_ISA=MIPS_ISA -DDEBUG -DTRACING_ON=1 -Iext/dnet 
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 
-I/Users/rickstrong/build/m5-dev/build/libelf 
-I/Users/rickstrong/build/m5-dev/build/MIPS_SE 
/Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.cc
/Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh: 
In member function ‘int MixieDynInst::getMemAccSize()’:
/Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:616: 
error: ‘class StaticInst’ has no member named ‘memAccSize’
/Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh: 
In member function ‘int MixieDynInst::getMemFlags()’:
/Users/rickstrong/build/m5-dev/build/MIPS_SE/cpu/inorder/mixie_dyn_inst.hh:618: 
error: ‘class StaticInst’ has no member named ‘memAccFlags’
scons: *** 
[/Users/rickstrong/build/m5-dev/build/MIPS_SE/arch/mips/mixie_cpu_exec.do] 
Error 1
scons: building terminated because of errors.

So I see memAccSize in src/arch/mips/isa/formats/mem.isa, so my guess is 
that the StaticInst in mixie, is a RefCountingPtr and is a one level of 
indirection too much that prevents the access to member function 
src/arch/mips/isa/formats/mem.isa. Is there a function I have to call in 
order to get access to this function? Alternatively, where is a good 
place to look to figure out how StaticInst are working in the cpu models?

Thanks,
-Rick
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to