FW: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)

Robert D. Mohr robmohr at earthlink.net
Tue Apr 18 21:53:53 PDT 2000


Based on the attached email from Alexandre Olivia on the Kaffe mailing list,
I applied the following changes to the top level (/pkgsrc/lang/kaffe)
Makefile:

diff -c Makefile.old Makefile
*** Makefile.old        Tue Apr 18 20:41:14 2000
--- Makefile    		Tue Apr 18 20:31:56 2000
***************
*** 19,24 ****
--- 19,25 ----
  HAS_CONFIGURE=                yes
  CONFIGURE_ARGS=               --prefix=${PREFIX}/kaffe
  CONFIGURE_ARGS+=      --with-rtlibraries="${LOCALBASE}/lib ${X11BASE}/lib"
+ CONFIGURE_ARGS+=      --with-engine=intrp
  CONFIGURE_ENV+=               CPPFLAGS="${CPPFLAGS}"

  CPPFLAGS+=            -Dunix -I${LOCALBASE}/include -I${X11BASE}/include

Kaffe is now failing to build in the unix-jthreads section.  Make log file
excerpt is attached.  Just a WAG...  could this be related to the failure of
Spruce to compile on pmax?  That package is also having problems because of
threading issues.

Rob



-----Original Message-----
From: oliva at lsd.ic.unicamp.br [mailto:oliva at lsd.ic.unicamp.br]
Sent: Monday, April 17, 2000 12:26 AM
To: Robert D. Mohr
Cc: kaffe at rufus.w3.org
Subject: Re: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)


On Apr 14, 2000, "Robert D. Mohr" <robmohr at earthlink.net> wrote:

> I gather from past posts to this list that the JIT is not currently
> supported on the mips platform.

I think that's correct.  At least, not on all mips platforms.  Run
configure --with-engine=intrp and it should work.

------------------------------------------------------------------------


make log file excerpt attached below:
------------------------------------------------------------------------
Making all in unix-jthreads
source='jthread.c' object='jthread.lo'  depfile='.deps/jthread.Plo'
tmpdepfile='
.deps/jthread.TPlo'  depmode=gcc /bin/sh ../../../../depcomp  /bin/sh
../../../.
./libtool --mode=compile
cc -DINTERPRETER -DKVER=\"1.0.5\" -I. -I. -I../.. -I./.
./..  -I../../../../config -I../../../../config  -I../../../../include -I../
../.
./../include  -DKVER='"1.0.5"' -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./k
affe
/kaffevm -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/u
nix-
jthreads -I../../../../config -I../../../../include  -Dunix -I/usr/pkg/inclu
de -
I/usr/X11R6/include -I/usr/local/include  -O2 -Wall -Wstrict-prototypes -c -
o jt
hread.lo jthread.c
cc -DINTERPRETER -DKVER=\"1.0.5\" -I. -I. -I../.. -I./../.. -I../../../../co
nfig
 -I../../../../config -I../../../../include -I../../../../include -DKVER=\"1
.0.5
\" -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr/pkgsrc/l
ang/
kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../../../../c
onfi
g -I../../../../include -Dunix -I/usr/pkg/include -I/usr/X11R6/include -I/us
r/lo
cal/include -O2 -Wall -Wstrict-prototypes -c
jthread.c  -fPIC -DPIC -Wp,-MD,.dep
s/jthread.TPlo -o jthread.lo
jthread.c: In function `jthread_create':
jthread.c:1256: `SP_OFFSET' undeclared (first use in this function)
jthread.c:1256: (Each undeclared identifier is reported only once
jthread.c:1256: for each function it appears in.)
jthread.c: In function `reschedule':
jthread.c:1514: `SP_OFFSET' 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.
*** Error code 1

Stop.



More information about the kaffe mailing list