This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.3a on DEC Unix 4.0b: symbols multiply defined between libgcc.a/libstdc++.so
- To: "Oliver M. Kellogg" <Oliver dot Kellogg at vs dot dasa dot de>
- Subject: Re: egcs-1.0.3a on DEC Unix 4.0b: symbols multiply defined between libgcc.a/libstdc++.so
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 08 Aug 1998 19:00:06 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <9808041514.AA00576@gatekeeper.vs.dasa.de>you write:
> I discovered that the object files tinfo.o and tinfo2.o are included
> in both libgcc.a and libstdc++.a/.so. Assuming that RTTI stuff has no
> business in libgcc, I then simply removed the two object files from
> libgcc.a:
This is desired and correct behavior as far as I know.
Shared libraries should not contain undefined references to libgcc code --
they should have copies of the relavent code.
This should be safe -- you should find out why the linker thinks those
symbols need to be included from libgcc since they should have been
satisfied by the libstdc++ library.
jeff