This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [committed] Fix eh/link failures on ppc-darwin7.x
- From: Ian Lance Taylor <ian at airs dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 30 Jul 2005 17:45:33 -0700
- Subject: Re: [committed] Fix eh/link failures on ppc-darwin7.x
- References: <a617e4c63d358e6e681a0de02715613d@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> The problem here is we don't strip the underscores before piping the
> mangled to c++filt so we need to pass --strip-underscores to c++filt.
c++filt will by default strip underscores on targets for which symbols
normally have a prepended underscore. Passing --strip-underscores to
c++filt causes it to strip them unconditionally. You should only have
to pass --strip-underscores if you are using a c++filt configured for
a different target, or if c++filt is misconfigured.
Since this script is apparently Darwin specific, it is presumably OK
to always pass --strip-underscores. But I don't know why it is
required.
Ian