Subject: port-i386/5212: i386 Kernel build with DDB and KGDB fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@polaris.garbled.net>
List: netbsd-bugs
Date: 03/26/1998 12:08:14
>Number:         5212
>Category:       port-i386
>Synopsis:       Kernel compile fails at build, not at configure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 11:05:01 1998
>Last-Modified:
>Originator:     Charlie Root
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        1.3<NetBSD-current source date>
>Environment:
	
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #5: Fri Mar 6 05:30:19 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
add options DDB and options KGDB in a kernel config file

../../../../arch/i386/i386/kgdb_machdep.c:71: #error "Can't build DDB and KGDB together."
*** Error code 1

Obviously they cannot coexist.. however this should be parsed for when the user
types config KERNELNAME not halfway through the build.

	
>How-To-Repeat:
see above
	
>Fix:
Unsure..  parse the config file better.
	
>Audit-Trail:
>Unformatted: