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: Geoffrey Keating <geoffk at geoffk dot org>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 30 Jul 2005 21:39:10 -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.
>
>
> I committed this as obvious after a bootstrap and check on
> powerpc-darwin7.9.0.
I guess it's safe since this script only has to work on libstdc++ and
we know that libstdc++ doesn't define any C names which start with
'Z'.
The bug in c++filt was fixed with Xcode 2.0, which shipped with Tiger,
I think. The Tiger c++filt properly expects names as produced by 'nm'
(two underscores) on stdin, or user names (one underscore) on the
command-line.