From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11063 Path: news.gmane.org!.POSTED!not-for-mail From: Raphael Cohn Newsgroups: gmane.linux.lib.musl.general Subject: No definition of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in musl Date: Mon, 20 Feb 2017 15:22:41 +0000 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140c4cea757d70548f7d58b X-Trace: blaine.gmane.org 1487604182 30522 195.159.176.226 (20 Feb 2017 15:23:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2017 15:23:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11078-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 20 16:22:57 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cfpnh-0007NI-SR for gllmg-musl@m.gmane.org; Mon, 20 Feb 2017 16:22:54 +0100 Original-Received: (qmail 28126 invoked by uid 550); 20 Feb 2017 15:22:55 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28081 invoked from network); 20 Feb 2017 15:22:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormmq-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=dvtQ4YpPyp7Hqw9MAu7XB8sbcX4rnE7xqEbV6OTkm7M=; b=oeQK007k5B68FYmgqF/TPBaMDc7vacsbhNDcBYQGCGY5gPxL3ThU+GqZk5qt38nMkB ipGE7S1sJ+u1MUkK3rb3X0kmzjeCPxi3SdGw5GhN2zbHk0F7qDsGi0lb4yLcIGAsjxak RcThtFjdGUT25fKQYBZeZVw7e7KjM/MmyOGqlbG/o7Qt2G4E50X1LczuqhY4Rt3sOnsW gsLi4guJarlgN+e2X+XzgNElyLU6E7ZuoiHqjs9LfSPd39vqyFaKSNnZLgU2v4kRPrY8 Slf3MtdQdEf+5Rx/m0XzUrwwzgi/dacY+uugkEtV2SjH7Px+QsWQ1SHrBheBfsr7F1Y/ NCgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dvtQ4YpPyp7Hqw9MAu7XB8sbcX4rnE7xqEbV6OTkm7M=; b=jGTmmhfNZ+07mUA5yldrQD/fNLHKvGhWDycNbldqDPrFCD+RYLu9ERyf6YvOyn7cG5 G2objEZpT5//n5rxSiSEhXmanRaQWYVhjR9nRsw/YiQh6CG3b22AJaLgO77lrQQAL8/7 oK2vUaTm6tclwTqGKVRarHk/UjlOZE8aHfLtd4IY7IniNwL+ov51n1YRp38+L6YMFOKr /1tVisZnK9kxmuip4TlTWCpVOZWn4OpTneE+gCxBxf5QVVHOSXdl38ilJKx62C0aeDmR nMhzcHNecwllWKukLc6YkhGWWrzC9oGdpep63jt/S6Z7woselSpfj+/hcR9hEk7KVGRs DWRQ== X-Gm-Message-State: AMke39kKCd5P24oCR3CGrgFpmJZjmlqAZvkPAF4mBviEFhs8UhPn4gOO8Ou95b2WEZWOVqnCkWi1FvGPGPiYww== X-Received: by 10.36.8.70 with SMTP id 67mr7887245itc.20.1487604162182; Mon, 20 Feb 2017 07:22:42 -0800 (PST) X-Originating-IP: [90.155.92.123] Xref: news.gmane.org gmane.linux.lib.musl.general:11063 Archived-At: --001a1140c4cea757d70548f7d58b Content-Type: text/plain; charset=UTF-8 Hi, Whilst trying to compile ReOpenLDAP (https://github.com/ReOpen/ReOpenLDAP), a fork of OpenLDAP, I'm running into a wall. Some of the code wants a definition of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP. musl doesn't define this; I suspect this is a non-portable glibc extension in pthread.h. Does any one have any ideas how I might workaround this? Is there an alternative construction that the code could use? Any help gladly appreciated. Raph PS I'm trying to build the fork, as I'm led to believe it supports LibreSSL. Patches to support LibreSSL are not in mainline OpenLDAP... --001a1140c4cea757d70548f7d58b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Whilst trying to comp= ile ReOpenLDAP (https://gi= thub.com/ReOpen/ReOpenLDAP), a fork of OpenLDAP, I'm running into a= wall. Some of the code wants a definition of PTHREAD_RECURSIVE_MUTEX_INITI= ALIZER_NP. musl doesn't define this; I suspect this is a non-portable g= libc extension in pthread.h. Does any one have any ideas how I might workar= ound this? Is there an alternative construction that the code could use?
Any help gladly appreciated.

Raph

PS I= 'm trying to build the fork, as I'm led to believe it supports Libr= eSSL. Patches to support LibreSSL are not in mainline OpenLDAP...

--001a1140c4cea757d70548f7d58b--