This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem with __dso_handle on Linux/alpha
- To: Christian Iseli <chris at lslsun dot epfl dot ch>
- Subject: Re: problem with __dso_handle on Linux/alpha
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 4 May 2000 12:47:05 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <200005041551.RAA04672@lslsun.epfl.ch>
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~