This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Serious C++ linking error
- To: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Serious C++ linking error
- From: Jason Gunthorpe <jgg at ualberta dot ca>
- Date: Sun, 4 Jul 1999 04:12:50 -0600 (MDT)
- cc: egcs-bugs at egcs dot cygnus dot com
On Sun, 4 Jul 1999, Martin v. Loewis wrote:
> > It appears that my eg++ is causing .o files linked with -fPIC to
> > dynamically link to template symbols located in libstdc++2.9, while my
> > other .o files link to a local copy of those template symbols. One of
> > these symbols is the free_list in the __default_alloc_template - the
> > default allocator for the string class.
>
> This should work, as the dynamic linker should resolve the duplicate
> symbols as one during runtime. Without further analysis, I suggest to
> update binutils.
I am using binutils 2.9.1.0.24:
pandora{jgg}~#ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
I'd be alarmed if this was not a sufficiently new version... Can I provide
anymore information?
Jason