URL:
  <https://savannah.gnu.org/support/?111371>

                 Summary: mmap test failes on OpenBSD 7.8
                   Group: Autoconf
               Submitter: tru64
               Submitted: Thu 22 Jan 2026 07:12:10 PM UTC
                Priority: 5 - Unprioritized
                Severity: 4 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
        Operating System: *BSD


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 22 Jan 2026 07:12:10 PM UTC By: Tru64 <tru64>
configure produced with autoconf 2.71 prints the following message when run on
OpenBSD 7.8:

> checking for shared mmap... no
> checking for stupid shared mmap... no
> configure: WARNING: *** This system does not have a working mmap()
> configure: WARNING: *** Expect a considerable performance penalty

I find it hard to believe that OpenBSD's mmap implementation is somehow
lacking.

I suspect this is caused by OpenBSD's "W^X" memory protection feature, which
is enabled by default.






    _______________________________________________________
File Attachments:

Name: openbsd-cyrus-imapd-configure-mmap-errors.log Size: 16KiB

<https://file.savannah.gnu.org/file/openbsd-cyrus-imapd-configure-mmap-errors.log?file_id=58149>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c0e7328b0919e9b907c12a3a42c8f9bea29fbc0e.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111371>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to