Subject: compilation errors w/ DIAGNOSTIC defined
To: None <port-sparc@netbsd.org>
From: Kurt Schreiner <ks@fred.ub.uni-mainz.de>
List: port-sparc
Date: 10/02/1998 11:40:26
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
-ks