www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/20/17:00:25

From: who AT iname DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: MAKE.EXE Bug Report: Intertmittant GPF
Message-ID: <a2mvkss15o983e85dgsju7894angancpgk@4ax.com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 36
Date: Tue, 20 Jun 2000 20:53:53 GMT
NNTP-Posting-Host: 24.112.137.4
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.on.wave.home.com 961534433 24.112.137.4 (Tue, 20 Jun 2000 13:53:53 PDT)
NNTP-Posting-Date: Tue, 20 Jun 2000 13:53:53 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

make.exe v3.79 produces a GPF intermittantly on Windows 2000.

It's very difficult to reproduce because it doesn't happen 100% of the
time.  I think that it's sensitive to the directory tree structure and
the size of the pathnames but I'm just guessing.  Perhaps there's an
allocation problem in the use of recursive MAKE.

Here's a paired down example:

This is the makefile:
--------------------------------

SHELL = g:/cygnus/bash.exe

DIRLIST:=`ls -p | grep -e "/" | tr -d '/'`

hehaw:
	echo Hehaw: $(DIRLIST)
	for dir in $(DIRLIST) ; do $(MAKE) DOSUBDIRS=Y -C $$dir hehaw
; done 

Makefiles in subdirectories look like this:
-----------------------------------

SHELL = g:/cygnus/bash.exe
DIRLIST:=`ls -p | grep -e "/" | tr -d '/'`

hehaw:
ifdef DOSUBDIRS
	echo Hehaw: $(DIRLIST)
	for dir in $(DIRLIST) ; do $(MAKE) DOSUBDIRS=Y -C $$dir hehaw
; done 
endif



- Raw text -


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