G++ Linking issue : hidden symbol `__dso_handle'
Ian Lance Taylor
iant@google.com
Wed Sep 16 14:08:00 GMT 2009
Rajat <myself_rajat@yahoo.com> writes:
> Thanks a lot for the help Ian. Yeah I could see allmost all the libs are showing this,
> $ readelf -s <Lib_Name> | grep "__dso_handle"
> 99: 00034dc0 0 OBJECT LOCAL HIDDEN 22 __dso_handle
> Does this present in the symbol table ? Whats the significance of it?
You should never get this warning for a defined symbol like that one.
You should only get it for an undefined symbol. Look for a shared
library in which __dso_handle is present in the symbol table but is
undefined.
Ian
More information about the Gcc-help
mailing list