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.  libstdc++ should have defined
>> it's own 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

Thanks for the tips.  Actually, before attempting to get the latest GCC
snapshot, I installed the latest binutils from HJ Lu (2.9.5.0.37).  I'm not
sure where they stand with respect to "today's CVS binutils"...  Maybe
HJ could comment on this...

BTW, how does one know if the symbol is hidden by looking at nm output ?

Regards,
					Christian

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