Re: Broken autoconf mmap test

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

 



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   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux