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: problem with __dso_handle on Linux/alpha


On Thu, May 04, 2000 at 05:51:31PM +0200, Christian Iseli wrote:
> ./a.out: error in loading shared libraries: ../../alpha-redhat-linux/libstdc++/libstdc++-libc6.1-2.so.3: undefined symbol: __dso_handle

Your libstdc++ was built incorrectly.  __dso_handle should have been
defined its local copy of that symbol.

> Now, if I do 'nm a.out' (see below), there *is* this symbol defined in the
> BSS section.

That symbol is supposed to be local to every module that defines it.
If you're using new enough binutils, we'll use STV_HIDDEN to ensure that.



r~

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