Subject: Re: compilation errors w/ DIAGNOSTIC defined
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 10/02/1998 10:07:10
In article <199810020940.LAA04079@wilma.ub.uni-mainz.de> kurt.schreiner@uni-mainz.de writes:
>
>hi,
>
>just compiled a new kernel on a ss20 from sources supped this morning
>and got:
>
>ld -N -p -Ttext F0004000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
>emul.o: Undefined symbol `_fpproc' referenced from text segment
>emul.o: Undefined symbol `_fpproc' referenced from text segment
>*** Error code 1
>
>Stop.
>
>DIAGNOSTIC is defined in the config file.
>
>the culprit:
>
>    315 #ifdef DIAGNOSTIC
>--> 316         if (op.bits.fl && p != fpproc)
>    317                 panic("fp align without being the FP owning process");
>    318 #endif
>
>in arch/sparc/sparc/emul.c

s/fpproc/cpuinfo.fpproc/

I committed a fix last night.

christos