On 11/02/25 21:20, Timo Sirainen via dovecot wrote:
On 7. Feb 2025, at 9.48, Peter via dovecot <dovecot@dovecot.org> wrote:
When attempting to build Dovecot 2.4.0 on the aarch64 platform, when running
tests...
test-file-cache.c:268: Assert failed: file_cache_set_size(cache, 1024) == -1
This test attempts to shrink allowed address space with setrlimit(RLIMIT_AS)
and then use mmap() to allocate memory. For some reason that still succeeds.
The test works in my Ubuntu 24.04 / aarch64 though. So not really sure how to
debug it further myself. In any case it's most likely not a real problem.
At a complete guess it could be a bug in a specific version of glibc
(2.34) that only appears in aarch64. I agree that it's not likely a
real problem and I can build with tests turned off easily enough but I
always feel more comfortable if these issues can be fixed so if there's
anything I can do to help further troubleshoot please let me know.
As an aside the actual build is being done in a aarch64 mock container
running with qemu emulation on an x86_64 system running Rocky Linux 9
for both the host (x86_64) and container (aarch64) platforms. This is
an RPM build using only a slightly modified version of the .src.rpm that
you provide in the community repos for EL8 and which I'm using (the same
sources) to build both el8 and 9. I'm sure all of that likely
complicates troubleshooting and sometimes I'm amazed that it works as
well as it does.
As a second aside I might try building it on my rpi4b instead and see if
there's any difference.
Peter
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org