[PATCH] Work around a nasty bug of Solaris make (was: Segmentation fault with Solaris /usr/xpg4/bin/make)

2010-08-05 Thread Stefano Lattarini
At Thursday 05 August 2010, Ralf Wildenhues wrote: > Hello Stefano, > > * Stefano Lattarini wrote on Thu, Aug 05, 2010 at 07:40:15PM CEST: > > The test `parallel-tests9.test' fails on Solaris 10 when using > > /usr/xpg4/bin/make as $MAKE, due to a submake invocation > > returning an exit status `1

Re: Segmentation fault with Solaris /usr/xpg4/bin/make

2010-08-05 Thread Stefano Lattarini
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 ma

Re: Segmentation fault with Solaris /usr/xpg4/bin/make

2010-08-05 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Thu, Aug 05, 2010 at 07:40:15PM CEST: > The test `parallel-tests9.test' fails on Solaris 10 when using > /usr/xpg4/bin/make as $MAKE, due to a submake invocation returning > an exit status `139' (i.e. a "Segmantation fault"). Thanks for the report. A

Segmentation fault with Solaris /usr/xpg4/bin/make

2010-08-05 Thread Stefano Lattarini
Hello automakers. The test `parallel-tests9.test' fails on Solaris 10 when using /usr/xpg4/bin/make as $MAKE, due to a submake invocation returning an exit status `139' (i.e. a "Segmantation fault"). The test has a similar behaviour on Debian with Heirloom make as $MAKE: 1. If the `MALLOC_CHEC