delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/22/22:40:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,SPF_NEUTRAL,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D895D81.1040107@cornell.edu>
Date: Tue, 22 Mar 2011 22:40:01 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin fails autoconf mmap test under Win 7 (was: Broken autoconf mmap test)
References: <4D8668C6 DOT 8020500 AT cornell DOT edu> <4D890D95 DOT 6090302 AT redhat DOT com> <4D891A55 DOT 6050601 AT cornell DOT edu>
In-Reply-To: <4D891A55.6050601@cornell.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 3/22/2011 5:53 PM, Ken Brown wrote:
> On 3/22/2011 4:59 PM, Eric Blake wrote:
>> On 03/20/2011 02:51 PM, Ken Brown wrote:
>>> What's the status of the broken autoconf mmap test, which always fails
>>> on Cygwin even though Cygwin has a working mmap?
>>
>> Autoconf 2.65 and newer do not have the bug.  But packages still exist
>> where configure was generated with<   2.65, so these packages still have
>> the bug unless you either rerun newer autoconf, or pre-seed the cache.
>>
>>> Was this ever resolved?  I see that cygport is still using the workaround
>>>
>>>     export ac_cv_func_mmap_fixed_mapped=yes
>>
>> This workaround is still necessary, as long as there are still packages
>> that don't run autoreconf and where configure was generated with a
>> too-old autoconf.
>
> I'm still seeing failures when building both emacs and texlive, even
> after autoreconf with the current (2.68) version installed.  Attached is
> the relevant portion of config.log from an emacs build.  This is a build
> of the current emacs trunk, after running 'autoreconf -I m4'.  The same
> thing happens if I build emacs-23.3.  If you want to try to reproduce
> it, here's the source:
>
>     wget http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3.tar.gz
>
> In case it's relevant, my system is 64-bit Windows 7, with the most
> recent cygwin snapshot:
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 moufang 1.7.9s(0.236/5/3) 20110318 10:29:21 i686 Cygwin

I've just checked that the mmap test succeeds (again when configuring 
emacs-23.3) on an XP SP3 system with the same snapshot installed:

$ uname -a
CYGWIN_NT-5.1 Desktop 1.7.9s(0.236/5/3) 20110318 10:29:21 i686 Cygwin

So maybe this is really a problem with Cygwin's mmap (under Win 7) and 
not an autoconf problem after all.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019