Compiling Dovecot on Solaris 11 fails

Aki Tuomi aki.tuomi at open-xchange.com
Thu Jan 3 20:43:50 EET 2019


> On 03 January 2019 at 18:45 Andrew Watkins <andrew at dcs.bbk.ac.uk> wrote:
> 
> 
> 
> Hi,
> 
> Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure 
> part. I just went checked and it last version it works on is v2.3.2.1
> 
> Version 2.3.2.1 (OK)
> # ./configure
> ....
> checking Linux compatible mremap()... no
> checking whether shared mmaps get updated by write()s... yes
> checking whether fd passing works... yes
> ...
> 
> Version 2.3.4 (FAIL)
> ....
> checking Linux compatible mremap()... no
> checking whether shared mmaps get updated by write()s... no
> checking whether fd passing works... no
> configure: error: fd passing is required for Dovecot to work
> ....
> 
> config.log shows:
> configure:22538: checking whether shared mmaps get updated by write()s
> configure:22585: gcc -o conftest -std=gnu99 -g -O2 
> -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
> -mfunction-return=thunk -mindirect-branch=thunk -Wall -W 
> -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
> -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime 
> -Wstrict-aliasing=2   conftest.c  >&5
> configure:22585: $? = 0
> configure:22585: ./conftest
> ./configure[2026]: eval: line 1: 29183: Memory fault(coredump)
> ....
> onfigure:22610: checking whether fd passing works
> configure:22685: gcc -o conftest -std=gnu99 -g -O2 
> -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
> -mfunction-return=thunk -mindirect-branch=thunk -Wall -W 
> -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
> -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime 
> -Wstrict-aliasing=2 -I./src/lib ./src/lib/fdpass.c   conftest.c  >&5
> configure:22685: $? = 0
> configure:22685: ./conftest
> ./configure[2026]: eval: line 1: 29206: Memory fault(coredump)
> ...
> 
> $ ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> file size               (blocks, -f) unlimited
> open files                      (-n) 512
> pipe size            (512 bytes, -p) 10
> stack size              (kbytes, -s) unlimited
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 29995
> virtual memory          (kbytes, -v) unlimited
> 
> Any ideas and thanks.
> 
> Andrew
> 
> -- 
> Andrew Watkins * Birkbeck, University of London * Computer Science *
> * http://notallmicrosoft.blogspot.com *
> * UKOUG Systems SIG Chair *
> * UKOUG Tech committee *
> * tel: 020 7631 6720 *
> 
> ::e-mails are only read & actioned between 0900 and 1800 hours (Monday - Friday)
>

Backtrace from the core dump could help.

Aki


More information about the dovecot mailing list