Update of bug #24622 (project make):
Status: Duplicate = Fixed
Assigned to:None = psmith
Fixed Release:None = CVS
Follow-up Comment #4, bug #24622 (project make):
No, this bug is not a duplicate of bug #24588, the fix for bug #24588 does
not solve this problem. Latest make from cvs still segfaults with the example
in the original submission.
___
URL:
http://savannah.gnu.org/bugs/?24622
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
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
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 :