https://bugs.openldap.org/show_bug.cgi?id=9510
Issue ID: 9510
Summary: Build fails with slibtool and --disable-shared with
undefined pthread references
Product: OpenLDAP
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: build
Assignee: bugs(a)openldap.org
Reporter: orbea(a)riseup.net
Target Milestone: ---
Created attachment 810
--> https://bugs.openldap.org/attachment.cgi?id=810&action=edit
Build log with rdlibtool.
When building openldap with --disable-shared and slibtool
(https://dev.midipix.org/cross/slibtool) the build fails with many undefined
pthread references.
My understanding is that building static libraries exposes undefined references
that otherwise would be exposed with -no-undefined. I am not sure how GNU
libtool avoids this, perhaps it silently adds -lpthread? For the record GNU
libtool will silently ignore -no-undefind while slibtool will not.
This exposes several related issues in openldap.
* libldap has no configure check indicating it requires --with-threads.
* libldap does add $(LTHREAD_LIBS) to its $(LINK_LIBS), but then actually fails
to use it.
* The client tools requires threads, but they also have no configure check
indicating so.
* The client tools do not have a configure check to disable them, but there is
a --without-threads.
* The client tools really do needs $(LTHREAD_LIBS) added to the $(LINK_LIBS)
I made a MR that fixes these problems or see the attached patch.
https://git.openldap.org/openldap/openldap/-/merge_requests/303
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=7832
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |TEST
Status|IN_PROGRESS |RESOLVED
--- Comment #20 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Commits:
• f3975b3f
by David Coutadeur at 2021-03-26T15:01:36+00:00
Proposing ppolicy extended module for OpenLDAP (issue #7832)
• c81bb207
by David Coutadeur at 2021-03-26T15:01:36+00:00
clean and homogenize ppm files for integration into contrib (issue #7832 !252)
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8847
--- Comment #42 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Commits:
• 829263c4
by Howard Chu at 2021-03-26T13:45:26+00:00
ITS#8847 move lutil_sockaddrstr() to ldap_pvt_sockaddrstr()
Commits:
• f2ddf89e
by Howard Chu at 2021-03-26T14:12:47+00:00
ITS#8847 more fallout from ldap_pvt_sockaddrstr move
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8698
OndÅ™ej KuznÃk <ondra(a)mistotebe.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |IN_PROGRESS
Ever confirmed|0 |1
--- Comment #1 from OndÅ™ej KuznÃk <ondra(a)mistotebe.net> ---
https://git.openldap.org/openldap/openldap/-/merge_requests/304
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9347
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|OL_2_5_REQ, reviewed |
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Commits:
• 61e9b6d3
by OndÅ™ej KuznÃk at 2021-03-25T23:57:07+00:00
ITS#9347 Log which policy attribute is invalid
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=7788
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.5.0 |2.5.3
--- Comment #7 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Commits:
• 109d967f
by OndÅ™ej KuznÃk at 2021-03-25T19:43:18+00:00
ITS#7788 Hashing should be independent of a useable policy
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8847
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |TEST
Status|CONFIRMED |RESOLVED
--- Comment #41 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
Commits:
• 8ebd0650
by HoweverAT at 2021-03-25T17:37:26+00:00
ITS#8847 Print local address in connection dump
• 9d594a11
by HoweverAT at 2021-03-25T18:47:11+00:00
ITS#8847 Add SOCKET_BIND_ADDRESSES Option
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8847
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.5.4 |2.5.3
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=7786
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |IN_PROGRESS
--- Comment #6 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
https://git.openldap.org/openldap/openldap/-/merge_requests/299
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=5365
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Assignee|bugs(a)openldap.org |quanah(a)openldap.org
Status|UNCONFIRMED |IN_PROGRESS
--
You are receiving this mail because:
You are on the CC list for the issue.