X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=CZPynF/aO9cTb/M0QQIhOQfD226t8LoTl7z7eZ74+3Qquj0ik72ID XVqurA3WhJv3qNUbXMzutZuOBVO2J2VqBOelvVl4uuoGliyQ6kebmHtXoUaTU+DU 9nPT/hrCRkhOfaBc6rPTU7PRtVxiqrhs4JbShMNpc5bpsSJGJ4XzrA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=xPVPP1mEy5UUGWDt6Tp4GUm9T4c=; b=i8RbIzpKv2isL2WGz76vWUIwUme0 6SYCXju/9geu6PMVidQAVGlN41GWd3CXZfN1TSX9q/3XexXgXmRUZeHMrEpfDFAh Ib5GgXP8Km7OOWzmzbYR71cbnHfWr1wpqp02na4wjQhXIL7q7lhpNeUWYTzm+rvZ PkczGVAhbHxFG+A= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TO_NO_BRKTS_PCNT autolearn=no version=3.3.2 X-HELO: mho-02-ewr.mailhop.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/9WvdgK+7FLReDJaOQo3Wo Date: Sun, 27 Oct 2013 14:51:08 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: GNU Make 4.0.1 ??? infinite loop on startup Message-ID: <20131027185108.GA1315@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) On Sun, Oct 27, 2013 at 10:08:00AM +0400, Yuriy Chernyshov wrote: >Greetings. > >On October, 9 GNU Make 4.0 was released and is already available on cygwin >(I'm using x86_64 on Win7). > >My makefile is working fine with the latest version from 3.0 branch >(3.82.xx), but comes into infinite loop on startup (no rules are being >executed) with 4.0.1. 100% of a single cpu core is concumed, memory >usage grows quite fast. > >Makefile can be found on github page: >https://github.com/georgthegreat/dancebooks-bibtex/blob/dev/makefile > >I looked through the 4.0-changelog, but there is nothing to cause such >behavior. > >I've found the problematic line: > >MARKDOWN_FILES := $(wildcard transcriptions/*.md) > >ls is working fine with the given wildcard. >Other wildcards (two previous lines are also working fine). > >What can the problem lay in? I downloaded the source code for the above and ran into the problem pretty quickly. make was allocating an ever-increasing amount of memory due to a problem with the processing of eight bit characters with the high-bit set. That caused the character to be interpreted as negative and that caused negative indexing off an array. The upcoming make-4.0-2 release should fix this problem. -- 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