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

2007-05-22 Thread Ralf Hildebrandt
* Uldis Pakuls [EMAIL PROTECTED]: In Debian bug reports I found following post (15/04/2007): -fstack-protector works fine with glibc 2.5, or with '-lssp' if ssp support is /not/ included in libc. Debian 4.0 is currently broken in this way (as of libc6 2.3.6.ds1-13), so it would be nice to

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

2007-05-20 Thread Uldis Pakuls
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:

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

2007-05-20 Thread Ralf Hildebrandt
* Uldis Pakuls [EMAIL PROTECTED]: 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

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

2007-05-20 Thread Ralf Hildebrandt
* Uldis Pakuls [EMAIL PROTECTED]: 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 Make sure you have a recent version of GCC and *binutils*. It

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

2007-05-20 Thread Ralf Hildebrandt
* Ralf Hildebrandt [EMAIL PROTECTED]: That's not the case. It's all from debian testing and Postfix builds perfectly with -fstack-protector. And it runs, too... -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49

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

2007-05-20 Thread Timo Sirainen
On Sun, 2007-05-20 at 18:55 +0200, Ralf Hildebrandt wrote: * Uldis Pakuls [EMAIL PROTECTED]: 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

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

2007-05-20 Thread Timo Sirainen
On Sun, 2007-05-20 at 18:55 +0200, Ralf Hildebrandt wrote: That's not the case. It's all from debian testing and Postfix builds perfectly with -fstack-protector. Just tried myself with Debian unstable and it worked fine, quota plugin as well: EXTRA_CFLAGS=-fstack-protector ./configure

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

2007-05-20 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: But do you use any dynamically loadable modules with Postfix? EXCELLENT point there. No :) You said that Dovecot works too as long as you're not using plugins.. Yes. -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix -

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

2007-05-20 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: On Sun, 2007-05-20 at 18:55 +0200, Ralf Hildebrandt wrote: That's not the case. It's all from debian testing and Postfix builds perfectly with -fstack-protector. Just tried myself with Debian unstable and it worked fine, quota plugin as well:

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

2007-05-20 Thread Uldis Pakuls
Ralf Hildebrandt wrote: * Timo Sirainen [EMAIL PROTECTED]: On Sun, 2007-05-20 at 18:55 +0200, Ralf Hildebrandt wrote: That's not the case. It's all from debian testing and Postfix builds perfectly with -fstack-protector. Just tried myself with Debian unstable and it worked

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

2007-05-17 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: 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:

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

2007-05-16 Thread Timo Sirainen
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)