This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: G++ Linking issue : hidden symbol `__dso_handle'


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


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