Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread David Wuertele
I posted this to the developer list but got no response. Looks like there's been no activity on that list since October. Is it dead? Anyway, here's the bug report: I have a very convoluted makefile that triggers what I believe to be a bug in make-3.81. I have looked through the savannah

Re: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread David Wuertele
Martin Dorey mdorey at bluearc.com writes: And it looks like there are several other instances of it too. That's what I was afraid of. I looked at the other places where xrealloc could get called, but I couldn't find any that referenced the original buffer address after the xrealloc. I

Re: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread David Wuertele
Martin Dorey mdorey at bluearc.com writes: In the original makefile, does the long rule really not contain any variables or involve any $(eval) trickery? Not sure what you mean by trickery, but it definitely involves eval and variables. The rule is created with an eval: $(eval $(call