[kaffe] Help me !!! I porting the kaffe on mpis cpu, but I had error of execution

Kevin D. Kissell kevink@mips.com
Tue Nov 11 01:20:03 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0043_01C3A83D.1603B900
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: quoted-printable

No one seems to have replied to this message a month ago.  I missed it =
at the time.
First of all, I'm really suprised to see that you're running on an MIPS =
R6000.  That's
an multi-chip ECL CPU from the 1980s that was mostly installed in CDC =
servers.
Is that really correct?  The R6000 was the original "MIPS II" CPU, and =
there could
easily be code in Linux and Kaffe that lumps the R6000 in with other, =
not-quite-compatible
processors.

That having been said, if you search the Kaffe mailing list archives, =
you will
see that I observed the same problem months ago.  First of all, you need =
to know
that Kaffe 1.0.7 will not build and run correctly on MIPS unless you =
apply a patch.
Kaffe 1.1.0 will build as distributed but you must not build it with the =
JIT, which
was unfortunately still the default MIPS build as of 1.1.0.  When you =
configure,
you need to specify ".configure --with-engine=3Dintrp".

            Regards,

            Kevin K.
  ----- Original Message -----=20
  From: =C0=AF=C8=AB=BD=C4=20
  To: robilad@kaffe.org ; tkeane@cs.may.ie ; Kaffe Mailing List=20
  Sent: Tuesday, October 07, 2003 4:21 AM
  Subject: [kaffe] Help me !!! I porting the kaffe on mpis cpu, but I =
had error of execution=20


  =20
  Hi Dear~~



  I working the porting of kaffe



  My platform is=20



                        CPU: MIPS R6000

                        OS: Redhat linux 2.4.17

                        Graphics: QT

                       JVM : Kaffe 1.1.1 or Kaffe 1.1.0 or Kaffe 1.0.7



  I following the ~~~~



                 bash-2.04# pwd
                                /data/kaffe-1.1.0

                 bash-2.04# ./configure

                ~~~~~~~~~~~~~~~~~~~~~~~~....

                   bash-2.04# make

                ~~~~~~~~~~~~~~~~~~~~~~~~....

                bash-2.04# make install

                ~~~~~~~~~~~~~~~~~~~~~~~~....



  I builded  executiion file (java,javac,kaffe....)=20



  bash-2.04# pwd
  /usr/local/kaffe/bin
  bash-2.04# ls
  HelloWorld.class appletviewer  java     javah    jdb     kjc           =
rmic
  install-jar   javac    javakey  kaffe   kopi          rmiregistry
  jar           javadoc  javap    kaffeh  native2ascii  serialver



  but don't execute java=20



  bash-2.04# ./java HelloWorld
  Internal error: caught an unexpected exception.
  Please check your CLASSPATH and your installation.
  java/lang/OutOfMemoryError
          at java.util.HashMap.rehash(HashMap.java:236)
          at java.util.HashMap.put(HashMap.java:136)
          at java.util.Hashtable.put(Hashtable.java:109)
          at java.lang.System.initProperties(System.java:native)
          at java.lang.System.<clinit>(System.java:43)
          at java.lang.ClassLoader.<init>(ClassLoader.java:114)
          at =
java.security.SecureClassLoader.<init>(SecureClassLoader.java:20)
          at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:238)
   &! nbsp;      at =
kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:37)
  Aborted (core dumped)



  What is a problem~~~~????



  I want to your advice !!!!!!!!=20

  Have nice day !!!




------=_NextPart_000_0043_01C3A83D.1603B900
Content-Type: text/html;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dks_c_5601-1987">
<META content=3D"MSHTML 5.50.4933.1800" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>No one seems to have replied to this =
message a=20
month ago.&nbsp; I missed it at the time.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>First of all, I'm really suprised to =
see that=20
you're running on an MIPS R6000.&nbsp; That's</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>an multi-chip ECL CPU from the 1980s =
that was=20
mostly installed in CDC servers.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is that really correct?&nbsp; The R6000 =
was the=20
original "MIPS II" CPU, and there could</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>easily be code in Linux and Kaffe that =
lumps the=20
R6000 in with other, not-quite-compatible</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>processors.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That having been said, if you search =
the Kaffe=20
mailing list archives, you will</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>see that I observed the same problem =
months=20
ago.&nbsp; First of all, you need to know</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>that Kaffe 1.0.7 will not build and run =
correctly=20
on MIPS unless you apply a patch.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Kaffe 1.1.0 will build as distributed =
but you must=20
not build it with the JIT, which</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>was unfortunately still the default =
MIPS build as=20
of 1.1.0.&nbsp;&nbsp;When you&nbsp;configure,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>you need to specify ".configure=20
--with-engine=3Dintrp".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; Kevin K.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dhsyoo@i-set.co.kr =
href=3D"mailto:hsyoo@i-set.co.kr">=C0=AF=C8=AB=BD=C4</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Drobilad@kaffe.org=20
  href=3D"mailto:robilad@kaffe.org">robilad@kaffe.org</A> ; <A=20
  title=3Dtkeane@cs.may.ie =
href=3D"mailto:tkeane@cs.may.ie">tkeane@cs.may.ie</A> ;=20
  <A title=3Dkaffe@kaffe.org href=3D"mailto:kaffe@kaffe.org">Kaffe =
Mailing List</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, October 07, 2003 =
4:21=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [kaffe] Help me !!! I =
porting=20
  the kaffe on mpis cpu, but I had error of execution </DIV>
  <DIV><BR></DIV><IMG height=3D1=20
  =
src=3D"http://i-set.co.kr/cgi-bin/setconfirm.cgi?k=3D106549690531824&amp;=
u=3Dhsyoo&amp;d=3Di-set.co.kr"=20
  width=3D1>=20
  <STYLE>P {
	MARGIN-TOP: 2px; MARGIN-BOTTOM: 2px
}
</STYLE>

  <P>Hi Dear~~</P>
  <P>&nbsp;</P>
  <P>I working the porting of kaffe</P>
  <P>&nbsp;</P>
  <P>My platform is </P>
  <P>&nbsp;</P>
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  CPU: MIPS R6000</P>
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OS:=20
  Redhat linux 2.4.17</P>
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&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s=
p;&nbsp;=20
  ~~~~~~~~~~~~~~~~~~~~~~~~....</P>
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
  &nbsp;bash-2.04# make install</P>
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
  ~~~~~~~~~~~~~~~~~~~~~~~~....</P>
  <P>&nbsp;</P>
  <P>I builded&nbsp; executiion file (java,javac,kaffe....) </P>
  <P>&nbsp;</P>
  <P>bash-2.04# pwd<BR>/usr/local/kaffe/bin<BR>bash-2.04# =
ls<BR>HelloWorld.class=20
  appletviewer&nbsp; java&nbsp;&nbsp;&nbsp;&nbsp; =
javah&nbsp;&nbsp;&nbsp;=20
  jdb&nbsp;&nbsp;&nbsp;&nbsp;=20
  kjc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  rmic<BR>install-jar&nbsp;&nbsp; javac&nbsp;&nbsp;&nbsp; javakey&nbsp;=20
  kaffe&nbsp;&nbsp; =
kopi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
rmiregistry<BR>jar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
  javadoc&nbsp; javap&nbsp;&nbsp;&nbsp; kaffeh&nbsp; native2ascii&nbsp;=20
  serialver</P>
  <P>&nbsp;</P>
  <P>but don't execute java </P>
  <P>&nbsp;</P>
  <P>bash-2.04# ./java HelloWorld<BR>Internal error: caught an =
unexpected=20
  exception.<BR>Please check your CLASSPATH and your=20
  =
installation.<BR>java/lang/OutOfMemoryError<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
  at=20
  =
java.util.HashMap.rehash(HashMap.java:236)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  at=20
  =
java.util.HashMap.put(HashMap.java:136)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;=20
  at=20
  =
java.util.Hashtable.put(Hashtable.java:109)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
  at=20
  =
java.lang.System.initProperties(System.java:native)<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;=20
  at=20
  =
java.lang.System.&lt;clinit&gt;(System.java:43)<BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
  at=20
  =
java.lang.ClassLoader.&lt;init&gt;(ClassLoader.java:114)<BR>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  at=20
  =
java.security.SecureClassLoader.&lt;init&gt;(SecureClassLoader.java:20)<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  at=20
  =
kaffe.lang.AppClassLoader.&lt;init&gt;(AppClassLoader.java:238)<BR>&nbsp;=
&amp;!=20
  nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
  =
kaffe.lang.AppClassLoader.&lt;clinit&gt;(AppClassLoader.java:37)<BR>Abort=
ed=20
  (core dumped)</P>
  <P>&nbsp;</P>
  <P>What is a problem~~~~????</P>
  <P>&nbsp;</P>
  <P>I want to your advice !!!!!!!! </P>
  <P>Have nice day !!!</P><BR><BR><PRE></PRE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0043_01C3A83D.1603B900--