bug in rootcint

From: Robert Hatcher <rhatcher_at_fnal.gov>
Date: Thu, 4 Sep 2008 09:49:05 -0500


Hi all,

   For about the last week I've been having problems with the SVN trunk of rootcint. The error looks like:

$ rootcint -f /afs/path/tmp/UtilCint.cc -c \
-I. -I/afs/path/tmp -I/afs/path/tmp -I/afs/path/rel/include \
-I/afs/path/rel/include -DUNIX -DLINUX -D__UNIX__ -D__LINUX__ \
-DDATAREP_LITTLE_IEEE -DDATAREP_LITTLE_ENDIAN \
-DDEFECT_NO_IOSTREAM_NAMESPACES -DDEFECT_NO_JZEXT -DDEFECT_NO_INTHEX \
-DDEFECT_NO_INTHOLLERITH -DDEFECT_NO_READONLY -
DDEFECT_NO_DIRECT_FIXED \
-DDEFECT_NO_STRUCTURE -DUSE_ROOT -I/afs/path/root/trunk-opt/include \
  LoadMinosPDG.h MsgUtil.h UtilBlockedRunningAverage.h \   UtilBlockedRunningAverageVector.h UtilHepevt.h UtilIstHEP.h \   UtilMCFlag.h UtilMath.h UtilPDG.h UtilRunningAverage.h \   UtilRunningAverageVector.h UtilStream.h UtilString.h LinkDef.h Error: link requested for unknown class UtilPDG LinkDef.h:28: Warning: Error occurred during reading source files Warning: Error occurred during dictionary source generation !!!Removing /afs/path/tmp/UtilCint.cc /afs/path/tmp/UtilCint.h !!! Error: rootcint: error loading headers...

This is on Linux SLF3.0.5 w/ gcc 3.4.3. I can't come up with a consistent test of this problem. Relevant notes:

The fact that the problem moves around depending on library loading order and for the optimized version suggests that the error lies with an off-by-one error or a missing \0 in string handling that depends on memory layout.

-robert

Robert W. Hatcher | rhatcher_at_fnal.gov 630-840-3102 FNAL CD/REX (MINOS) | MS 220, PO Box 500, Batavia IL 60510 Received on Thu Sep 04 2008 - 16:49:15 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 04 2008 - 23:50:02 CEST