This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.0.3a on DEC Unix 4.0b: symbols multiply defined between libgcc.a/libstdc++.so



  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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]