[kaffe] Testing for 1.1.0 release
Dalibor Topic
robilad@yahoo.com
Mon May 19 15:07:01 2003
--0-8321206-1053382206=:3274
Content-Type: text/plain; charset=us-ascii
Content-Id:
Content-Disposition: inline
--- mcmahill@mtl.mit.edu wrote:
>
>
> anyone know what the latest status of alpha support is? Ie, am I wasting
> my time to even try on NetBSD/alpha?
I've created a patch that lets NetBSD/alpha progress much further than it did.
It's attached.
Now it fails to compile the class library using it's own java compiler due to
an SIGFPE, among other things. This is how you can help:
* Get current rt.jar file from http://www.kaffe.org/~robilad/rt.jar
* check out kaffe from CVS
* apply the attached patch
* ./configure --prefix=/tmp/mykaffe --enable-debug --with-engine=intrp
--with-rt-jar=/path/to/rt.jar
* make ; make install
* cd libraries/javalib
* KAFFE_DEBUG=gdb /tmp/mykaffe/bin/kaffe -cp kjc.jar at.dms.kjc.Main
@essential.files
* in gdb: run
* and try to figure out why the SIGFPE happens when 4.9e-324 is compared
against some other value. ;)
or just run make check after make install and see if you can fix some of the
(mostly floating point related) regression test failures ... I've got 10
failures, which are attached. 4 of them are being worked on within the scope of
class loader update to support java 1.2, so they are not netbsd or alpha
specific.
cheers,
dalibor topic
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
--0-8321206-1053382206=:3274
Content-Type: text/plain; name="alpha-netbsd.diff"
Content-Description: alpha-netbsd.diff
Content-Disposition: inline; filename="alpha-netbsd.diff"
diff -ur kaffe-1.1.x-cvs/config/alpha/netbsd1/md.c kaffe-1.1.x-cvs-patched/config/alpha/netbsd1/md.c
--- kaffe-1.1.x-cvs/config/alpha/netbsd1/md.c Mon Jun 18 06:38:04 2001
+++ kaffe-1.1.x-cvs-patched/config/alpha/netbsd1/md.c Mon May 19 10:43:30 2003
@@ -16,9 +16,12 @@
*/
#include <machine/fpu.h>
+/*
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>
+
#include <sys/proc.h>
+*/
#ifndef FPCR_INED
#define FPCR_INED 0
Only in kaffe-1.1.x-cvs-patched/config/alpha/netbsd1: md.c.orig
diff -ur kaffe-1.1.x-cvs/config/alpha/netbsd1/md.h kaffe-1.1.x-cvs-patched/config/alpha/netbsd1/md.h
--- kaffe-1.1.x-cvs/config/alpha/netbsd1/md.h Thu Dec 17 16:23:42 1998
+++ kaffe-1.1.x-cvs-patched/config/alpha/netbsd1/md.h Mon May 19 12:40:12 2003
@@ -23,4 +23,6 @@
extern void init_md(void);
#define INIT_MD() init_md()
+#define SP_OFFSET 34
+
#endif
diff -ur kaffe-1.1.x-cvs/config/alpha/threads.h kaffe-1.1.x-cvs-patched/config/alpha/threads.h
--- kaffe-1.1.x-cvs/config/alpha/threads.h Thu Apr 4 07:51:28 2002
+++ kaffe-1.1.x-cvs-patched/config/alpha/threads.h Mon May 19 12:39:29 2003
@@ -28,6 +28,7 @@
* This is the offset into the setjmp buffer where the stack pointer is
* stored. This may be different with different OSes.
*/
+/*
#define SP_OFFSET 8
-
+*/
#endif
Only in kaffe-1.1.x-cvs-patched/developers: a.out
Only in kaffe-1.1.x-cvs-patched/developers: a.out.core
diff -ur kaffe-1.1.x-cvs/kaffe/kaffevm/stringParsing.c kaffe-1.1.x-cvs-patched/kaffe/kaffevm/stringParsing.c
--- kaffe-1.1.x-cvs/kaffe/kaffevm/stringParsing.c Fri Apr 25 17:35:34 2003
+++ kaffe-1.1.x-cvs-patched/kaffe/kaffevm/stringParsing.c Mon May 19 10:43:30 2003
@@ -822,10 +822,14 @@
parseErrorInfo pe;
parsedString ps;
int retval;
+ va_list * args;
+
+ args = calloc(1, sizeof(args));
ps.data = str;
ps.len = strlen(str);
- retval = parseString_private(&pe, &ps, ss, values, SPO_Noop, NULL);
+ retval = parseString_private(&pe, &ps, ss, values, SPO_Noop, *args);
+ free(args);
return( retval );
}
Only in kaffe-1.1.x-cvs-patched/kaffe/kaffevm: stringParsing.c.orig
Only in kaffe-1.1.x-cvs-patched/libraries/javalib: kaffe-bin.core
Only in kaffe-1.1.x-cvs-patched/libraries/javalib: lt-kaffe-bin.core
Only in kaffe-1.1.x-cvs-patched/libraries/javalib: out
--0-8321206-1053382206=:3274
Content-Type: application/x-gtar; name="alpha-netbsd-failures.tgz"
Content-Transfer-Encoding: base64
Content-Description: alpha-netbsd-failures.tgz
Content-Disposition: attachment; filename="alpha-netbsd-failures.tgz"
H4sIAAFVyT4AA+1bW0/jOBTmdfkV1jx1JEhzD3RnR2KAziIxLBLsvIzmwW3c
1rNp3HWcQvfXry9JkzYpvReE/CG11D7n+PhyLo6dC0rhpE3oHRwiowdxdLR7
WKbpuy44slzTtR1wBATM7JvD820AAt+3bY8TWABYjm0FR8Dcgy4VpAmDFIAj
Sjo4guFCuqcBQvsYnFfGLziGRgTjvvEdUdybXFNK6PFvkIGi5jKCSXJLYIio
EfGvC7FmZGGjXCUYWjFkeIw+1kkwemqZKSZFHtgrk7qOIr0or1ihzpeJJJ0p
lxyWd17Dgp5HqMvqyF2vhpyhhN3mna7hCuqYhhDHdS2cc+LXnvFZfEEw3pfd
51hi/47jm4X9Bx63f8vzfW3/h4BYunINyCUr/5NL1QlKhtnhxYlxT8kIUTa5
DjEj9BuMYZ9bfQ/HoSpp1BMoce6K4oRBC4MJZ6tfkn3mrSF7dbGeu60XW9Nl
AiCrWqArvuSs8LJviA1I2AKjtBPhLugQEvGKUlN/dX5xf2agf1MYJY358o9V
EXzGYARUq/MqV+X2EVN6L5M0JjissseE8aiyFfNFFC3mr2d8gpg1PgI2oOSp
3KebmCFK0xFD4fVzF40YJjVjvFRyROL+fqWf4Jht3EJB/8AojvvKwPlEqhgm
RK/B9B1GKaqbgApHpTuMqJpVuH/8nFOzhidbLLwD1bYGMBlckrBWU+7iGf+S
Y144u6oGNawFT1Iav5N53tU4129RDX5da7nnagE2GaHMZ/y4nSf9/QRQBMPV
R/0EPFHM0Hq9OAE4fH6xoZo1qJiWtVY/2kXJHZHu6Qr12iTloUjkry0gx6Ep
CJrZOCgP/8ayr9eHHLyvl3tNAZfv/5w8/7Ns1+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