[committed] Fix eh/link failures on ppc-darwin7.x

Ian Lance Taylor ian@airs.com
Sun Jul 31 00:45:00 GMT 2005


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



More information about the Libstdc++ mailing list