This is the mail archive of the gcc@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: multiple definitions of 'xxx keyed to...' in egcs-1.1.1



  In message <m106iAc-000390C@ocean.lucon.org>you write:
  > > 
  > > On Jan 29, 1999, hjl@varesearch.com (H.J. Lu) wrote:
  > > 
  > > > I have no idea if this patch is correct. But it works for me. gcc
  > > > seems to pick a poor choice of function name for global constructors
  > > > and destructors. It may not be unique across files.
  > > 
  > > AFAIR, Jason Merrill had fixed this in the trunk, maybe it's just a
  > > matter of porting his fix to the branch.
  > > 
  > 
  > I saw the fix. It should be back ported to 1.1.2. However, Jason' fix
  > is not 100% safe since it bets on luck. My second patch is 100% safe.
  > But it only covers ctors/dtors in C++ and only works on ELF.
In what way does it "bets on luck"?

Such statements carry far more weight when you take the time to explain them.

jeff


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