X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@dyndns.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 <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: GNU Make 4.0.1 ??? infinite loop on startup
Message-ID: <20131027185108.GA1315@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAPHLbgMa-OPFgF=YHRfWLqPSQDd-CZ4r2CW9N9N7ZAGqTRZPBw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAPHLbgMa-OPFgF=YHRfWLqPSQDd-CZ4r2CW9N9N7ZAGqTRZPBw@mail.gmail.com>
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

