[bug #24622] $$(eval) creating new targets causes segmentation fault

2008-10-21 Thread Boris Kolpackov
Follow-up Comment #2, bug #24622 (project make): IMO, adding new targets during the second expansion is conceptually wrong. Granted make shouldn't segfault, in this case we should just report an error, the same kind that make emits when seeing something like this: proj1.exe : proj1.o proj1.o : p

[bug #24622] $$(eval) creating new targets causes segmentation fault

2008-10-21 Thread Lars S. Jessen
Follow-up Comment #1, bug #24622 (project make): The crash happens when update_file() gets called with the "proj1.c" target. It seems that expand_deps() was newer called on the "proj1.c" target The problem seems to lie inside snap_deps() in the loop that expands target dependencies, using expand

[bug #24622] $$(eval) creating new targets causes segmentation fault

2008-10-21 Thread Lars S. Jessen
URL: Summary: $$(eval) creating new targets causes segmentation fault Project: make Submitted by: ljessen Submitted on: Tue 21 Oct 2008 06:15:25 PM GMT Severity: 3 - Normal