Hi Paul, Try with this patch. I will be testing the checkpoint feature but it works with normal (without checkpoints) systemc simulation.
http://reviews.gem5.org/r/3101/ Thanks 2015-09-09 18:02 GMT+02:00 Paul Rosenfeld (prosenfeld) < [email protected]>: > Thanks for pointing out those patches, Andreas. I missed those -- I'll try > to apply those. > > Doing a clean build of yesterday's master I get this: > > g++ -I../../build/ARM -L../../build/ARM -I./systemc/include > -L./systemc/lib-linux64 -std=c++0x -g -c -o main.o main.cc > main.cc: In member function 'void SimControl::run()': > main.cc:270:55: error: invalid use of incomplete type 'class Checkpoint' > config_manager->getSimObjectResolver()); > ^ > In file included from ../../build/ARM/cpu/static_inst.hh:46:0, > from ../../build/ARM/arch/arm/utility.hh:54, > from ../../build/ARM/arch/arm/pagetable.hh:49, > from ../../build/ARM/arch/arm/faults.hh:51, > from ../../build/ARM/arch/arm/interrupts.hh:46, > from ../../build/ARM/arch/interrupts.hh:1, > from ../../build/ARM/cpu/base.hh:57, > from main.cc:64: > ../../build/ARM/cpu/thread_context.hh:64:7: error: forward declaration of > 'class Checkpoint' > class Checkpoint; > ^ > main.cc:285:49: error: no matching function for call to > 'CxxConfigManager::loadState(Checkpoint*&)' > config_manager->loadState(checkpoint); > ^ > main.cc:285:49: note: candidate is: > In file included from main.cc:66:0: > ../../build/ARM/sim/cxx_manager.hh:295:10: note: void > CxxConfigManager::loadState(CheckpointIn&) > void loadState(CheckpointIn &checkpoint); > ^ > ../../build/ARM/sim/cxx_manager.hh:295:10: note: no known conversion for > argument 1 from 'Checkpoint*' to 'CheckpointIn&' > In file included from ../../build/ARM/sim/sim_object.hh:60:0, > from ../../build/ARM/arch/arm/interrupts.hh:54, > from ../../build/ARM/arch/interrupts.hh:1, > from ../../build/ARM/cpu/base.hh:57, > from main.cc:64: > ../../build/ARM/sim/drain.hh:96:5: error: 'DrainManager::DrainManager()' > is private > DrainManager(); > > [SNIP -- other DrainManager/Checkpoint errors follow] > > As far as I can tell if I delete the DrainManager instance (now it is > global) and adjust the prototypes of the DrainManager-related function > calls I can get those errors to go away. I'll have to figure out where the > Checkpoint API got changed. > > Abdul, would you be willing to share your patch? > > Thanks, > Paul > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Regards, Abdul Mutaal
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
