Subject: kern/30425: genassym usage failure in kernel building after May 2005 changes
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 06/04/2005 10:20:00
>Number:         30425
>Category:       kern
>Synopsis:       genassym is not used properly anymore in sys/conf/
>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)
System: NetBSD 3.99.5 NetBSD 3.99.5 (G) #0: Mon May 30 14:02:30 EST 2005 i386
Architecture: i386
Machine: i386
	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)

	add the line above.  Try it.
	I'll think about it in a bit if nobody else does.