--On Monday, January 28, 2019 3:35 PM +0000 Rupert Gallagher ruga@protonmail.com wrote:
As you can see, I am using the default Apple linker, and hardened settings for the compiler. Try using those settings yourself, and see what comes out.
I tested on FreeBSD12 (since it uses clang rather than gcc) with the following flags and the build completed w/o issue:
CFLAGS= -g -fstack-protector-all -fno-omit-frame-pointer -fPIC -fPIE -O2 -Wformat -Wformat-security -Werror=format-security LDFLAGS= -Wl,-z,relro,-z,now -pie CPPFLAGS= -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
In any case, I think we've well established the problem you're hitting has zero to do with OpenLDAP in and of itself. You'll need to take this up elsewhere.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com