Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
I have been experiencing this problem and have tried the attached patch provided by psmith, however the patch did not solve the problem. When I applied the patch to make 3.80 it did not apply smoothly:
$ patch -p0 < ../eval-crash.diff patching file variable.h patching file expand.c Hunk #1 succeeded at 564 (offset 19 lines). patching file function.c Hunk #1 succeeded at 1281 with fuzz 2 (offset 85 lines).
I'm running on AIX 5.2. Are there any other work arounds to this problem?
Experienced similar symptoms under windows; patch fixed it nicely. Thanks much.
Greg was kind enough to send me a big chunk of his build environment to reproduce this bug, and I produced a fix based on that; I liked Toomas's fix but ended up keeping mine because there were subtle places Toomas's could fail.
Using $(eval ...) can lead to fatal errors about allocating too much memory, or it can evaluate to a value (the manual says it always evaluates to the empty string). See:
e0 = $(foreach s,foobar,$(eval $s:)) e1 = $(foreach s,foobar, $(eval $s:))
all: ; @echo e0 == $(e0) e1 == $(e1)
$ make e0 == e1 == f
The e0 value is correct, but e1 is wrong.
Greg McGary reported the fatal memory allocation manifestation.
The above manifestation was reported by Toomas Rosin (and he provided a patch). It's the same bug but this one is easier to reproduce in a bug report :).
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.10