[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 3.79: core dump expanding target specific variables
From: |
Paul D. Smith |
Subject: |
Re: make 3.79: core dump expanding target specific variables |
Date: |
Wed, 7 Feb 2001 17:16:28 -0500 |
%% Robert Bogomip <address@hidden> writes:
rb> Consider this makefile:
rb> t: m+=2
rb> t:
rb> @echo "[${m}]"
rb> Then the following sort of works:
rb> $ make t
rb> [ 2]
This has been fixed in CVS (it just gives "[2]" again).
rb> (Interestingly, make 3.78 produces a different result:
rb> $ make378 t
rb> [2]
rb> $
rb> Hmmm.)
rb> BUT the folowing crashes:
rb> $ make m=hello t
rb> make: expand.c:489: allocated_variable_append: Assertion
`current_variable_set_list->next != 0' failed.
rb> Aborted (core dumped)
rb> $
This core dump has been fixed, too.
Unfortunately, now it prints this:
"[hello hello]"
which is also wrong :(. I'll look at it.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist