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


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: bug in distributions using NPTL (?)


On Tue, Nov 02, 2004 at 06:58:48PM +0100, Sebastien Decugis wrote:
> Hi all,
> 
> I've just noticed that on several distributions which install both the
> NPTL in /lib/tls and the Linuxthreads in /lib, (I tried with FedoraCore
> 3, SLES9, RHEL3), an user application which uses the
> pthread_barrierattr_getpshared routine won't be able to link.
> 
> AFAIU, this is due to this routine being absent from the linuxthreads
> library (instead there is __pthread_barrierattr_getpshared); and the
> compiler will use automatically /lib/libpthread.so.0 at link time,
> /lib/tls/libpthread.so.0 will be used only at runtime.
> 
> Is this a bug in the given distributions (or in the linker); or should
> the symbol pthread_barrierattr_getpshared be present in the Linuxthreads
> library as well? (I don't understand the alias mechanism)
> 
> Please let me know if I have to open a bugzilla for this.

Your distribution probably provides the NPTL libraries somewhere, and
documents what include and library paths you need to specify to use
NPTL-only functionality.

-- 
Daniel Jacobowitz


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