I think I have detected a bug.  The minimum Makefile needed to reproduce it is attached along with the core dump and my config.h.  I am running make version 3.79.1, on a Sun Ultra 60 running SunOS Release 5.8 (Solaris).  Here are the commands to reproduce the core dump.

I did not see anything specific in the documentation saying not to append to variables set in the environment BUT may have missed it in the documentation.  Sorry if I did....

wcars1ct:test:116 : unsetenv MESSAGE
wcars1ct:test:117 : make test
appended text
wcars1ct:test:118 : make test MESSAGE='command line text'
command line text appended text
wcars1ct:test:119 : setenv MESSAGE "environment text"
wcars1ct:test:120 : echo $MESSAGE
environment text
wcars1ct:test:121 :  make test
expand.c:489: failed assertion `current_variable_set_list->next != 0'
Abort (core dumped)
wcars1ct:test:122 :

signature.html Regards,
Andrew Elms

Nortel Networks
Passport Silicon Design
Voice: (613) 768-3268
Fax: (613) 765-3125

Attachment: bug.tar.gz
Description: application/gzip

Reply via email to