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

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


Dear rooter,
I encountered the following error message with my ROOT:
----
  *** Break *** segmentation violation
  Generating stack trace...
/usr/bin/c++filt: unknown demangling style `gnu-new-abi'
Root > !!!Dictionary position not recovered because G__unloadfile() is 
used in a macro!!!
----

I googled. Then from 
http://sources.redhat.com/ml/bug-binutils/2002-q3/msg00322.html , some 
one said that "gnu-new-abi" should be "gnu-v3". Then I searched the 
source codes and found unix/src/TUnixSystem.cxx contains the following 
lines:
------
1442  #if (__GNUC__ >= 3)
1443     //const char *cppfiltarg = "--format=gnu-v3";
1444     const char *cppfiltarg = "--format=gnu-new-abi";
1445  #else
1446     const char *cppfiltarg = "";
1447  #endif
------

Should the "cppfiltarg" here be "--format=gnu-v3"?

Regards.

Exaos



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