configure AC_FUNC_MMAP does not detect mmap on CheriBSD
ivmai opened this issue · 2 comments
ivmai commented
Source: master (30db756)
Host: Morello CheriBSD / arm64 (FreeBSD 14.0)
How to reproduce: ./configure | grep "checking for working mmap"
Output: checking for working mmap... no
Reported in CHERI project: CTSRD-CHERI/cheribsd-ports#122
Known workaround: change "undef HAVE_MMAP" to "define HAVE_MMAP" in src/config.h.
ivmai commented
This will be fixed in autoconf 2.72e (https://lists.gnu.org/r/autoconf/2023-12/msg00026.html).
To fix this here, we need to update autoconf version (AUTOCONF_VER) used for libatomic_ops tarball preparation in .travis.yml
ivmai commented
The issue is fixed in autoconf 2.72e (https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz):
checking for working mmap... yes