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