On Tue, Sep 01, 2026 at 05:57:21PM -0400, Noah Meyerhans via dovecot wrote:
> On s390x, the test suite fails in test-lib with:
> 
> test-hash-method.c:483: Assert(#28) failed: memcmp(result, 
> test_vectors[i].output, test_vectors[i].olen) == 0
> test-hash-method.c:483: Assert(#29) failed: memcmp(result, 
> test_vectors[i].output, test_vectors[i].olen) == 0
> hash method xxh64 (test vectors) ..................................... : 
> FAILED
> 
> Full build log is visible at
> https://buildd.debian.org/status/fetch.php?pkg=dovecot&arch=s390x&ver=1%3A2.4.5%2Bdfsg1-1&stamp=1788223935&raw=0
> 
> I haven't determined yet whether the problem is with the xxh64 hash
> method itself or with the test suite, but the failure is reliably
> reproducible.

This one turns out to be an endianness bug in the dovecot xxh64
implementation itself.  Details and proposed fix in
https://github.com/dovecot/core/pull/314

noah

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to