[ROOT] gcc 3 and "gnu-new-abi" ? TUnixSystem?

From: Exaos Lee (schlie@iris.ciae.ac.cn)
Date: Fri Jul 25 2003 - 09:15:09 MEST


Dear rooter,
I changed the TUnixSystem.cxx, assign "--format=gnu-v3" to "cppfiltarg". 
Then the error message from "/bin/c++filt" is gone. I mean
"unknown demangling style `gnu-new-abi' " is gone. But the following 
error messages appear:
--------------------------------------------------------
root [0] TFile *eff=new TFile("eff.root","update")
root [1] det_tree=(TTree *)eff->Get("det_tree")

  *** Break *** segmentation violation
  Generating stack trace...
  0x401a4d66 in TUnixSystem::StackTrace() + 0x36c from 
/sci/root/current/lib/libCore.so
  0x401a392a in TUnixSystem::DispatchSignals(ESignals) + 0x7a from 
/sci/root/current/lib/libCore.so
  0x401cd953 in <unknown> from /sci/root/current/lib/libCore.so
  0x40568bbd in G__call_cppfunc + 0x261 from 
/sci/root/current/lib/libCint.so
  0x40559272 in G__interpret_func + 0x6dc from 
/sci/root/current/lib/libCint.so
  0x40541ab4 in G__getfunction + 0x1278 from 
/sci/root/current/lib/libCint.so
  0x405c0d86 in G__getstructmem + 0x77c from 
/sci/root/current/lib/libCint.so
  0x405baf24 in G__getvariable + 0x4be from /sci/root/current/lib/libCint.so
  0x4053ad5f in G__getitem + 0x5c3 from /sci/root/current/lib/libCint.so
  0x40539981 in G__getexpr + 0x73b1 from /sci/root/current/lib/libCint.so
  0x40541403 in G__getfunction + 0xbc7 from /sci/root/current/lib/libCint.so
  0x4053ad8f in G__getitem + 0x5f3 from /sci/root/current/lib/libCint.so
  0x40539981 in G__getexpr + 0x73b1 from /sci/root/current/lib/libCint.so
  0x40539384 in G__getexpr + 0x6db4 from /sci/root/current/lib/libCint.so
  0x40583676 in G__exec_statement + 0x2602 from 
/sci/root/current/lib/libCint.so
  0x40523b24 in G__exec_tempfile_core + 0x2ba from 
/sci/root/current/lib/libCint.so
  0x40523cd0 in G__exec_tempfile_fp + 0x22 from 
/sci/root/current/lib/libCint.so
  0x4058aede in G__process_cmd + 0x4364 from 
/sci/root/current/lib/libCint.so
  0x40152595 in TCint::ProcessLine(char const*, 
TInterpreter::EErrorCode*) + 0x9b from /sci/root/current/lib/libCore.so
  0x400d9e87 in TApplication::ProcessLine(char const*, bool, int*) + 
0x56b from /sci/root/current/lib/libCore.so
  0x40cbed30 in TRint::HandleTermInput() + 0x11c from 
/sci/root/current/lib/libRint.so
  0x40cbdd22 in TTermInputHandler::Notify() + 0x24 from 
/sci/root/current/lib/libRint.so
  0x40cbf4d2 in TTermInputHandler::ReadNotify() + 0x12 from 
/sci/root/current/lib/libRint.so
  0x401a3c97 in TUnixSystem::CheckDescriptors() + 0xed from 
/sci/root/current/lib/libCore.so
  0x401a3467 in TUnixSystem::DispatchOneEvent(bool) + 0x101 from 
/sci/root/current/lib/libCore.so
  0x40125721 in TSystem::InnerLoop() + 0x1b from 
/sci/root/current/lib/libCore.so
  0x401256ba in TSystem::Run() + 0x78 from /sci/root/current/lib/libCore.so
  0x400da8cb in TApplication::Run(bool) + 0x2d from 
/sci/root/current/lib/libCore.so
  0x40cbe904 in TRint::Run(bool) + 0x2e4 from 
/sci/root/current/lib/libRint.so
  0x080487c2 in main + 0x6e from /sci/root/build/v3.05.06/bin/root.exe
  0x40e344ad in __libc_start_main + 0xa9 from /lib/libc.so.6
  0x080486c5 in _Unwind_Resume + 0x31 from 
/sci/root/build/v3.05.06/bin/root.exe
Root >
----------------------------

What's wrong with it? I compiled the root from version 3.05.06 source on 
RedHat Linux 8.0 with gcc 3.2 20020903 and glibc-2.3.2-4.80.

Best regards.

Exaos Lee



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET