Hello, I loaded from CVS root.3.05.07 and compiled it w/o problems with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) But then, when I am trying to compile my old code, which always worked with root.3.02, I get an error In file included from /cern/root/include/TSysEvtHandler.h:28, from /cern/root/include/TTimer.h:46, from /cern/root/include/TSystem.h:43, from tst.cxx:1: /cern/root/include/TQObject.h: In method `TClass *ROOT::TQObjectInitBehavior::CreateClass (const char *, short int, const type_info &, TClass *(*) (const void *), void (*) (void *, TMemberInspector &, char *), const char *, const char *, int, int) const': /cern/root/include/TQObject.h:250: Internal error: Segmentation fault. The problem appears when the compilation options included -fvolatile (which is default for na60root) The following line reproduces the problem: echo "#include <TSystem.h>" > tst.cxx g++ -fvolatile -I$ROOTSYS/include -c tst.cxx In file included from /cern/root/include/TSysEvtHandler.h:28, from /cern/root/include/TTimer.h:46, from /cern/root/include/TSystem.h:43, from tst.cxx:1: /cern/root/include/TQObject.h: In method `TClass *ROOT::TQObjectInitBehavior::CreateClass (const char *, short int, const type_info &, TClass *(*) (const void *), void (*) (void *, TMemberInspector &, char *), const char *, const char *, int, int) const': /cern/root/include/TQObject.h:250: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. While w/o volatile option it compiles w/o problems. Regards, Ruben --
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET