dovecot 2.3.16 fail one test on s390x, alpine linux

Timo Sirainen timo at sirainen.com
Tue Aug 10 21:59:59 EEST 2021


On 10. Aug 2021, at 19.54, Michael Ströder <michael at stroeder.com> wrote:
> 
> Timo,
> 
> On 8/10/21 5:55 PM, Timo Sirainen wrote:
>> Well, that's annoying. I thought it would have worked. I wonder if it's
>> still some issue with the #if not being right. Can you try once more
>> with disabling the #if lines, i.e. just:
> 
> It's currently still building on other big-endian platforms. But at
> least S/390 succeeded. (All low-endian platforms now fail but that's
> expected.)

The attached patch should work. TIME_T_BITS was originally typoed, should have been TIME_T_MAX_BITS. But even that isn't really a good way to check it. SIZEOF_VOID_P == 8 should work well enough.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail-cache-bigendian.diff
Type: application/octet-stream
Size: 2050 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210810/5bf5d346/attachment.obj>
-------------- next part --------------




More information about the dovecot mailing list