Dovecot 2.3.6 on Solaris10: build issues, segfaults

James list at xdrv.co.uk
Wed Jul 10 11:07:47 EEST 2019


On 09/07/2019 01:02, Joseph Tam via dovecot wrote:

> Issue 2) Cannot build with --enable-hardening
>
>     Using gcc 9.1.0, "configure" step fails because fd passing was
>     broken, but the real problem was a compilation failure when
>     "--enable-hardening" is used.  Demonstration:

See:
https://dovecot.org/pipermail/dovecot/2019-January/114121.html


> Issue 3) dovecot/doveconf segfaults on startup
>
>     It crashes here while processing dovecot.conf, as does "doveconf"
>
>         (settings-parser.c:1519 in setting_copy())
>         *dest_size = *src_size;
>
>     It appears *src_size is not an 8-byte address aligned (0x5597c).
>     It inherits this value from the calling routine as the sum of
>     "set" (8-byte aligned) + "def->offset"=20 => misaligned address.

32 bit or 64bit? cflags? I use 32 bit cc 12.6 and have no problem.  My 
test with gcc 9.1.0 didn't dump core either.


More information about the dovecot mailing list