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

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

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

[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: [PATCH] Work around a nasty bug of Solaris make

2010-08-05 Thread Eric Blake
On 08/05/2010 04:44 PM, Stefano Lattarini wrote: >> Thanks for the report. A segfault in make is always a bug in the >> make implementation. If we can easily find out what makes it >> fail, and can easily and reliably work around it, then let's maybe >> consider it, but otherwise let's not bother