Beta 3 is over three and a half years old. You should use the most recent revision of both m5 and encumbered.
http://repo.m5sim.org/m5/archive/tip.tar.bz2 http://repo.m5sim.org/encumbered/archive/tip.tar.bz2 Gabe On 01/11/11 14:17, Yingying Tian wrote: > Hi Gabe, > > Thank you for your reply. I tried the latest version of encumbered and > the M5_2.0b3 (from http://repo.m5sim.org/) but it still didn't work. I > couldn't even compile M5_2.0b3 without EXTRAS. Hereunder is the error > information: > ------------------------------------------------------------------------------- > /m5_2_03$ scons build/ALPHA_SE/m5.debug > scons: Reading SConscript files ... > TypeError: putenv() argument 2 must be string, not instance: > File "/home/ytian/m5_2_03/SConstruct", line 210: > env.Append(ENV = { 'M5_PLY' : Dir('ext/ply') }) > File "/usr/lib/scons/SCons/Environment.py", line 1196: > orig[k] = v > File "/usr/lib/python2.6/os.py", line 471: > putenv(key, item) > ----------------------------------------------------------------------------- > Then I used this encumbered file with my previous M5, which worked > well on Full System mode. However, there are still some compile errors: > ------------------------------------------------------------------------------- > In file included from encumbered/eio/eio.hh:60, > from build/ALPHA_SE/encumbered/eio/eio.cc:62: > encumbered/eio/alpha_exo.h:61:35: error: arch/alpha/registers.hh: No > such file or directory > build/ALPHA_SE/encumbered/eio/eio.cc: In member function > 'exo_integer_t EioProcess::read_chkpt(ThreadContext*, FILE*)': > build/ALPHA_SE/encumbered/eio/eio.cc:263: error: 'PCState' is not a > member of 'AlphaISA' > build/ALPHA_SE/encumbered/eio/eio.cc:263: error: expected `;' before 'pc' > build/ALPHA_SE/encumbered/eio/eio.cc:263: error: 'pc' was not declared > in this scope > build/ALPHA_SE/encumbered/eio/eio.cc:263: error: 'class ThreadContext' > has no member named 'pcState' > build/ALPHA_SE/encumbered/eio/eio.cc: In member function 'void > EioProcess::read_trace(ThreadContext*, Counter)': > build/ALPHA_SE/encumbered/eio/eio.cc:450: error: 'class ThreadContext' > has no member named 'instAddr' > build/ALPHA_SE/encumbered/eio/eio.cc:451: error: 'class ThreadContext' > has no member named 'instAddr' > build/ALPHA_SE/encumbered/eio/eio.cc:462: error: 'curTick' cannot be > used as a function > ------------------------------------------------------------------------------------ > > I am not sure what the problem is. My computer is X86_64 with ubuntu. > Although I don't think it has something to do with the platform. Could > you please give me more suggestions? Thank you so much for your help. > > > Thanks, > Yingying > > On Tue, Jan 11, 2011 at 2:12 PM, Gabe Black <[email protected] > <mailto:[email protected]>> wrote: > > Try the most recent versions of the encumbered and m5 repositories > from mercurial. I think you can download a snapshot from here > http://repo.m5sim.org/ if you can't use mercurial for some reason. > I'm guessing the version of m5 you're using is significantly newer > than b3 (which is good). > > Gabe > > > On 01/11/11 12:14, Yingying Tian wrote: >> To whom it may concern, >> >> I am a beginner with M5. I tried to run EIO traces on M5. But I >> encountered compile errors as below. Could you please give me any >> help to fix it? >> >> ------------------------------------------------- >> $ scons EXTRAS=/home/ytian/m5-stable/encumbered >> build/ALPHA_SE/m5.debug >> ..... >> g++ -o build/ALPHA_SE/encumbered/eio/eio.do -c -Wno-deprecated >> -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Wundef -ggdb3 >> -Werror -DTHE_ISA=ALPHA_ISA -DDEBUG -DTRACING_ON=1 >> -Ibuild/gzstream -Ibuild/libelf -Iext -I/usr/include/python2.6 >> -Ibuild/ALPHA_SE -Iencumbered build/ALPHA_SE/encumbered/eio/eio.cc >> build/ALPHA_SE/encumbered/eio/eio.cc: In member function 'void >> EioProcess::read_trace(ThreadContext*, Counter)': >> build/ALPHA_SE/encumbered/eio/eio.cc:513: error: 'ArgumentReg0' >> is not a member of 'AlphaISA' >> build/ALPHA_SE/encumbered/eio/eio.cc:513: error: 'ArgumentReg0' >> is not a member of 'AlphaISA' >> build/ALPHA_SE/encumbered/eio/eio.cc:514: error: 'ArgumentReg0' >> is not a member of 'AlphaISA' >> build/ALPHA_SE/encumbered/eio/eio.cc: In constructor >> 'EioProcess::EioProcess(const std::string&, System*, int, int, >> const std::string&, const std::string&)': >> build/ALPHA_SE/encumbered/eio/eio.cc:619: error: no matching >> function for call to 'Process::Process(const >> std::basic_string<char, std::char_traits<char>, >> std::allocator<char> >&, System*&, int, int&, int&)' >> build/ALPHA_SE/sim/process.hh:145: note: candidates are: >> Process::Process(ProcessParams*) >> build/ALPHA_SE/sim/process.hh:79: note: >> Process::Process(Process&) >> build/ALPHA_SE/encumbered/eio/eio.cc: In member function 'virtual >> void EioProcess::startup()': >> build/ALPHA_SE/encumbered/eio/eio.cc:644: error: 'threadContexts' >> was not declared in this scope >> build/ALPHA_SE/encumbered/eio/eio.cc:651: error: 'threadContexts' >> was not declared in this scope >> build/ALPHA_SE/encumbered/eio/eio.cc: At global scope: >> build/ALPHA_SE/encumbered/eio/eio.cc:675: error: expected >> constructor, destructor, or type conversion before 'Param' >> build/ALPHA_SE/encumbered/eio/eio.cc:676: error: expected >> constructor, destructor, or type conversion before '<' token >> build/ALPHA_SE/encumbered/eio/eio.cc:677: error: expected >> constructor, destructor, or type conversion before '<' token >> build/ALPHA_SE/encumbered/eio/eio.cc:678: error: expected >> constructor, destructor, or type conversion before '<' token >> build/ALPHA_SE/encumbered/eio/eio.cc:683: error: expected >> constructor, destructor, or type conversion before >> 'BEGIN_INIT_SIM_OBJECT_PARAMS' >> build/ALPHA_SE/encumbered/eio/eio.cc:713: error: expected >> constructor, destructor, or type conversion before '(' token >> scons: *** [build/ALPHA_SE/encumbered/eio/eio.do] Error 1 >> scons: building terminated because of errors. >> ----------------------------------------------------------------- >> I downloaded the related EIO encumbered file from >> (http://www.m5sim.org/dist/current/m5-2.0b3-encumbered.tar.bz2) >> and decompressed the folder named "encumbered" under my m5 home >> directory. Also I have changed the se.py under >> configs/example/se.py by following Michael's >> instruction(http://osdir.com/ml/emulators.m5.users/2006-10/msg00013.html) >> >> >> Thank you in advance for all your help. >> >> Yingying >> >> >> _______________________________________________ >> m5-users mailing list >> [email protected] <mailto:[email protected]> >> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > > _______________________________________________ > m5-users mailing list > [email protected] <mailto:[email protected]> > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
