Dave Murrell <dbmurrell <at> acm.org> writes:

> 
> Dave Murrell <dbmurrell <at> acm.org> writes:
> 
> > 
> > Having considerable difficulty finding a "magic" combination of g++, python,
> > swig, and scons that will build gem5. Looks like g++ >= 4.3 is needed. Just 
> tried
> > using latest swig (2.0.4), but that died a horrible death. Anyone have a 
combo
> > that will work?
> > 
> 
> So, to answer my own question partially, it looks like swig 1.3.40 will work. 
> I'm still having issues with python (getting an unresolved reference to
> _Py_ZeroStruct when I attempt to execute the simulator (yes, I've tried
> setting LD_LIBRARY_PATH and PYTHONPATH), but still to no avail. Any 
suggestions 
> would be appreciated.
> 
> Dave
> 
> P.S> It would be good for someone to update the Wiki to specify which versions
> of the various build libraries and tools are known to work (the information 
> on http://gem5.org/Compiling_M5 is incorrect and/or outdated).
> 

OK, so long story short, it's up and running :), once I circumvented our 
convoluted python configuration. For the record, I ended up needing to use 
g++ 4.3 and swig 1.3.40 to compile the dev version of gem5. Older versions of
g++ and newer versions of swig don't seem to compile cleanly.


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

Reply via email to