Bug 485194 - man page for c++filt contains unsupported option
Summary: man page for c++filt contains unsupported option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: binutils
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Denys Vlasenko
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 545384
TreeView+ depends on / blocked
 
Reported: 2009-02-12 09:16 UTC by Milos Malik
Modified: 2013-04-12 20:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 545384 (view as bug list)
Environment:
Last Closed: 2009-05-06 15:35:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0465 0 normal SHIPPED_LIVE binutils bug fix update 2009-05-06 15:35:16 UTC

Description Milos Malik 2009-02-12 09:16:56 UTC
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?

Comment 1 RHEL Program Management 2009-03-26 17:08:22 UTC
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 "?".

Comment 2 Denys Vlasenko 2009-04-08 18:17:07 UTC
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).

Comment 7 errata-xmlrpc 2009-05-06 15:35:33 UTC
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


Note You need to log in before you can comment on or make changes to this bug.