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


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

Actually, I assume that it *does* define a copy of that symbol - only
that the copy is a local symbol, and there is a relocation against the
symbol's value in the GOT, and the dynamic linker won't use the local
symbol (which IMO violates the ABI for hidden, but the dynamic linker
predates that part of the ABI)

There are three solutions:
a) downgrade to binutils that don't support .hidden at all,
b) upgrade to today's CVS binutils, or
c) undef the HAVE_GAS_HIDDEN definition in auto-host.h

Hope this helps,
Martin


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