Kaffe prints 'Illegal instruction' on SunOS4.1.4
桜井 厚
sakurai at ed.fujitsu.co.jp
Tue Oct 6 02:34:09 PDT 1998
In message <9810060644.AA17689 at cypress.s3.ed.fujitsu.co.jp>I write:
>In message <9810060520.AA17641 at cypress.s3.ed.fujitsu.co.jp>I write:
>> % javac HelloWorldApp.java
>> Illegal instruction
>Then I did as follows.
> % trace javac HelloWorldApp.java
After obtaining the latest archive as of yesterday (5, Oct. 1998), I
find another result this time.
% trace /usr/local/bin/kaffe pizza.compiler.Main Calc.java
--
(very long trace here)
:
read (4, "pizza/pizzadoc/DocType.class", 28) = 28
lseek (4, 12, 1) = 428382
lseek (4, 0, 1) = 428382
sigblock (0) = 0
sigstack (0, 0xefffd2c4) = 0
sigcleanup () = 0
sigblock (0) = 0
sigstack (0, 0x1adddc) = 0
sigcleanup () = 0
brk (0x50f000) = 0
open ("./sun/io/CharToByteDefault.class", 0, 0) = -1 ENOENT (No such file or directory)
open ("./sun/io/CharToBytenull.class", 0, 0) = -1 ENOENT (No such file or directory)
open ("./sun/io/CharToByteDefault.class", 0, 0) = -1 ENOENT (No such file or directory)
open ("./java/lang/NoSuchMethodError.cl".., 0, 0) = -1 ENOENT (No such file or directory)
lseek (3, 317361, 0) = 317361
select (4, 0xefffe038, 0, 0, 0xef685ea4) = 1
read (3, "".., 251) = 251
open ("./java/lang/IncompatibleClassCha".., 0, 0) = -1 ENOENT (No such file or directory)
lseek (3, 308550, 0) = 308550
select (4, 0xefffdef0, 0, 0, 0xef685ea4) = 1
read (3, "".., 244) = 244
open ("./java/lang/LinkageError.class", 0, 0) = -1 ENOENT (No such file or directory)
:
close (0) = 0
close (1) = 0
close (2) = 0
exit (0) = ?
--
It seems that the access to the wrong classes such as ./sun/io/* is
wrong. Am I right? And if so, how do I fix it?
Class libraries are exist in the default directory of
/usr/local/share/kaffe/ and I turned CLASSPATH environment variable
off this time.
>>Thank you in advance.
>
>--
> +---------------------------------+
> |SAKURAI, atsushi |
> |e-mail: sakurai at ed.fujitsu.co.jp |
> +---------------------------------+
More information about the kaffe
mailing list