On 3 Jan 2019, at 18.45, Andrew Watkins <andrew@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


does work just fine on my solaris 11 x86 box.

configure:22610: checking whether fd passing works
configure:22685: gcc -o conftest -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -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 -lsocket -lnsl -lresolv  >&5
configure:22685: $? = 0
configure:22685: ./conftest
configure:22685: $? = 0
configure:22708: result: yes

What is your Solaris release and which version of gcc you are using?

my test system is solaris 11.3 and I have gcc 4.5.2. 

Sami