|
From: | Paul Eggert |
Subject: | Re: AC_FUNC_MMAP lacks <unistd.h> include? |
Date: | Wed, 10 May 2023 23:00:39 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 2023-05-10 21:06, Matt Turner wrote:
We're mmap'ing a 1-byte file, and since the pagesize on amd64 is 4096 bytes, only the first 4096 byte page (of two) is mapped. Accessing the second page triggers the SIGBUS.
Ouch, I misread that part of the test. Thanks for reporting that. I suppose we should go back to invoking getpagesize despite the hassle of configuring it. I installed the attached further patch; please give it a try.
0001-Fix-port-of-AC_FUNC_MMAP.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |