Full_Name: Ludovic Orban Version: OS: OmniOS r151020 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (2a02:a03f:1cdc:c300:384b:af79:f57c:b134) Building lmdb on illumos fails with the following error: mdb.c: In function 'mdb_env_copythr': mdb.c:9036:6: error: too many arguments to function 'sigwait' sigwait(&set, &tmp); ^ In file included from mdb.c:132:0: /usr/include/signal.h:165:12: note: declared here extern int sigwait(sigset_t *); ^ This happens because to use sigwait on illumos, you have to add the -D_POSIX_PTHREAD_SEMANTICS switch to the compiler. Changing the Makefile THREADS line to add the switch solves the problem: THREADS = -pthread -D_POSIX_PTHREAD_SEMANTICS FYI, I haven't tested on sun/oracle solaris but I guess it suffers from the exact same problem.
moved from Incoming to Software Bugs
--On Monday, March 06, 2017 6:21 PM +0000 lorban@bitronix.be wrote: > Full_Name: Ludovic Orban > Version: > OS: OmniOS r151020 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (2a02:a03f:1cdc:c300:384b:af79:f57c:b134) Thanks for the report! I was able to reproduce this issue under Solaris as well. My proprosed fix is in: <https://github.com/quanah/openldap-scratch/tree/its8612> Regards, Quanah -- Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <http://www.symas.com>
changed notes
LGTM. Thanks for the fix! On Fri, Sep 22, 2017 at 10:56 PM, Quanah Gibson-Mount <quanah@symas.com> wrote: > --On Monday, March 06, 2017 6:21 PM +0000 lorban@bitronix.be wrote: > > Full_Name: Ludovic Orban >> Version: >> OS: OmniOS r151020 >> URL: ftp://ftp.openldap.org/incoming/ >> Submission from: (NULL) (2a02:a03f:1cdc:c300:384b:af79:f57c:b134) >> > > Thanks for the report! I was able to reproduce this issue under Solaris > as well. > > My proprosed fix is in: > > <https://github.com/quanah/openldap-scratch/tree/its8612> > > Regards, > Quanah > > -- > > Quanah Gibson-Mount > Product Architect > Symas Corporation > Packaged, certified, and supported LDAP solutions powered by OpenLDAP: > <http://www.symas.com> > >
changed notes changed state Open to Test
changed notes changed state Test to Release
fixed in mdb.master Fixed in mdb.RE09 (0.9.22/OL 2.4.46)
changed notes changed state Release to Closed
*** Issue 8670 has been marked as a duplicate of this issue. ***