[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building kaffe-1.0.6
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: building kaffe-1.0.6
- From: IKEDA Shigeru <js3guj_(_at_)_gold_(_dot_)_ocn_(_dot_)_ne_(_dot_)_jp>
- Date: 13 Oct 2000 23:27:00 +0900
-----BEGIN PGP SIGNED MESSAGE-----
IKEDA Shigeru <js3guj_(_at_)_gold_(_dot_)_ocn_(_dot_)_ne_(_dot_)_jp> writes:
| I could build kaffe-1.0.6 on OpenBSD-2.7/i386 (OPENBSD_2_7_BASE). But when
| I try to compile a simple program like HelloWorld.java, it dumps core.
The CLASSPATH is correct, I think.
js3guj_(_at_)_orange(/var/spool/mqueue)$ echo $CLASSPATH
.:/usr/local/share/kaffe/Klasses.jar
js3guj_(_at_)_orange(/var/users/js3guj)$ kdump -t n | egrep '\.jar'
6794 sh NAMI "/usr/local/share/kaffe/Klasses.jar"
6794 sh NAMI "/usr/local/share/kaffe/comm.jar"
6794 sh NAMI "/usr/local/share/kaffe/pjava.jar"
6794 sh NAMI "/usr/local/share/kaffe/servlet.jar"
6794 sh NAMI "/usr/local/share/kaffe/tools.jar"
6794 sh NAMI "/usr/local/share/kaffe/microsoft.jar"
6794 sh NAMI "/usr/local/share/kaffe/kjc.jar"
6794 sh NAMI "/usr/local/share/kaffe/rmi.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/Klasses.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/Klasses.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/comm.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/comm.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/pjava.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/pjava.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/servlet.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/servlet.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/tools.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/tools.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/microsoft.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/microsoft.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/kjc.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/kjc.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/rmi.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/rmi.jar"
6794 Kaffe NAMI "/usr/local/share/kaffe/Klasses.jar"
js3guj_(_at_)_orange(/var/users/js3guj)$
What I did so far.
1) vanila configure, ie. ./configure
It cannot detect OpenBSD's /usr/lib/libgmp.a. So I installed gmp-2.0.2.
2) configure with `-O'. (I don't believe in '-O2' of egcs.)
Dumps core.
3) configure with `-O0'.
Dumps core.
4) install kaffe on NetBSD-1.4.1 and compare the output with OpenBSD's.
The portion of OpenBSD's kdump
6794 Kaffe CALL open(0x16ba30,0,0)
6794 Kaffe NAMI "./java/util/Map$Entry.class"
6794 Kaffe RET open -1 errno 2 No such file or directory
6794 Kaffe PSIG SIGVTALRM caught handler=0x401bffa4 mask=0x0 code=0x0
6794 Kaffe CALL sigprocmask(0x2,0x2482000)
6794 Kaffe RET sigprocmask 38281216/0x2482000
6794 Kaffe CALL sigreturn(0xdfbfca28)
6794 Kaffe RET sigreturn JUSTRETURN
6794 Kaffe CALL sigprocmask(0x1,0x2482000)
6794 Kaffe RET sigprocmask 0
6794 Kaffe CALL sigprocmask(0x2,0x2482000)
6794 Kaffe RET sigprocmask 38281216/0x2482000
6794 Kaffe PSIG SIGSEGV caught handler=0x401c42ec mask=0x0 code=0x1
6794 Kaffe CALL sigprocmask(0x2,0x400)
6794 Kaffe RET sigprocmask 1024/0x400
6794 Kaffe CALL write(0x2,0xdfbfbd1c,0x63)
6794 Kaffe GIO fd 2 wrote 99 bytes
"Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
"
On NetBSD-1.4.2
1226 Kaffe NAMI "./java/util/Map$Entry.class"
1226 Kaffe RET open -1 errno 2 No such file or directory
1226 Kaffe PSIG SIGVTALRM caught handler=0x4018ec38 mask=() code=0x0
1226 Kaffe CALL __sigprocmask14(0x2,0xbfbfcb98,0)
1226 Kaffe RET __sigprocmask14 0
1226 Kaffe CALL __sigreturn14(0xbfbfcbd4)
1226 Kaffe RET __sigreturn14 JUSTRETURN
1226 Kaffe CALL __sigprocmask14(0x1,0xbfbfc8bc,0)
1226 Kaffe RET __sigprocmask14 0
1226 Kaffe CALL __sigprocmask14(0x2,0xbfbfc8bc,0)
1226 Kaffe RET __sigprocmask14 0
1226 Kaffe CALL __getcwd(0x28f10,0x400)
1226 Kaffe RET __getcwd 18/0x12
1226 Kaffe CALL __sysctl(0xbfbfc8e4,0x2,0xbfbfc920,0xbfbfc8e0,0,0)
1226 Kaffe RET __sysctl 0
1226 Kaffe CALL __sysctl(0xbfbfc8e4,0x2,0xbfbfca20,0xbfbfc8e0,0,0)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: mailto:js3guj_(_at_)_gold_(_dot_)_ocn_(_dot_)_ne_(_dot_)_jp?subject=get%20pgp%20public%20key
iQCVAwUBOecbl0Pp6IK9NdONAQHJDgQAzUAdjbuNa7ngdkm3tw1shseNwfeq0Etm
XK4ISZ9z0YB0AR5kN0yQk3Xkz97DscwcRjLV6C/bZudp2Iq/Rw5Ybi2TeF67ZbyW
k6+JbX/2P/+ZdJyXTLeLY6RguqMfdKpPKTqrt8fL4Hh59HGKmHB30bl9c3DnRXR/
pBd05jhKol8=
=boq9
-----END PGP SIGNATURE-----
Visit your host, monkey.org