Hi Ibrahim, 

The checker CPU doesn't work at the moment. There have
been some changes to the memory system and underlying classes since the
checker was originally written and no one has gone back and made it work
again. It's something that many people have considered doing, but no one
has invested the time yet. If you're interested in doing it we would
appreciate it. 

Thanks, 

Ali 

On Wed, 21 Sep 2011 14:10:05 -0700, Md
Ibrahim Faisal  wrote:  
Hi, 

I'm trying to build checker for ARM
system using following command line option: 

gem5>scons
USE_CHECKER=True build/ARM_SE/gem5.opt 

However, I'm getting some
errors and building is terminated. Can somebody help me building the
checker? Here is what I'm getting:


-----------------------------------------------------------------------------------------------------------------------------

... 
scons: Building targets ...
 [ CXX] ARM_SE/cpu/checker/cpu.cc ->
.o
build/ARM_SE/cpu/checker/cpu.cc:47: error: 'AlphaISA' is not a
namespace-name
 build/ARM_SE/cpu/checker/cpu.cc:47: error: expected
namespace-name before ';' token
build/ARM_SE/cpu/checker/cpu.cc: In
constructor
'CheckerCPU::CheckerCPU(CheckerCPUParams*)':
build/ARM_SE/cpu/checker/cpu.cc:55:
error: no matching function for call to
'BaseCPU::BaseCPU(CheckerCPUParams*&)'
 build/ARM_SE/cpu/base.hh:217:
note: candidates are:
BaseCPU::BaseCPU(BaseCPUParams*)
build/ARM_SE/cpu/base.hh:86: note:
BaseCPU::BaseCPU(BaseCPU&)
build/ARM_SE/cpu/checker/cpu.cc:67: error:
invalid use of incomplete type 'struct CheckerCPUParams'

build/ARM_SE/cpu/checker/cpu.hh:64: error: forward declaration of
'struct CheckerCPUParams'
build/ARM_SE/cpu/checker/cpu.cc:68: error:
invalid use of incomplete type 'struct
CheckerCPUParams'
build/ARM_SE/cpu/checker/cpu.hh:64: error: forward
declaration of 'struct CheckerCPUParams'

build/ARM_SE/cpu/checker/cpu.cc:74: error: invalid use of incomplete
type 'struct CheckerCPUParams'
build/ARM_SE/cpu/checker/cpu.hh:64:
error: forward declaration of 'struct
CheckerCPUParams'
build/ARM_SE/cpu/checker/cpu.cc:75: error: no matching
function for call to 'SimpleThread::SimpleThread(CheckerCPU* const, int,
Process*&)'
 build/ARM_SE/cpu/simple_thread.hh:142: note: candidates
are: SimpleThread::SimpleThread()
build/ARM_SE/cpu/simple_thread.hh:138:
note: SimpleThread::SimpleThread(BaseCPU*, int, Process*, ArmISA::TLB*,
ArmISA::TLB*)
 build/ARM_SE/cpu/simple_thread.hh:94: note:
SimpleThread::SimpleThread(const
SimpleThread&)
build/ARM_SE/cpu/checker/cpu.cc: In member function
'Fault CheckerCPU::read(Addr, T&, unsigned int)':

build/ARM_SE/cpu/checker/cpu.cc:144: error: 'class SimpleThread' has no
member named 'readPC'
build/ARM_SE/cpu/checker/cpu.cc:147: error: no
matching function for call to 'ArmISA::TLB::translateAtomic(Request*&,
ThreadContext*&, bool)'
 build/ARM_SE/arch/arm/tlb.hh:214: note:
candidates are: Fault ArmISA::TLB::translateAtomic(Request*,
ThreadContext*, BaseTLB::Mode)
build/ARM_SE/cpu/checker/cpu.cc:149:
error: 'ReadReq' is not a member of 'Packet'

build/ARM_SE/cpu/checker/cpu.cc: In member function 'Fault
CheckerCPU::write(T, Addr, unsigned int,
uint64_t*)':
build/ARM_SE/cpu/checker/cpu.cc:214: error: 'class
SimpleThread' has no member named 'readPC'

build/ARM_SE/cpu/checker/cpu.cc:217: error: no matching function for
call to 'ArmISA::TLB::translateAtomic(Request*&, ThreadContext*&,
bool)'
build/ARM_SE/arch/arm/tlb.hh:214: note: candidates are: Fault
ArmISA::TLB::translateAtomic(Request*, ThreadContext*, BaseTLB::Mode)

build/ARM_SE/cpu/checker/cpu.cc:256: error: 'class Request' has no
member named 'scResultValid'
build/ARM_SE/cpu/checker/cpu.cc: In member
function 'bool
CheckerCPU::checkFlags(Request*)':
build/ARM_SE/cpu/checker/cpu.cc:317:
error: 'LOCKED' was not declared in this scope

build/ARM_SE/cpu/checker/cpu.cc:317: error: 'PHYSICAL' was not declared
in this scope
build/ARM_SE/cpu/checker/cpu.cc:317: error: 'VPTE' was not
declared in this scope
build/ARM_SE/cpu/checker/cpu.cc:317: error:
'ALTMODE' was not declared in this scope

build/ARM_SE/cpu/checker/cpu.cc:317: error: 'UNCACHEABLE' was not
declared in this scope
build/ARM_SE/cpu/checker/cpu.cc:317: error:
'PREFETCH' was not declared in this
scope
build/ARM_SE/cpu/checker/cpu.cc: In member function 'void
CheckerCPU::dumpAndExit()':
 build/ARM_SE/cpu/checker/cpu.cc:329: error:
'class SimpleThread' has no member named
'readPC'
build/ARM_SE/cpu/checker/cpu.cc:329: error: 'class
SimpleThread' has no member named 'readNextPC'
 scons: ***
[build/ARM_SE/cpu/checker/cpu.o] Error 1
scons: building terminated
because of errors.


-----------------------------------------------------------------------------------------------------------------------------


Thanks, 

Ibrahim   

 
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to