Subject: kern/30425: genassym usage failure in kernel building after May 2005 changes
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 06/04/2005 10:20:00
>Number:         30425
>Category:       kern
>Synopsis:       genassym is not used properly anymore in sys/conf/Makefile.kern.inc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 04 10:20:00 +0000 2005
>Originator:     Geoff C. Wing
>Release:        NetBSD 3.99.5 (2005-06-03)
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 3.99.5 NetBSD 3.99.5 (G) #0: Mon May 30 14:02:30 EST 2005 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
	The changes in how genassym is used to build assym.h for a kernel
	causes problems with unknown kernel options having spaces or
	globbing characters
	e.g. in a kernel config I have ``options MSGBUFSIZE="(32 * 1024)"''.

	Unfortunately this is converted to  -DMSGBUFSIZE="(32 * 1024)"
	when passed through the compilation.  genassym gets it and expands
	it to
	    -DMSGBUFSIZE=( {...every file in the compile dir...} 1024)

>How-To-Repeat:
	add the line above.  Try it.
>Fix:
	I'll think about it in a bit if nobody else does.