[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8330) Fix robust mutex detection for glibc 2.10 and 2.11
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8330) Fix robust mutex detection for glibc 2.10 and 2.11
- From: hyc@symas.com
- Date: Thu, 03 Dec 2015 19:11:23 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
sebastien@slaunay.fr wrote:
> Full_Name: Sebastien Launay
> Version: LMDB 0.9.17
> OS: Ubuntu 10.04.4 LTS x86_64
> URL: https://gist.githubusercontent.com/slaunay/3252415fad66d641e5b1/raw/356a57a7257e0e34fb87e78c12ca247da53f6be1/0001-Fix-robust-mutex-detection-for-glibc-2.10-and-2.11.patch
> Submission from: (NULL) (104.36.15.110)
>
>
> I am having trouble compiling version 0.9.17 as well as the master branch of
> LMDB with Ubuntu Lucid.
>
> When compiling the project under Ubuntu Lucid x86_64 (glibc 2.11), I get the
> following errors:
Thanks, fixed in git mdb.master
> The exact version of the glibc is the following:
>
> $ ldd --version
> ldd (Ubuntu EGLIBC 2.11.1-0ubuntu7.21) 2.11.1
> Copyright (C) 2009 Free Stwtware Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Written by Roland McGrath and Ulrich Drepper.
> $ lsb_release -a
> No LSB modules are available.
> Distribut I ID: Ubuntu
> Description: Ubuntu 10.04.4 LTS
> Release: 10.04
> Codename: lucid
>
> I noticed that pthread_mutexattr_setrobust and pthread_mutex_consistent are
> provided since 2.12 not 2.10:
> https://github.molgen.mpg.de/git-mirror/glibc/commit/402cd98775db1478f64c9b0dbe00664b89eb2773
> https://github.molgen.mpg.de/git-mirror/glibc/commit/78ee21859939ff75ccf8bbe00499b0c462df2e2d
>
> After applying the provided fix against master (see attached patch URL), the
> compilation and runtime are working properly.
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/