bug-make
[Top][All Lists]
Advanced

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

make 3.79: core dump expanding target specific variables


From: Robert Bogomip
Subject: make 3.79: core dump expanding target specific variables
Date: Tue, 6 Feb 2001 15:13:16 +0000 (GMT Standard Time)

Consider this makefile:

  t: m+=2

  t:
        @echo "[${m}]"

Then the following sort of works:

  $ make t
  [ 2]
  $

(Interestingly, make 3.78 produces a different result:

  $ make378 t
  [2]
  $

Hmmm.)

BUT the folowing crashes:

  $ make m=hello t
  make: expand.c:489: allocated_variable_append: Assertion 
`current_variable_set_list->next != 0' failed.
  Aborted (core dumped)
  $

All is OK with m:=hello on the command line (note the colon), and also
running with make378. A similar situation exists with the current cygwin
make (make-3.79.1-2 I believe)

Regards,
-- 
Robert Bogomip /// mailto:address@hidden
Milo Hedge Ltd, OCFI, Mill Street, Oxford, OX2 0JX /// tel:+44 1865 799400




reply via email to

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