Bug#298247: glibc: Including bits/libc-lock.h for __libc_lock_* fails on nptl system.
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.
Kurt
Reply to: