Subject: bin/34896: make(1) crash with `include a b' statement
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 10/24/2006 10:05:00
>Number:         34896
>Category:       bin
>Synopsis:       make(1) crash with `include a b' statement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 10:05:00 +0000 2006
>Originator:     Nicolas Joly
>Release:        NetBSD 4.99.3
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 4.99.3 NetBSD 4.99.3 (LANFEUST) #6: Mon Oct 23 19:20:32 CEST 2006 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
I just encountered a make(1) crash while trying to build a small project
that use `include' (instead of .include) statements with multiple files.

The following example illustrate the problem:
njoly@lanfeust [make/test]> echo "include a b" >Makefile
njoly@lanfeust [make/test]> touch a b 
njoly@lanfeust [make/test]> make
make in free(): error: modified (chunk-) pointer.
zsh: abort (core dumped)  make
>How-To-Repeat:
echo "include a b" >Makefile
touch a b 
make
>Fix:
don't know