Exaos Lee <schlie@iris.ciae.ac.cn> writes: > 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 Hi Exaos, this is just wild guessing from the lines above but it looks like the change you propose would break demangling for gcc-2.96 which used gnu-new-abi. One needs to distinguish between the gcc-3.x compilers and gcc-2.96. I have no gcc-2.96 around. Jiri
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET