Re: Broken autoconf mmap test

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

 



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

_______________________________________________
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