I'll check those errors out for you, but InOrder doesnt currently work in FS mode, so you would be OK to remove that from your build options if you so chose.
On Tue, Jan 11, 2011 at 11:14 PM, Sage <[email protected]> wrote: > Hello, everyone, > > In the m5-dev version, I was trying to build "ALPHA_FS_MOESI_CMP_directory" > by just changing the "ALPHA_SE_MOESI_CMP_directory" to the following script. > > FULL_SYSTEM = 1 > SS_COMPATIBLE_FP = 1 > CPU_MODELS = 'AtomicSimpleCPU,TimingSimpleCPU,O3CPU,InOrderCPU' > PROTOCOL = 'MOESI_CMP_directory' > RUBY = True > > > But I got the errors as follows when building it, which I believe indicates > certain bugs. > > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.cc: In member function > 'void InOrderCPU::processInterrupts(Fault)': > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.cc:633: error: expected > type-specifier before 'Impl' > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.cc:633: error: > conversion from 'int*' to non-scalar type 'ThePipeline::DynInstPtr' > requested > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.cc:633: error: expected > ',' or ';' before 'Impl' > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.cc:634: error: no > matching function for call to 'InOrderCPU::trap(Fault&, > ThePipeline::DynInstPtr&)' > build/ALPHA_FS_MOESI_CMP_directory/cpu/inorder/cpu.hh:344: note: candidates > are: void InOrderCPU::trap(Fault, ThreadID, ThePipeline::DynInstPtr, int) > > > In line 633 of "src/cpu/inorder/cpu.cc", it complains that "Impl::DynInst" > is not a correct class name. The problem couldn't be worked around by > removing "Impl::". > In line 634 of the same file, only two variables are passed to the "trap" > function but apparently it needs another "ThreadID" type variable. > > > Since I am not quite familiar with the source code in the "cpu" folder, I > just raise my questions on the errors and hope someone can fix it. > > > > Thanks, > Leonard > > > -- > Give our ability to our work, but our genius to our life! > > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > > -- - Korey
_______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
