Subject: port-sparc/10082: GENERIC.MP does not compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.no>
List: netbsd-bugs
Date: 05/09/2000 09:57:14
>Number:         10082
>Category:       port-sparc
>Synopsis:       GENERIC.MP does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 09 09:58:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jarle.Greipsland@runit.no
>Release:        <NetBSD-current source date>2000-05-08
>Organization:
RUNIT
	
>Environment:
	
System: NetBSD anker.runit.no 1.4Y NetBSD 1.4Y (GENERIC.MP) #0: Tue May 9 17:22:48 CEST 2000 jarle@anker.runit.no:/usr/src/sys/arch/sparc/compile/GENERIC.MP sparc


>Description:
Try and compile the GENERIC.MP kernel on a sparc.  It seems like the
getcontext call at line 283 in intr.c is meant to expand into inline
assembly code.  However, the proper macros are not included.
	
>How-To-Repeat:
# cd /sys/arch/sparc/conf
# config GENERIC.MP
# cd ../compile/GENERIC.MP
# make depend netbsd
	
>Fix:
Add the line:
#include <sparc/sparc/asm.h>
at line 263.
	
>Release-Note:
>Audit-Trail:
>Unformatted: