Full_Name: Chris Cappuccio Version: 1.2 OS: OpenBSD 2.5-beta URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (12.7.96.12) With the current (3/1/99) version of OpenBSD (tagged 2.5-beta), OpenLDAP 1.2 is unable to detect /usr/include/pthread.h and does not compile with thread support.
Please provide details on how Pthreads should be detected on OpenBSD 2.5 beta. If a specific test is failing, provide the config.log output for this test.
changed state Open to Feedback
changed notes
Looks like it isn't doing -pthread with gcc configure:3494: checking for pthread.h configure:3504: gcc -E conftest.c >/dev/null 2>conftest.out In file included from configure:3500: /usr/include/pthread.h:317: warning: #warning "included <pthread.h> without -pth read compiler option" configure: failed program was: #line 3499 "configure" #include "confdefs.h" #include <pthread.h> On Fri, 5 Mar 1999, Kurt Zeilenga wrote: | Please provide details on how Pthreads should be detected on | OpenBSD 2.5 beta. If a specific test is failing, provide the | config.log output for this test. | -- Preinstalled OpenBSD systems http://www.nmedia.net/bsd/
At 08:11 PM 3/5/99 GMT, chris@nmedia.net wrote: >Looks like it isn't doing -pthread with gcc We do, it's the third pthread link test. >configure:3494: checking for pthread.h >configure:3504: gcc -E conftest.c >/dev/null 2>conftest.out That's the first pthread link test (with $LIBS). Look a little further down in your config.log. Kurt
> From: chris@nmedia.net > > Looks like it isn't doing -pthread with gcc The same happens on alpha and solaris. Several of the threading checks that do exist in configure are not executed, including -pthread (OpenBSD port of gcc, ITS#94) -threads (OSF1 Alpha, ITS#89) -mt (cc on solaris - I seem to remember it worked recently, the Faq-O-Matic comment on Solaris) I expect it's the same bug as ITS#89 and the solaris thread problem: If configure _finds_ pthread_create, it assumes all is well, and doesn't look for options with which it actually _works_. I suppose the fix is to run the "pthread-create works?" test instead of the "pthread-create exists?" test when searching for threading options to cc. -- Hallvard
Awaiting details on this issue. Please provide config.log entries for pthread tests. Thanks, Kurt
changed notes changed state Feedback to Suspended
Hold on...I think there is new threads stuff in OpenBSD that use libc_r...Lemme compile get to current and try it again.. On Fri, 12 Mar 1999, Kurt Zeilenga wrote: | Awaiting details on this issue. Please provide config.log entries | for pthread tests. Thanks, Kurt | -- Preinstalled OpenBSD systems http://www.nmedia.net/bsd/
changed notes changed state Suspended to Closed
Need details. 2nd request sent. Issue with Beta release of OpenBSD.