Hello Ralf. I have found the following minimal testcase:
$ cat Makefile foo1: $(MAKE) A="x " foo2 foo2: $(MAKE) B=x foo3 foo3: @echo $@ has run $ /usr/xpg4/bin/make /usr/xpg4/bin/make A="x " foo2 /usr/xpg4/bin/make B=x foo3 *** Signal 11 - core dumped make: Fatal error: Command failed for target `foo2' And yes, as weird as it might seem, the double indirection is required: $ cat Makefile foo1: $(MAKE) A="x " foo2 foo2: @echo $@ has run $ /usr/xpg4/bin/make /usr/xpg4/bin/make A="x " foo2 foo2 has run > Can you please report the issue to the relevant upstreams (heirloom > and Solaris or OpenSolaris)? For heirloom make, I found an address for bug reports, and I'll send a report. For Solaris and OpenSolaris, do you know which address should I send a report to? > I would assume using valgrind on GNU/Linux to be easiest to pinpoint > the bug, and/or debugging the core file. I think my testcase is simple enough; I'll let the gory details to the developers. Regards, Stefano