egcs-1.0.3a on DEC Unix 4.0b: symbols multiply defined between libgcc.a/libstdc++.so
Jeffrey A Law
law@cygnus.com
Sat Aug 8 18:05:00 GMT 1998
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
More information about the Gcc-bugs
mailing list