Hi all,

I'm new to gem5. I just cloned the updated version from m5-dev and
tried to compile the x86_SE with ruby. The build config file is as
follows:

TARGET_ISA = 'x86'
CPU_MODELS = 'AtomicSimpleCPU,TimingSimpleCPU,InOrderCPU'
FULL_SYSTEM = 0
PROTOCOL = 'MI_example'
RUBY = True

Then, I got the following errors:

------------------------------------------------------------------------------------------------
...
[     CXX] X86_SE_MI/arch/x86/inorder_cpu_exec.cc -> .do
In file included from build/X86_SE_MI/cpu/inorder/inorder_dyn_inst.hh:42,
                from build/X86_SE_MI/arch/x86/inorder_cpu_exec.cc:9:
build/X86_SE_MI/arch/mt.hh:1:26: error: arch/x86/mt.hh: No such file
or directory
build/X86_SE_MI/arch/x86/inorder_cpu_exec.cc: In member function
'virtual Fault X86ISAInst::Tia::execute(InOrderDynInst*,
Trace::InstRecord*) const':
build/X86_SE_MI/arch/x86/inorder_cpu_exec.cc:13918: error: 'class
InOrderDynInst' has no member named 'demapPage'
cc1plus: warnings being treated as errors
build/X86_SE_MI/arch/x86/isa_traits.hh: At global scope:
build/X86_SE_MI/arch/x86/isa_traits.hh:78: warning:
'X86ISA::NoopMachInst' defined but not used
build/X86_SE_MI/arch/x86/insts/microldstop.hh:50: warning:
'X86ISA::SegmentFlagMask' defined but not used
scons: *** [build/X86_SE_MI/arch/x86/inorder_cpu_exec.do] Error 1
scons: building terminated because of errors.
-----------------------------------------------------------------------------------------------

I checked the files under build/X86_SE_MI/ and found that "mt.hh" is
located under build/X86_SE_MI/arch/ instead of
build/X86_SE_MI/arch/x86 . Any hints for this problem? Thanks a lot.

BTW: I searched the dev mail-list archive and found that ruby support
is shipped for X86, but the review board said that the change is
discarded... So I'm confused whether ruby works with x86 in current
version.

Regards,
Guangyu
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to