[Top][All Lists]

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

RE: Crash with recursive make

From: Earnie Boyd
Subject: RE: Crash with recursive make
Date: Mon, 09 Oct 2006 07:30:52 -0400
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

Quoting John Hall <address@hidden>:

On 07 October 2006 10:21, Eli Zaretskii <address@hidden> wrote:

> Investigating further, make is crashing in windows32_openpipe while
> evaluating the expression:
>    VERSION_STRING = $(shell cat $(VERSION_TXT))
> where cat is a Windows native version of cat from unxutils
> (

And what is $(VERSION_TXT)?  Can you show the contents of that file
here?  Also, what is the shell used by Make on your system?

FWIW, I cannot reproduce this with the following minimal Makefile:

VERSION_TXT = version.txt

        echo $(VERSION_STRING)

However, my cat.exe is from GnuWin32 site, not from unxutils.  I'm not
sure if this matters.  I tried the above Makefile both with a native
Windows port of zsh and with SHELL=cmd.exe, which causes Make 3.81 to
invoke CMD.  Make didn't crash in either case.


I can reproduce it with version.txt just containing the word 'hello'
(with \r\n line terminator). What does make use the specified shell for?
I traced through the code and whatever I set SHELL to, CreateProcess in
process_begin is launching cat directly - it doesn't seem to use a

I can send you my version of cat if you want.

John, UnxUtils doesn't even use even though they have a project there. The project has an activity percentage of 2.27%. That means they have no downloads, very little page views and little support. The GnuWin32 project on the otherhand has an activity percentage of 98.57% with files to download. You should really change your utilities and download from the GnuWin32 project.


* The user of this server has agreed to allow the use of a trailer in the    *
* mail that he sends for advertising purposes.  This advertisment is added   *
* by the server and is not in the control of the user of our services.       *

Easy Blogger Creator:
<a href="";>Offer 1006</a>

4 Seasons Wine - Buy 6, Get 6 Free
<a href="";>Offer 1007</a>

Sieb Unlimited Online Shops:
<a href="";>Sieb Unlimited Online Shops</a>
<a href="";>Offer 1001</a>

Casino Tropez:
<a href="";>Offer 1002</a>

<a href="";>Offer 1003</a>

Criminal Justice Degrees- get your Online Degree:
<a href="";>Offer 1004</a>

<a href="";>Offer 1005</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]