[Dovecot] [Blasphemy] Can I build dovecot with "-fstack-protector"?

Timo Sirainen tss at iki.fi
Thu May 17 00:03:03 EEST 2007

On Wed, 2007-05-16 at 22:47 +0200, Ralf Hildebrandt wrote:
> I tried building dovecot using :
> CPPFLAGS="-fstack-protector" LDFLAGS="-lssp" ./configure
> That would result in a proper build, yet the binary would complain
> once being run:
> dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed:
> /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: __stack_chk_fail_local

Are you sure the imap binary is linked with -lssl? I've never used
-fstack-protector, but I think that symbol should exist in the libssl

If you disable quota plugin, I guess it works then.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070517/dfaea4ee/attachment.pgp 

More information about the dovecot mailing list