Description of problem: The man page talks about "--strip-underscores" option which is not recognized by the binary. The binary recognizes "--strip-underscore" (without 's' at the end). On the other hand the binary recognizes both "negative" options: --no-strip-underscore --no-strip-underscores Version-Release number of selected component (if applicable): binutils-2.17.50.0.6-9.el5 How reproducible: always Steps to Reproduce: # c++filt --strip-underscores c++filt: unrecognized option `--strip-underscores' Usage: c++filt [options] [mangled names] Options are: [-_|--strip-underscore] Ignore first leading underscore [-n|--no-strip-underscore] Do not ignore a leading underscore (default) [-p|--no-params] Do not display function arguments [-i|--no-verbose] Do not show implementation details (if any) [-t|--types] Also attempt to demangle type encodings [-s|--format {none,auto,gnu,lucid,arm,hp,edg,gnu-v3,java,gnat}] [@<file>] Read extra options from <file> [-h|--help] Display this information [-v|--version] Show the version information Demangled names are displayed to stdout. If a name cannot be demangled it is just echoed to stdout. If no names are provided on the command line, stdin is read. # c++filt --strip-underscore ^C # Actual results: 1 described option is not supported Expected results: all described options are supported Additional info: Options "-j" and "--java" which are described in the man page are not recognized -- shall I make a copy of bz#110926 for RHEL-5?
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
Test RPMs are uploaded to http://people.redhat.com/dvlasenk/binutils-test-RHEL-5.4/ If you are interested in testing them, please give them a try. Note that these packages are not official Red Hat packages (yet).
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0465.html