Issue 8684 - AIX 7.1 fails does not support robust mutexes
Summary: AIX 7.1 fails does not support robust mutexes
Status: UNCONFIRMED
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-06 15:22 UTC by huy.nguyen@cegdim-activ.com
Modified: 2020-03-23 15:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description huy.nguyen@cegdim-activ.com 2017-07-06 15:22:08 UTC
Full_Name: Huy Nguyen
Version: 2.4.45
OS: AIX 7.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.6.223.9)


After running configure and make depend, make fails with the following message
:
./../../../libraries/liblmdb/mdb.c:4853:53: error: 'PTHREAD_MUTEX_ROBUST'
undeclared (first use in this function)
   if (!rc) rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST);
It appears AIX 7?1 doesn't have robust mutexes
(https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.genprogc/interfaces.htm).
Disabling robust mutexes with CPPFLAGS="-DMDB_USE_ROBUST=0" works fine.