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

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Sun May 20 15:35:45 EEST 2007


* Uldis Pakuls <neko at it4u.lv>:

> All SuSE Linux binaries starting with v10.0 are built with
> 
> -fstack-protector and works as expected.

I had a look at the spec file and found they simply use

    export CFLAGS="$CFLAGS -fstack-protector"

I tried that -- and it builds --  yet the quota plugin still reports:

May 20 14:30:32 postamt dovecot: imap-login: Login: user=<loginname>, method=PLAIN, rip=141.42.4.251, lip=141.42.4.250
May 20 14:30:32 postamt dovecot: IMAP(loginname): 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
May 20 14:30:32 postamt dovecot: child 21292 (imap) returned error 89

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)             plonk at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
There are no viruses. 
It's antibodies against people too stupid to survive on the Internet.


More information about the dovecot mailing list