Re: [ROOT] Strange CINT warning.

From: Elias Athanasopoulos (elathan@phys.uoa.gr)
Date: Mon May 03 2004 - 15:31:53 MEST


Dear all, 
 
> Elias, 
>  
> I cannot reproduce this problem. 
> Could you give more details on your system, gcc version? 
 
I did a 'make uninstall' and re-build the whole ROOT system, but the 
warning did not disappear. 
 
I built ROOT with: 
 
% ./configure linux --prefix=/usr/local/ --enable-python 
 
System details: 
 
elathan@testbed:~> gcc -v 
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs 
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local 
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared 
--enable-__cxa_atexit i486-suse-linux 
Thread model: posix 
gcc version 3.3 20030226 (prerelease) (SuSE Linux) 
elathan@testbed:~> root-config --version 
4.00/04 
elathan@testbed:~> uname -a 
Linux testbed 2.4.20-4GB #1 Wed Aug 6 18:26:21 UTC 2003 i686 unknown unknown 
GNU/Linux 
 
I am attaching also a gdb trace if that helps. I will investigate 
more in a couple of hours. 
 
Regards, 
Elias 
 
--- gdb trace --- 
 
elathan@testbed:~/src/ruby/rr> gdb ./cint-bug 
GNU gdb 5.3 
Copyright 2002 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "i586-suse-linux"... 
(gdb) run 
Starting program: /home/elathan/src/ruby/rr/cint-bug 
[New Thread 16384 (LWP 14196)] 
Note: File "/usr/local//lib/root/libCore.so" already loaded 
 
Program received signal SIGINT, Interrupt. 
[Switching to Thread 16384 (LWP 14196)] 
0x41217342 in select () from /lib/libc.so.6 
(gdb) break G__loadfile 
Breakpoint 1 at 0x4065b357 
(gdb) run 
The program being debugged has been started already. 
Start it from the beginning? (y or n) y 
Starting program: /home/elathan/src/ruby/rr/cint-bug 
Error in re-setting breakpoint 1: 
Function "G__loadfile" not defined. 
[New Thread 16384 (LWP 14362)] 
[Switching to Thread 16384 (LWP 14362)] 
 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/libCint.so 
(gdb) c 
Continuing. 
 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/libCint.so 
(gdb) where 
#0  0x4065b357 in G__loadfile () from /usr/local/lib/root/libCint.so 
#1  0x40697e25 in G__loadsystemfile () from /usr/local/lib/root/libCint.so 
#2  0x4017a309 in TCint::Load(char const*, bool) () from /usr/local/lib/root/libCore.so 
#3  0x40149970 in TSystem::Load(char const*, char const*, bool) () from 
/usr/local/lib/root/libCore.so 
#4  0x401e8d9c in TUnixSystem::Load(char const*, char const*, bool) () from 
/usr/local/lib/root/libCore.so 
#5  0x40137675 in TROOT::LoadClass(char const*, char const*, bool) () from 
/usr/local/lib/root/libCore.so 
#6  0x4017cdf4 in TCint::AutoLoadCallback(char const*, char const*) () from 
/usr/local/lib/root/libCore.so 
#7  0x401797e0 in TCint_AutoLoadCallback () from /usr/local/lib/root/libCore.so 
#8  0x4069d932 in G__class_autoloading () from /usr/local/lib/root/libCint.so 
#9  0x4069e21d in G__defined_tagname () from /usr/local/lib/root/libCint.so 
#10 0x4069e306 in G__search_tagname () from /usr/local/lib/root/libCint.so 
#11 0x40663c76 in G__get_linked_tagnum () from /usr/local/lib/root/libCint.so 
#12 0x40289c21 in G__cpp_setup_tagtableG__Base1 () from /usr/local/lib/root/libCore.so 
#13 0x4028a256 in G__cpp_setupG__Base1 () from /usr/local/lib/root/libCore.so 
#14 0x406561e8 in G__call_setup_funcs () from /usr/local/lib/root/libCint.so 
#15 0x402913c5 in G__cpp_setup_initG__Base1::G__cpp_setup_initG__Base1() () from 
/usr/local/lib/root/libCore.so 
#16 0x4028a7df in __static_initialization_and_destruction_0(int, int) () from 
/usr/local/lib/root/libCore.so 
#17 0x4028ae7d in _GLOBAL__I__ZN4ROOT20GenerateInitInstanceEPK7TBuffer () from 
/usr/local/lib/root/libCore.so 
#18 0x40424a05 in __do_global_ctors_aux () from /usr/local/lib/root/libCore.so 
#19 0x400d3d81 in _init () from /usr/local/lib/root/libCore.so 
#20 0x4000b4fe in call_init () from /lib/ld-linux.so.2 
#21 0x4000b63e in _dl_init_internal () from /lib/ld-linux.so.2 
(gdb) c 
Continuing. 
Note: File "/usr/local//lib/root/libCore.so" already loaded 
 
Breakpoint 1, 0x4065b357 in G__loadfile () from /usr/local/lib/root/libCint.so 
(gdb) 
 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET