On 03 January 2019 at 21:07 James list@xdrv.co.uk wrote:
On 03/01/2019 16:45, Andrew Watkins wrote:
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
...
.... 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 ....
In think it's thunk (but I forget exactly what aspect).
Try: ./configure --disable-hardening ...
Or build with cc.
(Sorry, it's too late for me to do another test today.)
It seems we need to improve the thunk code to check that the binaries generated are actually able to run, and not just check that the flag is accepted by compiler.
Aki