OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Incoming/8325
Full headers

From: bernhard.pfeiffer33@gmail.com
Subject: Building Problems openLDAP 2.4.43 pthread_mutexattr_setrobust
Compose comment
Download message
State:
0 replies:
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Tue, 01 Dec 2015 06:04:12 +0000
From: bernhard.pfeiffer33@gmail.com
To: openldap-its@OpenLDAP.org
Subject: Building Problems openLDAP 2.4.43 pthread_mutexattr_setrobust
Full_Name: Bernhard Pfeiffer
Version: openLDAP 2.4.43
OS: SUSE 11
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.158.227.32)


Since the new version i get building problems under SUSE11:

cc -g -O2 -o slapd main.o globals.o bconfig.o config.o daemon.o connection.o
search.o filter.o add.o cr.o attr.o entry.o backend.o backends.o result.o
operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o
bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o
init.o user.o lock.o controls.o extended.o passwd.o schema.o schema_check.o
schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o
saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o
module.o mra.o mods.o sl_malloc.o zn_malloc.o limits.o operational.o
matchedValues.o cancel.o syncrepl.o backglue.o backover.o ctxcsn.o ldapsync.o
frontend.o slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o slappasswd.o
slaptest.o slapauth.o slapacl.o component.o aci.o alock.o txn.o slapschema.o
version.o -pthread  -L/products/db-5.2.42/lib -L/products/openssl-1.0.2d/lib
libbackends.a liboverlays.a ../../libraries/liblunicode/liblunicode.a
../../libraries/librewrite/librewrite.a ../../libraries/liblutil/liblutil.a
../../libraries/libldap_r/.libs/libldap_r.a
/data0/install/openLDAP_v2/openldap-2.4.43/libraries/liblber/.libs/liblber.a
../../libraries/liblber/.libs/liblber.a /products/db-5.2.42/lib/libdb-5.2.so
-lpthread -lssl -lcrypto -lresolv -pthread -Wl,--rpath
-Wl,/products/db-5.2.42/lib -Wl,--rpath -Wl,/products/openssl-1.0.2d/lib
daemon.o: In function `alap_listener':
/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/daemon.c:1873: warning:
`sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/daemon.c:1873: warning:
`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
libbackends.a(mdbmdb.o): In function `mdb_mutex_failed':
/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/back-mdb/./../../../libraries/liblmdb/mdb.c:9977:
undefined reference to `pthread_mutex_consistent'
libbackends.a(mdbmdb.o): In function `mdb_env_setup_locks':
/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/back-mdb/./../../../libraries/liblmdb/mdb.c:4620:
undefined reference to `pthread_mutexattr_setrobust'
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1
make[2]: Leaving directory
`/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/data0/install/openLDAP_v2/openldap-2.4.43/servers'
make: *** [all-common] Error 1

Followup 1

Download message
Subject: Re: (ITS#8325) Building Problems openLDAP 2.4.43
 pthread_mutexattr_setrobust
To: bernhard.pfeiffer33@gmail.com, openldap-its@OpenLDAP.org
From: Howard Chu <hyc@symas.com>
Date: Tue, 1 Dec 2015 20:15:14 +0000
bernhard.pfeiffer33@gmail.com wrote:
> Full_Name: Bernhard Pfeiffer
> Version: openLDAP 2.4.43
> OS: SUSE 11
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (85.158.227.32)
>
>
> Since the new version i get building problems under SUSE11:

Unfortunate. Read liblmdb/mdb.c around lines 241 onward. Either the glibc 
version detection is wrong, or your system just has a weirdly patched glibc. 
You can either try to fix the version detection, or just compile with 
-DMDB_USE_ROBUST=0 to bypass this.

> cc -g -O2 -o slapd main.o globals.o bconfig.o config.o daemon.o
connection.o
> search.o filter.o add.o cr.o attr.o entry.o backend.o backends.o result.o
> operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o
ava.o
> bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o
aclparse.o
> init.o user.o lock.o controls.o extended.o passwd.o schema.o schema_check.o
> schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o
> saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o
> module.o mra.o mods.o sl_malloc.o zn_malloc.o limits.o operational.o
> matchedValues.o cancel.o syncrepl.o backglue.o backover.o ctxcsn.o
ldapsync.o
> frontend.o slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o
slappasswd.o
> slaptest.o slapauth.o slapacl.o component.o aci.o alock.o txn.o
slapschema.o
> version.o -pthread  -L/products/db-5.2.42/lib
-L/products/openssl-1.0.2d/lib
> libbackends.a liboverlays.a ../../libraries/liblunicode/liblunicode.a
> ../../libraries/librewrite/librewrite.a ../../libraries/liblutil/liblutil.a
> ../../libraries/libldap_r/.libs/libldap_r.a
> /data0/install/openLDAP_v2/openldap-2.4.43/libraries/liblber/.libs/liblber.a
> ../../libraries/liblber/.libs/liblber.a
/products/db-5.2.42/lib/libdb-5.2.so
> -lpthread -lssl -lcrypto -lresolv -pthread -Wl,--rpath
> -Wl,/products/db-5.2.42/lib -Wl,--rpath -Wl,/products/openssl-1.0.2d/lib
> daemon.o: In function `alap_listener':
> /data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/daemon.c:1873:
warning:
> `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
> /data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/daemon.c:1873:
warning:
> `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
> libbackends.a(mdbmdb.o): In function `mdb_mutex_failed':
> /data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/back-mdb/./../../../libraries/liblmdb/mdb.c:9977:
> undefined reference to `pthread_mutex_consistent'
> libbackends.a(mdbmdb.o): In function `mdb_env_setup_locks':
> /data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd/back-mdb/./../../../libraries/liblmdb/mdb.c:4620:
> undefined reference to `pthread_mutexattr_setrobust'
> collect2: ld returned 1 exit status
> make[2]: *** [slapd] Error 1
> make[2]: Leaving directory
> `/data0/install/openLDAP_v2/openldap-2.4.43/servers/slapd'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory
`/data0/install/openLDAP_v2/openldap-2.4.43/servers'
> make: *** [all-common] Error 1
>
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



Followup 2

Download message
Date: Wed, 2 Dec 2015 08:55:42 +0100
Subject: Re: (ITS#8325) Building Problems openLDAP 2.4.43 pthread_mutexattr_setrobust
From: Bernhard Pfeiffer <bernhard.pfeiffer33@gmail.com>
To: openldap-its@OpenLDAP.org
--001a11407ed8d5462d0525e599d1
Content-Type: text/plain; charset=UTF-8

Work-Around works perfectly!

Thanks.

Issue can be closed.

Greets,
Bernhard

--001a11407ed8d5462d0525e599d1
Content-Type: text/html; charset=UTF-8

<div dir="ltr"><div><div><div><div>Work-Around
works perfectly!<br><br></div>Thanks.<br><br></div>Issue
can be closed.<br><br></div>Greets,<br></div>Bernhard<br></div>

--001a11407ed8d5462d0525e599d1--


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org