make 3.79: core dump expanding target specific variables

Christopher Faylor cgf@redhat.com
Tue Feb 6 09:09:00 GMT 2001


I'm sorry but the only way to get this fixed is if you debug it and
provide a patch.  There is no one on this list who is an expert in
make internals.

cgf

On Tue, Feb 06, 2001 at 02:54:33PM +0000, Robert Bogomip wrote:
>Consider this makefile:
>
>  t: m+=2
>
>  t:
>	@echo "[${m}]"
>
>Then the following sort of works:
>
>  $ make t
>  [ 2]
>  $
>
>(Interestingly, make 3.77 (which I have kept a copy of) produces a
>different result:
>
>  $ make377 t
>  [2]
>  $
>
>Hmmm.)
>
>BUT the folowing crashes:
>
>  $ make m=hello t
>  assertion "current_variable_set_list->next != 0" failed: file "/cygnus/netrel/src/make-3.79.1-2/expand.c", line 489
>
>        0 [sig] make 1580 stackdump: Dumping stack trace to make.exe.stackdump
>  Aborted (core dumped)
>  $
>
>All is OK with m:=hello on the command line (note the colon), and also
>running with make377. None of make-3.79-3, make-3.79.1-1, or make 3.79.1-2
>work.
>-- 
>Robert Bogomip /// mailto:bob.bogo@milohedge.com
>Milo Hedge Ltd, OCFI, Mill Street, Oxford, OX2 0JX /// tel:+44 1865 799400
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list