[Pkg-samba-maint] Bug#749095: Bug#749095: ldb: FTBFS on hurd

Jelmer Vernooij jelmer at samba.org
Sat Aug 23 21:47:32 UTC 2014


On Sat, Aug 23, 2014 at 11:26:32PM +0200, Manuel Menal wrote:
> 
> On 23/08/2014 22:31, Jelmer Vernooij wrote:
> >On Sat, Aug 23, 2014 at 02:43:28PM -0400, Manuel Menal wrote:
> >>Actually, it is the right patch for hurd-i386. This is a known issue on
> >>the Hurd's libpthread (ldb needs to be linked with pthread explicitly
> >>because it uses tdb which itself uses libpthread).
> >I'm not sure I follow. tdb doesn't use pthreads either.
> 
> Sorry, my bad, I was confused by the fact that there is code using pthreads
> in tdb, but it's not used on GNU/Hurd indeed.
> 
> The problem is actually the ldap module, which uses pthreads (via libldap):
> 
> mmenal at hurd1:~/ldb-1.1.17$ ldd bin/modules/ldb/ldap.so |grep pthread
>         libpthread.so.0.3 => /lib/i386-gnu/libpthread.so.0.3 (0x01464000)
> 
> This module gets dlopen()'ed by ldb_init(), which triggers the bug mentioned
> (which is also described here:
> http://www.gnu.org/software/hurd/faq/libpthread_dlopen.html).
> 
> Linking ldb against pthread on GNU/Hurd actually fixes the problem.
s/fixes/works around/

Thanks, I'll add this patch to the ldb package.

Do you have a pointer to the bug in Debian's tracker for the issue in
pthread on the Hurd?

Cheers,

Jelme
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140823/68f065e2/attachment.sig>


More information about the Pkg-samba-maint mailing list