This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Questions about __thread for NSS modules


> My question is: is this possible at all in NSS modules like libnss_nis.so?

Sure.  

> Do I need to link against libpthread? 

No.

> My first try ends in a unresolved "__tls_get_addr" symbol when I try to
> link the module.

I'll assume that's actually ___tls_get_addr if you're on x86.
This suggests your dynamic linker is not built with TLS support.
It defines that symbol.  


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