This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ automatic template instantiation? References: <200004192022.NAA16570@kankakee.wrs.com>
- To: Dima Volodin <dvv at dvv dot org>
- Subject: Re: C++ automatic template instantiation? References: <200004192022.NAA16570@kankakee.wrs.com>
- From: Tudor Hulubei <tudor dot hulubei at ecora dot com>
- Date: Wed, 19 Apr 2000 17:25:57 -0400 (EDT)
- Cc: Mike Stump <mrs at windriver dot com>, gcc at gcc dot gnu dot org
<7559-Wed19Apr2000170702-0400-tudor.hulubei@ecora.com>
<38FE21ED.9FD25B0B@dvv.org>
Reply-To: Tudor Hulubei <tudor.hulubei@ecora.com>
Organization: ecora.com
On Wednesday, 19 April 2000, Dima Volodin wrote:
> Tudor Hulubei wrote:
>
> > Internal STL symbols are tedious to resolve from the linker error
> > messages, mostly because they end up being fully expanded (for
> > instance string is replaced by something like
> > basic_string<your_life_story_here>). In many cases the symbol
> > reported comes in the form of a C++ mangled string that I cannot
> > demangle with c++filt, and I have to blindly guess it, which takes a
> > lot of time, greping through the STL header files, etc.
>
> You might want to update your binutils. We used to have problems like that
> approx. three years ago. The cause of this problems was demnagling code's
> limitations on the size of mangled names. With these limitations lifted, we
> haven't experienced problems like this.
I'm using RedHat 6.2, released a few weeks ago. This is the version
reported by `rpm-qa | grep binutils':
binutils-2.9.5.0.22-6
ld -v:
GNU ld 2.9.5
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf_i386
i386linux
Tudor