[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault with Solaris /usr/xpg4/bin/make
From: |
Stefano Lattarini |
Subject: |
Re: Segmentation fault with Solaris /usr/xpg4/bin/make |
Date: |
Thu, 5 Aug 2010 23:56:31 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
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