From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 19 00:40:21 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4631716A41C for ; Tue, 19 Jul 2005 00:40:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C367943D48 for ; Tue, 19 Jul 2005 00:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6J0eKfe017013 for ; Tue, 19 Jul 2005 00:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6J0eKnS017008; Tue, 19 Jul 2005 00:40:20 GMT (envelope-from gnats) Resent-Date: Tue, 19 Jul 2005 00:40:20 GMT Resent-Message-Id: <200507190040.j6J0eKnS017008@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Max Okumoto Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1C3A16A41C; Tue, 19 Jul 2005 00:31:40 +0000 (GMT) (envelope-from okumoto@oecpc29.ucsd.edu) Received: from oecpc29.ucsd.edu (oecpc29.ucsd.edu [132.239.8.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE6D43D45; Tue, 19 Jul 2005 00:31:40 +0000 (GMT) (envelope-from okumoto@oecpc29.ucsd.edu) Received: from oecpc29.ucsd.edu (localhost.ucsd.edu [127.0.0.1]) by oecpc29.ucsd.edu (8.13.3/8.13.3) with ESMTP id j6J0VeJI084383; Mon, 18 Jul 2005 17:31:40 -0700 (PDT) (envelope-from okumoto@oecpc29.ucsd.edu) Received: (from okumoto@localhost) by oecpc29.ucsd.edu (8.13.3/8.13.3/Submit) id j6J0Veas084382; Mon, 18 Jul 2005 17:31:40 -0700 (PDT) (envelope-from okumoto) Message-Id: <200507190031.j6J0Veas084382@oecpc29.ucsd.edu> Date: Mon, 18 Jul 2005 17:31:40 -0700 (PDT) From: Max Okumoto To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: harti@FreeBSD.org Subject: bin/83698: usr.bin/make cores when Saving Commands X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Max Okumoto List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 00:40:21 -0000 >Number: 83698 >Category: bin >Synopsis: usr.bin/make cores when Saving Commands >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 00:40:20 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Max Okumoto >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD oecpc29.ucsd.edu 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jun 27 11:20:41 PDT 2005 root@oecpc29.ucsd.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: usr.bin/make crashes if commands are save for later execution via the '...' command. A description of Saving Commands can be found Section 3.3 in the make tutorial. >How-To-Repeat: Run the following Makefile. % cat Makefile all: first next @echo Run now. ... @echo Run after me first: @echo Apppp ... @echo Run after all 1 next: @echo Bpppp ... @echo Run after all 2 % make Apppp Bpppp Run now. make: Cannot allocate memory % >Fix: Pass ENDNode instead of gn to Compat_RunCommand() at end of Compat_Run(). There was an error in the LST_FOREACH() conversion. >Release-Note: >Audit-Trail: >Unformatted: