Bug#298247: glibc: Including bits/libc-lock.h for __libc_lock_* fails on nptl system.
reassign 298247 libnss-pgsql
retitle 298247 libnss-pgsql: Uses non-exported libc interface.
On Sun, Mar 06, 2005 at 11:00:46AM -0500, Daniel Jacobowitz wrote:
> On Sun, Mar 06, 2005 at 02:01:12AM +0100, Kurt Roeckx wrote:
> > Package: libc6-dev
> > Version: 2.3.2.ds1-20
> > Hi,
> > libnss-pgsql uses <bits/libc-lock.h> with _LIBC and NOT_IN_libc
> > defined to use __libc_lock_*.
> > On amd64 this is failing because it does this:
> > #ifdef _LIBC
> > # include <lowlevellock.h>
> > # include <tls.h>
> > # include <pthread-functions.h>
> > #endif
> > None of those seem to exist on amd64, probably because we do not
> > have tls and only have nptl.
> > libnss-pgsql builds fine if those 3 includes are removed.
> That is a bug in libnss-pgsql; __libc_lock_* are not an exported
> interface, do not use them.
So I'm reassigning this to libnss-pgsql.
> You do have TLS, but tls.h is not and will never be an installed
> header; ditto the others.
Right, I got a little confused about that. The version on i386
seems to look completely different anyway.