[kaffe] Testing for 1.1.0 release
Dalibor Topic
robilad at yahoo.com
Mon May 19 15:07:01 PDT 2003
--- mcmahill at 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
-------------- next part --------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha-netbsd-failures.tgz
Type: application/x-gtar
Size: 1576 bytes
Desc: alpha-netbsd-failures.tgz
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20030519/e135c3ab/alpha-netbsd-failures-0004.gtar
More information about the kaffe
mailing list