From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Polstra To: law@cygnus.com Cc: egcs@egcs.cygnus.com Subject: Re: __register_frame_info & shared library compatibility Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-ID: References: <26090.923552674@upchuck> X-SW-Source: 1999-04n/msg00297.html Message-ID: <19990430231500.F-ssgnHswLsOJJgxkNR4dz3NLH9frBi8M6y7E6ZcfYk@z> Jeffrey A Law wrote: > > I don't understand why recompiling a shared library with the > > weak-referencing version of egcs would cause programs linked with it > > to stop working. ... > Previously the library would always have those routines, even if it did > not use EH. > > And any program which referenced that library on the link line would > get those routines via the library intead of getting its own copies. > > Now you recompile the library. It no longer gets the EH routines. Blam > your user program stops working. Thanks for the explanation. That clears it up. It seems like this is an instance of a more general problem that often crops up when you try to mix archive libraries with shared libraries. If libgcc were shared, then this problem wouldn't exist ... right? John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong