Dear all,

When I built the latest gem5, the following compilation erros came up. More interesting, it only happens when buiding gem5.fast. gem5.debug can still be built successfully. Any clue to fix it? (swig--1.3.40, scons--2.1.0, python--2.6.6, gcc--4.4.5)

============================================================
cc1plus: warnings being treated as errors
build/ALPHA/python/swig/core_wrap.cc: In function 'PyObject* _wrap_new_Cycles(PyObject*, PyObject*)': build/ALPHA/python/swig/core_wrap.cc:3323: error: 'argv[0]' may be used uninitialized in this function
scons: *** [build/ALPHA/python/swig/core_wrap.fo] Error 1
cc1plus: warnings being treated as errors
build/ALPHA/python/swig/event_wrap.cc: In function 'PyObject* _wrap_new_Cycles(PyObject*, PyObject*)': build/ALPHA/python/swig/event_wrap.cc:3380: error: 'argv[0]' may be used uninitialized in this function build/ALPHA/python/swig/event_wrap.cc: In function 'PyObject* _wrap_simulate(PyObject*, PyObject*)': build/ALPHA/python/swig/event_wrap.cc:4590: error: 'argv[0]' may be used uninitialized in this function
scons: *** [build/ALPHA/python/swig/event_wrap.fo] Error 1
cc1plus: warnings being treated as errors
build/ALPHA/python/swig/range_wrap.cc: In function 'PyObject* _wrap_new_Cycles(PyObject*, PyObject*)': build/ALPHA/python/swig/range_wrap.cc:3120: error: 'argv[0]' may be used uninitialized in this function
scons: *** [build/ALPHA/python/swig/range_wrap.fo] Error 1
cc1plus: warnings being treated as errors
build/ALPHA/python/swig/debug_wrap.cc: In function 'PyObject* _wrap_new_Cycles(PyObject*, PyObject*)': build/ALPHA/python/swig/debug_wrap.cc:10624: error: 'argv[0]' may be used uninitialized in this function
scons: *** [build/ALPHA/python/swig/debug_wrap.fo] Error 1
scons: building terminated because of errors.
============================================================

Regards,

--
**********************************
Tao Zhang

Department of Computer Science&  Engineering,
College of Engineering, Pennsylvania State University

354B IST Building
University Park, PA 16802

(Office) 814-863-1047
(Mobile) 408-930-8930
Homepage: www.cse.psu.edu/~tzz106
**********************************

        ("`-''-/").___..--''"`-._
         `6_ 6  )   `-.  (     ).`-.__.`)       GO LIONS!!!
         (_Y_.)'  ._   )  `._ `. ``-..-'
       _..`--'_..-_/  /--'_.' ,'
      (il),-''  (li),'  ((!.-'


Happiness is like a butterfly which, when pursued, is always beyond your grasp, 
but if you will sit down quietly, may alight upon you.
--- Nathaniel Hawthorne

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to