versioning of _Unwind_*() symbols

H. J. Lu hjl@lucon.org
Thu Apr 22 23:34:00 GMT 2004


On Thu, Apr 22, 2004 at 03:12:32PM -0700, David Mosberger wrote:
> >>>>> On Thu, 22 Apr 2004 15:02:15 -0700, "H. J. Lu" <hjl@lucon.org> said:
> 
>   HJ> BTW, since the ABI library is more than just unwind library. We
>   HJ> can't use David's unwind library as is.
> 
> You can.  Just list -lunwind as a dependency as is done now with libgcc_s.

I don't think it will work AS IS since linker may add libunwind.so to
DT_NEEDED if it is used. A new linker option may be needed to work
with it.

> 
>   HJ> Also his unwind library is a link-time replacement, not run-time
>   HJ> replacement for existing unwind library in icc.
> 
> That's not true any longer: with the libunwind in the bk repository
> (due to be released as v0.97 any day now), my libunwind can serve as a
> direct replacement for Intel's libunwind.  The only left-over wrinkle
> at the moment is that Intel's major version is 6 whereas mine has
> version 1.  I'm not sure what to do about that.  Perhaps we should all
> just use 6 since the actual version doesn't matter?

It may not matter if we can make sure DT_NEEDED entry in the ABI
library never shows up in executable or shared library.


H.J.



More information about the Gcc mailing list