Compiling Dovecot on Solaris 11 fails

Andrew Watkins andrew at dcs.bbk.ac.uk
Fri Jan 4 14:31:09 EET 2019


On 01/ 4/19 09:40 AM, James wrote:
>> my test system is solaris 11.3 and I have gcc 4.5.2.
>
> Old versions of gcc do not have -mfunction-return=thunk
>
> 7 and 8 have it.
>
>

Thanks for all this information and you have all pointed me in the right 
direction. The reason I get this error now is that I have upgraded to 
Solaris 11.4 and GCC 7.3 (Solaris 11.4 does not come with gcc 4 any more)

- Solaris 11.3 and gcc 4.x all works OK.

- Solaris 11.3 & 11.4 and gcc 7.3 fails with the given error.

- Solaris 11.3 & 11.4 and gcc 7.3 add "./configure --disable-hardening" 
and it all works.

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)



More information about the dovecot mailing list