Subject: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)
To: None <port-pmax@netbsd.org>
From: Robert D. Mohr <robmohr@earthlink.net>
List: netbsd-users
Date: 04/15/2000 01:57:19
Kaffe 1.0.5 is failing to build from the NetBSD package distribution on my
DECStation 3100 running NetBSD 1.4.2.  I gather from past posts to this list
that the JIT is not currently supported on the mips platform.  Apparently
the NetBSD port is not disabling this in the Makefile, as the build is
failing while attempting to build jit3.  I've captured a log of the events
proceding the failure so that someone may verify that my interpretation is
correct.  I'm sure there is an easy fix for this, but I am a novice at
editing makefiles, especially ones which are part of a package distribution
system such as is being used by NetBSD.

Would anyone care to lend a hand and point me in the right direction to
correct this?  Thanks in advance for any help you can offer,

Rob Mohr

Excerpt from build log for Kaffe 1.0.5/NetBSD mips/pmax
----------------------------------------------------------------------------
Making all in rmi
Making all in javalib
Making all in kaffe
Making all in kaffeh
Making all in kaffevm
Making all in jit3
/bin/sh ../../../config/regen-forward ../../../config/mips/jit3-icode.h
icode.h
stamp-h01
source='basecode.c' object='basecode.lo'  depfile='.deps/basecode.Plo'
tmpdepfil
e='.deps/basecode.TPlo'  depmode=gcc /bin/sh ../../../depcomp  /bin/sh
../../../
libtool --mode=compile
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../i
nclude -I../../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLAT
OR -
DJIT3  -DKVER='"1.0.5"' -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/ka
ffev
m -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jth
read
s -I../../../config -I../../../include  -Dunix -I/usr/pkg/include -I/usr/X11
R6/i
nclude -I/usr/local/include  -O2 -Wall -Wstrict-prototypes -c -o basecode.lo
bas
ecode.c
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../k
affe
/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DJIT3 -DKVER=\"1.0.
5\"
-I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr/pkgsrc/lang
/kaf
fe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../../../config
-I..
/../../include -Dunix -I/usr/pkg/include -I/usr/X11R6/include -I/usr/local/i
nclu
de -O2 -Wall -Wstrict-prototypes -c
basecode.c  -fPIC -DPIC -Wp,-MD,.deps/baseco
de.TPlo -o basecode.lo
source='constpool.c' object='constpool.lo'  depfile='.deps/constpool.Plo'
tmpdep
file='.deps/constpool.TPlo'  depmode=gcc /bin/sh ../../../depcomp  /bin/sh
../..
/../libtool --mode=compile
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../
../include -I../../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRAN
SLAT
OR -DJIT3  -DKVER='"1.0.5"' -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaff
e/ka
ffevm -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix
-jth
reads -I../../../config -I../../../include  -Dunix -I/usr/pkg/include -I/usr
/X11
R6/include -I/usr/local/include  -O2 -Wall -Wstrict-prototypes -c -o
constpool.l
o constpool.c
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../k
affe
/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DJIT3 -DKVER=\"1.0.
5\"
-I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr/pkgsrc/lang
/kaf
fe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../../../config
-I..
/../../include -Dunix -I/usr/pkg/include -I/usr/X11R6/include -I/usr/local/i
nclu
de -O2 -Wall -Wstrict-prototypes -c
constpool.c  -fPIC -DPIC -Wp,-MD,.deps/const
pool.TPlo -o constpool.lo
/bin/sh ../../../config/regen-forward ../../../config/mips/jit3-mips.def
jit.def
 stamp-h02
/bin/sh ../../../config/regen-forward ../../../config/mips/trampolines.c
trampol
ines.c stamp-h03
source='funcs.c' object='funcs.lo'  depfile='.deps/funcs.Plo'
tmpdepfile='.deps/
funcs.TPlo'  depmode=gcc /bin/sh ../../../depcomp  /bin/sh
../../../libtool --mo
de=compile
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../
../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DJIT3  -
DKVE
R='"1.0.5"' -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr
/pkg
src/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../.
./..
/config -I../../../include  -Dunix -I/usr/pkg/include -I/usr/X11R6/include -
I/us
r/local/include  -O2 -Wall -Wstrict-prototypes -c -o funcs.lo funcs.c
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include -I../../../k
affe
/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DJIT3 -DKVER=\"1.0.
5\"
-I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr/pkgsrc/lang
/kaf
fe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../../../config
-I..
/../../include -Dunix -I/usr/pkg/include -I/usr/X11R6/include -I/usr/local/i
nclu
de -O2 -Wall -Wstrict-prototypes -c
funcs.c  -fPIC -DPIC -Wp,-MD,.deps/funcs.TPl
o -o funcs.lo
../../../config/mips/jit3-mips.def: In function `prologue_xxC':
In file included from jit.def:1,
                 from funcs.c:43:
../../../config/mips/jit3-mips.def:256: `NR_ARGUMENTS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def:256: (Each undeclared identifier is
reported
only once
../../../config/mips/jit3-mips.def:256: for each function it appears in.)
../../../config/mips/jit3-mips.def:291: `SLOTSIZE' undeclared (first use in
this
 function)
../../../config/mips/jit3-mips.def:309: `argMap' undeclared (first use in
this f
unction)
../../../config/mips/jit3-mips.def: In function `epilogue_xxx':
../../../config/mips/jit3-mips.def:385: `SLOTSIZE' undeclared (first use in
this
 function)
../../../config/mips/jit3-mips.def: In function `eprologue_xxx':
../../../config/mips/jit3-mips.def:415: `Lexception' undeclared (first use
in th
is function)
../../../config/mips/jit3-mips.def: In function `check_stack_limit_xRC':
../../../config/mips/jit3-mips.def:434: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def:449: `Llong16' undeclared (first use in
this
function)
../../../config/mips/jit3-mips.def: In function `reload_Rxx':
../../../config/mips/jit3-mips.def:502: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `freload_Rxx':
../../../config/mips/jit3-mips.def:514: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `freloadl_Rxx':
../../../config/mips/jit3-mips.def:526: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `move_RxC':
../../../config/mips/jit3-mips.def:551: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `move_RxL':
../../../config/mips/jit3-mips.def:583: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def:587: `Llong16x16' undeclared (first use
in th
is function)
../../../config/mips/jit3-mips.def: In function `ld_RxL':
../../../config/mips/jit3-mips.def:599: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def:603: `Llong16' undeclared (first use in
this
function)
../../../config/mips/jit3-mips.def: In function `move_RxR':
../../../config/mips/jit3-mips.def:611: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fmove_RxR':
../../../config/mips/jit3-mips.def:624: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fmovel_RxR':
../../../config/mips/jit3-mips.def:637: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `add_RRR':
../../../config/mips/jit3-mips.def:658: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `add_RRC':
../../../config/mips/jit3-mips.def:675: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `addu_RRR':
../../../config/mips/jit3-mips.def:691: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `addu_RRC':
../../../config/mips/jit3-mips.def:708: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fadd_RRR':
../../../config/mips/jit3-mips.def:724: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `faddl_RRR':
../../../config/mips/jit3-mips.def:740: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `neg_RRR':
../../../config/mips/jit3-mips.def:756: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fneg_RRR':
../../../config/mips/jit3-mips.def:770: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fnegl_RRR':
../../../config/mips/jit3-mips.def:784: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `sub_RRR':
../../../config/mips/jit3-mips.def:800: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `subu_RRR':
../../../config/mips/jit3-mips.def:816: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `sub_RRC':
../../../config/mips/jit3-mips.def:833: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fsub_RRR':
../../../config/mips/jit3-mips.def:847: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fsubl_RRR':
../../../config/mips/jit3-mips.def:863: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `mul_RRR':
../../../config/mips/jit3-mips.def:879: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fmul_RRR':
../../../config/mips/jit3-mips.def:903: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fmull_RRR':
../../../config/mips/jit3-mips.def:919: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `div_RRR':
../../../config/mips/jit3-mips.def:935: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fdiv_RRR':
../../../config/mips/jit3-mips.def:958: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `fdivl_RRR':
../../../config/mips/jit3-mips.def:974: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `rem_RRR':
../../../config/mips/jit3-mips.def:990: `NR_REGISTERS' undeclared (first use
in
this function)
../../../config/mips/jit3-mips.def: In function `and_RRR':
../../../config/mips/jit3-mips.def:1016: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `and_RRC':
../../../config/mips/jit3-mips.def:1033: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `or_RRR':
../../../config/mips/jit3-mips.def:1048: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `xor_RRR':
../../../config/mips/jit3-mips.def:1064: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `nor_RRR':
../../../config/mips/jit3-mips.def:1080: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `ashr_RRR':
../../../config/mips/jit3-mips.def:1096: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `ashr_RRC':
../../../config/mips/jit3-mips.def:1113: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `lshr_RRR':
../../../config/mips/jit3-mips.def:1128: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `lshr_RRC':
../../../config/mips/jit3-mips.def:1145: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `lshl_RRR':
../../../config/mips/jit3-mips.def:1160: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `lshl_RRC':
../../../config/mips/jit3-mips.def:1177: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `load_RRx':
../../../config/mips/jit3-mips.def:1188: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `load_RRC':
../../../config/mips/jit3-mips.def:1200: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fload_RRx':
../../../config/mips/jit3-mips.def:1211: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `floadl_RRx':
../../../config/mips/jit3-mips.def:1222: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `loadb_RRx':
../../../config/mips/jit3-mips.def:1237: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `loadc_RRx':
../../../config/mips/jit3-mips.def:1248: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `loads_RRx':
../../../config/mips/jit3-mips.def:1259: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `store_RRx':
../../../config/mips/jit3-mips.def:1270: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `store_RRC':
../../../config/mips/jit3-mips.def:1282: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fstore_RRx':
../../../config/mips/jit3-mips.def:1293: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fstorel_RRx':
../../../config/mips/jit3-mips.def:1304: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `storeb_RRx':
../../../config/mips/jit3-mips.def:1319: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `stores_RRx':
../../../config/mips/jit3-mips.def:1330: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtif_RRx':
../../../config/mips/jit3-mips.def:1348: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtid_RRx':
../../../config/mips/jit3-mips.def:1362: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtfi_RRx':
../../../config/mips/jit3-mips.def:1376: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtdi_RRx':
../../../config/mips/jit3-mips.def:1395: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtfd_RRx':
../../../config/mips/jit3-mips.def:1414: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cvtdf_RRx':
../../../config/mips/jit3-mips.def:1428: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `sltu_RRR':
../../../config/mips/jit3-mips.def:1465: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `sltu_RRC':
../../../config/mips/jit3-mips.def:1478: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `cbranch_RRC':
../../../config/mips/jit3-mips.def:1497: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1504: `Llong16b' undeclared (first use in
thi
s function)
../../../config/mips/jit3-mips.def: In function `cbranch_RRCC':
../../../config/mips/jit3-mips.def:1605: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1625: `Llong16b' undeclared (first use in
thi
s function)
../../../config/mips/jit3-mips.def: In function `branch_xCC':
../../../config/mips/jit3-mips.def:1715: `Llong16b' undeclared (first use in
thi
s function)
../../../config/mips/jit3-mips.def: In function `branch_indirect_xRC':
../../../config/mips/jit3-mips.def:1742: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `call_xCC':
../../../config/mips/jit3-mips.def:1762: `Llong16x16' undeclared (first use
in t
his function)
../../../config/mips/jit3-mips.def: In function `push_xRC':
../../../config/mips/jit3-mips.def:1830: `NR_ARGUMENTS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1848: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1849: warning: implicit declaration of
functi
on `SLOT2PUSHOFFSET'
../../../config/mips/jit3-mips.def: In function `pushl_xRC':
../../../config/mips/jit3-mips.def:1872: `NR_ARGUMENTS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1906: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fpush_xRC':
../../../config/mips/jit3-mips.def:1934: `NR_ARGUMENTS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1936: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fpushl_xRC':
../../../config/mips/jit3-mips.def:1979: `NR_ARGUMENTS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def:1981: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `returnarg_xxR':
../../../config/mips/jit3-mips.def:2065: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `returnargl_xxR':
../../../config/mips/jit3-mips.def:2082: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `freturnarg_xxR':
../../../config/mips/jit3-mips.def:2103: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `freturnargl_xxR':
../../../config/mips/jit3-mips.def:2113: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `get_arg_ptr_R':
../../../config/mips/jit3-mips.def:2127: `NR_REGISTERS' undeclared (first
use in
 this function)
../../../config/mips/jit3-mips.def: In function `fakecall_xCC':
../../../config/mips/jit3-mips.def:2138: `Llong16' undeclared (first use in
this
 function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.