Serious C++ linking error

Jason Gunthorpe jgg@ualberta.ca
Sun Jul 4 03:12:00 GMT 1999


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



More information about the Gcc-bugs mailing list