autoconf
[Top][All Lists]
Advanced

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

Re: Broken autoconf mmap test


From: Eric Blake
Subject: Re: Broken autoconf mmap test
Date: Tue, 22 Mar 2011 14:57:43 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

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.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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