This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: name mangling (gcc-2.72. vs. egcs-2.91)
- To: flynnt at acm dot org (Thomas Flynn)
- Subject: Re: name mangling (gcc-2.72. vs. egcs-2.91)
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Wed, 27 Oct 99 16:17:28 PDT
- Cc: gcc at gcc dot gnu dot org
> I've got a COTS C++ library that was compiled with gcc-2.7.2. I'm running
> RedHat 6.0 with egcs-2.91. I seem to be getting unresolved symbols when
> linking with this library now. Just a guess, but has the name-mangling
> changed since gcc-2.7.2 and perhaps that's why I'm getting unresolved
> symbols?
They are not link-compatible (the main source of link incompatibility is
changes in libstdc++, not so much the name mangling per se, though there
are a few types of names that get mangled differently even given the
same code, mainly templates).