[Top][All Lists]

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

Re: Make 3.79.1 bug/question

From: Paul D. Smith
Subject: Re: Make 3.79.1 bug/question
Date: Thu, 12 Jul 2001 09:57:40 -0400

%% "Zagorodnev, Grigory" <address@hidden> writes:

  zg> export A:= commom

  zg> target: A+= specific
  zg> target:
  zg>   @echo $(A)

  zg> ...I got following error:

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

  zg> So I have several questions here:
  zg>   - Is this problem already known?


  zg>   - Is it already fixed in the latest versions?

It's already fixed in the source code in CVS.  There has been no release
of GNU make that contains this bug fix yet (3.79.1 is still the latest

  zg>   - Or I should rewrite my Makefile to avoid given problem?

Your makefile is wrong anyway, so you should definitely rewrite it.
But, it won't help work around this bug.  You cannot provide a variable
setting on the same line as an export.  This line:

  export A:= commom

will export two variables, one named "A:=" (which is not a legal
variable name so this will do nothing), and one named "commom".

What I'm guessing you want is this:

  A:= common
  export A

(You'll still see the above error though)

 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

reply via email to

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