bug-make
[Top][All Lists]
Advanced

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

export, target-specific variable, and +=


From: Dan Grossman
Subject: export, target-specific variable, and +=
Date: Wed, 05 Dec 2001 13:57:37 -0500

Here is the smallest Makefile I've been able to get to crash gnumake:

=========
export X
foo: X+=bar

foo:
        touch foo
=========

Note that there is no problem if += is changed to =.
Note that there is no problem if the export directive is removed.
Note that there is no problem if the variable-assignment is not
target-specific.
Note that there is no problem if the rule does not fire (i.e. file foo
exists)

The crash:

$make -f foo
touch foo
assertion "current_variable_set_list->next != 0" failed: file
"/cygnus/netrel/src/make-3.79.1-4/expand.c", line 489
      0 [sig] make 1520 open_stackdumpfile: Dumping stack trace to
make.exe.stackdump
Aborted (core dumped)

$make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-cygwin
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.

Running on cygwin 1.3.3, under Win2K.

Let me know if you want any other information.
--Dan

-- 
| Dan Grossman     www.cs.cornell.edu/home/danieljg H:607 256 0724 |
| 5157 Upson Hall  address@hidden          O:607 255 9834 |



reply via email to

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