ivmai / libatomic_ops

The atomic_ops project (Atomic memory update operations portable implementation)

Home Page:https://github.com/ivmai/libatomic_ops/wiki/Download

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configure AC_FUNC_MMAP does not detect mmap on CheriBSD

ivmai opened this issue · comments

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.

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

The issue is fixed in autoconf 2.72e (https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz):

checking for working mmap... yes