autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken autoconf mmap test


From: Ken Brown
Subject: Re: Broken autoconf mmap test
Date: Wed, 23 Mar 2011 07:05:15 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 3/22/2011 5:12 PM, Ken Brown wrote:
On 3/22/2011 4:57 PM, Eric Blake wrote:
On 03/22/2011 02:53 PM, Ken Brown wrote:
For a long time, the autoconf mmap test has failed on Cygwin even though
Cygwin has a working mmap.  This was reported to bug-autoconf in
November 2009, and a patch that fixed it for Cygwin was submitted by
Eric Blake:

    http://lists.gnu.org/archive/html/bug-autoconf/2009-11/msg00015.html

And that patch was applied in autoconf 2.65.  Per the NEWS:
* Major changes in Autoconf 2.65 (2009-11-21) [stable]
** The AC_FUNC_MMAP macro has been fixed to be portable to systems like
     Cygwin (bug present since macro was introduced in 2.0).

Is there any chance of getting this bug fixed?

At this point, the only places where the bug still exists in the wild
are packages that use autoconf<   2.65 to generate their configure file.

   Currently, the cygport
tool (which many Cygwin package maintainers use to build packages) works
around it by exporting

    ac_cv_func_mmap_fixed_mapped=yes

And this is the correct way to work around such packages if you want to
avoid rerunning autoconf with a newer version.

Thanks for the quick reply, Eric.  I'm still seeing the test fail when
building both emacs and texlive, even after running autoreconf (2.68).
I'll follow-up on the Cygwin list with more details.

After discussion on the Cygwin list, it seems that the bug fix wasn't complete. The mmap test still fails on Cygwin running on 64-bit Windows systems:

  http://cygwin.com/ml/cygwin/2011-03/msg00672.html

Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]