Re: [ROOT] /usr/bin/c++filt: unknown demangling style `gnu-v3'

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Thu Aug 07 2003 - 10:46:48 MEST


Hallo all,

On Fri, Aug 01, 2003 at 10:23:49AM -0500, Philippe Canal wrote:
> The c++-filt error is annoying but not fatal and means that the demangling
> for the printout is not going to be properly done.  This is due to the call
> to c++filt not being (yet) properly done for every single possible compiler
> version and configuration.  Currently the only way to 'fix' the problem is
> to go hack unix/src/TUnixSystem.cxx and recompile ROOT.

I think the most frequent error is the wrong setting of the format
string for g++>=3 (either '--format=gnu-v3' or '--format=gnu-new-abi').
Unfortunately, there are both versions in use with gcc>=3 on different
platforms. However, the c++filt programs which understand the new demangling 
style should be able to recognize it with the default format 'auto'. For
the other ones no option will help. Therefore I propose to skip the
'--format=xxx' assignment for gcc >= 3 in TUnixSystem.cxx as it
will cover the most general situations.

Best regards,
Volker

-- 
Dr. Volker Hejny                Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



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