Re: [kaffe] org.kaffe.security.provider.Kaffe

2008-01-20 Thread Dalibor Topic

Ito Kazumitsu wrote:

Maybe after the removal of libraries/clib/security/Kaffe.security,
this warning message appears:

WARNING: Error loading security provider org.kaffe.security.provider.Kaffe:
 java.lang.ClassNotFoundException: org.kaffe.security.provider.Kaffe
 not found in java.lang.ClassLoader$1{urls=[...], parent=null}

I cannot find where org.kaffe.security.provider.Kaffe is defined.


I've removed the class (and the provided algorithms) from CVS head, as 
there is a security provider implementation in GNU Classpath, along with 
the same algorithms, as far as I can tell.


I've also removed Kaffe.security, since we should use the security 
policy file from Classpath.


I've left in the Kaffe secure random source, for now, as there is no GNU 
Classpath equivalent yet, as far I've seen.


cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): removed libltdl from include path

2008-01-20 Thread Kaffe CVS
PatchSet 7702 
Date: 2008/01/20 17:33:21
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
removed libltdl from include path

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/xprof/Makefile.am (AM_CPPFLAGS),
* kaffe/jvmpi/Makefile.am (AM_CPPFLAGS),
* kaffe/kaffevm/Makefile.am (AM_CPPFLAGS),
* test/jni/Makefile.am (AM_CPPFLAGS),
* kaffe/kaffe/Makefile.am (AM_CPPFLAGS):
Removed libltdl from include path.

Members: 
ChangeLog:1.5203-1.5204 
kaffe/jvmpi/Makefile.am:1.13-1.14 
kaffe/jvmpi/Makefile.in:1.127-1.128 
kaffe/kaffe/Makefile.am:1.39-1.40 
kaffe/kaffe/Makefile.in:1.226-1.227 
kaffe/kaffevm/Makefile.am:1.110-1.111 
kaffe/kaffevm/Makefile.in:1.281-1.282 
kaffe/xprof/Makefile.am:1.16-1.17 
kaffe/xprof/Makefile.in:1.157-1.158 
test/jni/Makefile.am:1.22-1.23 
test/jni/Makefile.in:1.101-1.102 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5203 kaffe/ChangeLog:1.5204
--- kaffe/ChangeLog:1.5203  Sat Jan 19 23:01:54 2008
+++ kaffe/ChangeLog Sun Jan 20 17:33:21 2008
@@ -1,3 +1,12 @@
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
+   * kaffe/xprof/Makefile.am (AM_CPPFLAGS),
+   * kaffe/jvmpi/Makefile.am (AM_CPPFLAGS), 
+   * kaffe/kaffevm/Makefile.am (AM_CPPFLAGS), 
+   * test/jni/Makefile.am (AM_CPPFLAGS),
+   * kaffe/kaffe/Makefile.am (AM_CPPFLAGS): 
+   Removed libltdl from include path.
+   
 2008-01-19  Dalibor Topic  [EMAIL PROTECTED]
 
* TODO: Updated.
Index: kaffe/kaffe/jvmpi/Makefile.am
diff -u kaffe/kaffe/jvmpi/Makefile.am:1.13 kaffe/kaffe/jvmpi/Makefile.am:1.14
--- kaffe/kaffe/jvmpi/Makefile.am:1.13  Sat Jan 19 22:45:25 2008
+++ kaffe/kaffe/jvmpi/Makefile.am   Sun Jan 20 17:33:23 2008
@@ -3,7 +3,6 @@
 AM_CPPFLAGS = \
-I$(top_srcdir)/kaffe/kaffevm/$(THREAD_DIR) \
$(ENGINE_INCLUDES) \
-   -I$(top_srcdir)/libltdl \
$(ENGINE_DEFS) \
-I$(top_srcdir)/kaffe/kaffevm \
-I$(top_builddir)/include \
Index: kaffe/kaffe/jvmpi/Makefile.in
diff -u kaffe/kaffe/jvmpi/Makefile.in:1.127 kaffe/kaffe/jvmpi/Makefile.in:1.128
--- kaffe/kaffe/jvmpi/Makefile.in:1.127 Sat Jan 19 22:45:25 2008
+++ kaffe/kaffe/jvmpi/Makefile.in   Sun Jan 20 17:33:24 2008
@@ -294,7 +294,6 @@
 AM_CPPFLAGS = \
-I$(top_srcdir)/kaffe/kaffevm/$(THREAD_DIR) \
$(ENGINE_INCLUDES) \
-   -I$(top_srcdir)/libltdl \
$(ENGINE_DEFS) \
-I$(top_srcdir)/kaffe/kaffevm \
-I$(top_builddir)/include \
Index: kaffe/kaffe/kaffe/Makefile.am
diff -u kaffe/kaffe/kaffe/Makefile.am:1.39 kaffe/kaffe/kaffe/Makefile.am:1.40
--- kaffe/kaffe/kaffe/Makefile.am:1.39  Mon Jul  2 02:58:28 2007
+++ kaffe/kaffe/kaffe/Makefile.am   Sun Jan 20 17:33:24 2008
@@ -37,7 +37,6 @@
 AM_CPPFLAGS = \
-I../kaffevm \
-I$(srcdir)/../kaffevm \
-   -I$(top_srcdir)/libltdl \
-I$(top_srcdir)/kaffe/jvmpi \
-I$(top_srcdir)/kaffe/xprof \
-I$(top_srcdir)/kaffe/kaffevm/jni \
Index: kaffe/kaffe/kaffe/Makefile.in
diff -u kaffe/kaffe/kaffe/Makefile.in:1.226 kaffe/kaffe/kaffe/Makefile.in:1.227
--- kaffe/kaffe/kaffe/Makefile.in:1.226 Sat Jan 19 22:45:25 2008
+++ kaffe/kaffe/kaffe/Makefile.in   Sun Jan 20 17:33:24 2008
@@ -303,7 +303,6 @@
 AM_CPPFLAGS = \
-I../kaffevm \
-I$(srcdir)/../kaffevm \
-   -I$(top_srcdir)/libltdl \
-I$(top_srcdir)/kaffe/jvmpi \
-I$(top_srcdir)/kaffe/xprof \
-I$(top_srcdir)/kaffe/kaffevm/jni \
Index: kaffe/kaffe/kaffevm/Makefile.am
diff -u kaffe/kaffe/kaffevm/Makefile.am:1.110 
kaffe/kaffe/kaffevm/Makefile.am:1.111
--- kaffe/kaffe/kaffevm/Makefile.am:1.110   Sat Jan 19 22:45:26 2008
+++ kaffe/kaffe/kaffevm/Makefile.am Sun Jan 20 17:33:25 2008
@@ -24,7 +24,6 @@
-I$(top_srcdir)/kaffe/kaffevm/$(THREAD_DIR) \
-I$(top_srcdir)/kaffe/kaffevm/jni \
$(ENGINE_INCLUDES) \
-   -I$(top_srcdir)/libltdl \
$(ENGINE_DEFS) \
-I$(top_srcdir)/kaffe/jvmpi \
-I$(top_srcdir)/kaffe/xprof \
Index: kaffe/kaffe/kaffevm/Makefile.in
diff -u kaffe/kaffe/kaffevm/Makefile.in:1.281 
kaffe/kaffe/kaffevm/Makefile.in:1.282
--- kaffe/kaffe/kaffevm/Makefile.in:1.281   Sat Jan 19 22:45:26 2008
+++ kaffe/kaffe/kaffevm/Makefile.in Sun Jan 20 17:33:25 2008
@@ -371,7 +371,6 @@
-I$(top_srcdir)/kaffe/kaffevm/$(THREAD_DIR) \
-I$(top_srcdir)/kaffe/kaffevm/jni \
$(ENGINE_INCLUDES) \
-   -I$(top_srcdir)/libltdl \
$(ENGINE_DEFS) \
-I$(top_srcdir)/kaffe/jvmpi \
-I$(top_srcdir)/kaffe/xprof \
Index: kaffe/kaffe/xprof/Makefile.am
diff -u kaffe/kaffe/xprof/Makefile.am:1.16 kaffe/kaffe/xprof/Makefile.am:1.17
--- kaffe/kaffe/xprof/Makefile.am:1.16  Sat Jan 19 22:45:35 2008
+++ kaffe/kaffe/xprof/Makefile.am   Sun Jan 20 17:33:26 2008
@@ -17,7 +17,6 @@
 AM_CPPFLAGS = \
-I$(top_srcdir)/kaffe/kaffevm/$(THREAD_DIR) \
$(ENGINE_INCLUDES) \
-  

[kaffe] CVS kaffe (robilad): updated TODO

2008-01-20 Thread Kaffe CVS
PatchSet 7703 
Date: 2008/01/20 17:38:14
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
updated TODO

Members: 
ChangeLog:1.5204-1.5205 
TODO:1.40-1.41 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5204 kaffe/ChangeLog:1.5205
--- kaffe/ChangeLog:1.5204  Sun Jan 20 17:33:21 2008
+++ kaffe/ChangeLog Sun Jan 20 17:38:14 2008
@@ -1,5 +1,9 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   TODO: Updated.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* kaffe/xprof/Makefile.am (AM_CPPFLAGS),
* kaffe/jvmpi/Makefile.am (AM_CPPFLAGS), 
* kaffe/kaffevm/Makefile.am (AM_CPPFLAGS), 
Index: kaffe/TODO
diff -u kaffe/TODO:1.40 kaffe/TODO:1.41
--- kaffe/TODO:1.40 Sat Jan 19 23:01:54 2008
+++ kaffe/TODO  Sun Jan 20 17:38:14 2008
@@ -8,7 +8,6 @@
 
 * Cleanup
  * Turn developers/autogen.sh into an autoreconf call
- * Remove libltdl from C(PP)FLAGS in all Makefile.ams.
  * Remove unused instructions from jits (nop, unimplemented)
 
 * Architectural changes:

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): cleaned up autogen.sh

2008-01-20 Thread Kaffe CVS
PatchSet 7704 
Date: 2008/01/20 17:55:34
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
cleaned up autogen.sh

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* developers/autogen.sh: Replaced the complicated
invocations of autotools with a single autoreconf call.

Members: 
ChangeLog:1.5205-1.5206 
developers/autogen.sh:1.80-1.81 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5205 kaffe/ChangeLog:1.5206
--- kaffe/ChangeLog:1.5205  Sun Jan 20 17:38:14 2008
+++ kaffe/ChangeLog Sun Jan 20 17:55:34 2008
@@ -1,5 +1,10 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   * developers/autogen.sh: Replaced the complicated 
+   invocations of autotools with a single autoreconf call.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
TODO: Updated.
 
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
Index: kaffe/developers/autogen.sh
diff -u kaffe/developers/autogen.sh:1.80 kaffe/developers/autogen.sh:1.81
--- kaffe/developers/autogen.sh:1.80Sat Jan 19 22:45:23 2008
+++ kaffe/developers/autogen.sh Sun Jan 20 17:55:36 2008
@@ -89,29 +89,7 @@
 
 fi
 
-# Delete old files to make sure we regenerate things
-# automake things
-rm -f depcomp missing config.guess config.sub install-sh
-# libtool things
-rm -f aclocal.m4 ltmain.sh libtool.m4 ltconfig
-
-# autoconf things
-rm -f aclocal.m4 configure
-rm -f config/config.h.in
-find . -type f -name 'Makefile.in' | xargs rm -f
-
-# Now regenerate autotools
-libtoolize --automake --copy --force
-
-# gettextize kaffe
-# commented out due to bugs in gettextize
-##gettextize -c -f --intl
-
-autopoint -f
-aclocal -I m4
-autoheader # -Wall
-automake --add-missing --force-missing --copy # -Wall || true  # ignore 
warnings
-autoconf # -Wall
+autoreconf -f -i # -Wall
 
 # drops specific patches
 (

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): removed m4/libtool.m4

2008-01-20 Thread Kaffe CVS
PatchSet 7705 
Date: 2008/01/20 18:10:34
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
removed m4/libtool.m4

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* m4/libtool.m4: Removed.

Members: 
ChangeLog:1.5206-1.5207 
Makefile.in:1.309-1.310 
aclocal.m4:1.141-1.142 
configure:1.633-1.634 
config/Makefile.in:1.253-1.254 
include/Makefile.in:1.317-1.318 
kaffe/Makefile.in:1.202-1.203 
kaffe/jvmpi/Makefile.in:1.128-1.129 
kaffe/kaffe/Makefile.in:1.227-1.228 
kaffe/kaffeh/Makefile.in:1.208-1.209 
kaffe/kaffevm/Makefile.in:1.282-1.283 
kaffe/kaffevm/boehm-gc/Makefile.in:1.93-1.94 
kaffe/kaffevm/gcj/Makefile.in:1.182-1.183 
kaffe/kaffevm/intrp/Makefile.in:1.191-1.192 
kaffe/kaffevm/jit/Makefile.in:1.201-1.202 
kaffe/kaffevm/jit3/Makefile.in:1.171-1.172 
kaffe/kaffevm/kaffe-gc/Makefile.in:1.91-1.92 
kaffe/kaffevm/systems/Makefile.in:1.191-1.192 
kaffe/kaffevm/systems/beos-native/Makefile.in:1.182-1.183 
kaffe/kaffevm/systems/drops-l4threads/Makefile.in:1.46-1.47 
kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.188-1.189 
kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.192-1.193 
kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.168-1.169 
kaffe/man/Makefile.in:1.189-1.190 
kaffe/scripts/Makefile.in:1.235-1.236 
kaffe/scripts/bat/Makefile.in:1.182-1.183 
kaffe/scripts/compat/Makefile.in:1.210-1.211 
kaffe/xprof/Makefile.in:1.158-1.159 
libraries/Makefile.in:1.185-1.186 
libraries/clib/Makefile.in:1.207-1.208 
libraries/clib/awt/Makefile.in:1.200-1.201 
libraries/clib/awt/X/Makefile.in:1.196-1.197 
libraries/clib/awt/nano-X/Makefile.in:1.67-1.68 
libraries/clib/awt/qt/Makefile.in:1.148-1.149 
libraries/clib/awt/xynth/Makefile.in:1.23-1.24 
libraries/clib/math/Makefile.in:1.198-1.199 
libraries/clib/zip/Makefile.in:1.203-1.204 
libraries/javalib/Makefile.in:1.598-1.599 
libraries/javalib/awt-implementations/Makefile.in:1.79-1.80 
libraries/javalib/awt-implementations/kaffe/Makefile.in:1.102-1.103 
libraries/javalib/gmp-math/Makefile.in:1.88-1.89 
libraries/javalib/vmspecific/Makefile.in:1.31-1.32 
libraries/javalib/zlib-zip/Makefile.in:1.25-1.26 
m4/libtool.m4:1.30-1.31(DEAD) 
replace/Makefile.in:1.145-1.146 
test/Makefile.in:1.194-1.195 
test/internal/Makefile.in:1.170-1.171 
test/jni/Makefile.in:1.102-1.103 
test/regression/Makefile.in:1.273-1.274 
test/regression/compile_time/Makefile.in:1.122-1.123 
test/regression/compiler/Makefile.in:1.106-1.107 
test/regression/run_time/Makefile.in:1.121-1.122 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5206 kaffe/ChangeLog:1.5207
--- kaffe/ChangeLog:1.5206  Sun Jan 20 17:55:34 2008
+++ kaffe/ChangeLog Sun Jan 20 18:10:34 2008
@@ -1,5 +1,9 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   * m4/libtool.m4: Removed.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* developers/autogen.sh: Replaced the complicated 
invocations of autotools with a single autoreconf call.
 
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.309 kaffe/Makefile.in:1.310
--- kaffe/Makefile.in:1.309 Sat Jan 19 22:53:06 2008
+++ kaffe/Makefile.in   Sun Jan 20 18:10:34 2008
@@ -67,9 +67,9 @@
$(top_srcdir)/m4/gwqt.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
-   $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/nls.m4 \
-   $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
-   $(top_srcdir)/m4/semaphore.m4 $(top_srcdir)/m4/size_max.m4 \
+   $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
+   $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/semaphore.m4 \
+   $(top_srcdir)/m4/size_max.m4 \
$(top_srcdir)/m4/solarispthread.m4 $(top_srcdir)/m4/valist.m4 \
$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
Index: kaffe/aclocal.m4
diff -u kaffe/aclocal.m4:1.141 kaffe/aclocal.m4:1.142
--- kaffe/aclocal.m4:1.141  Sun Jan  6 19:05:14 2008
+++ kaffe/aclocal.m4Sun Jan 20 18:10:34 2008
@@ -16,6 +16,6990 @@
 You have another version of autoconf.  If you want to use that,
 you should regenerate the build system entirely.], [63])])
 
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+
+# serial 51 AC_PROG_LIBTOOL
+
+
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+# ---
+# If this macro is not defined by Autoconf, define it here.
+m4_ifdef([AC_PROVIDE_IFELSE],
+ [],
+ [m4_define([AC_PROVIDE_IFELSE],
+

[kaffe] CVS kaffe (robilad): removed version checking logic from autogen.sh

2008-01-20 Thread Kaffe CVS
PatchSet 7706 
Date: 2008/01/20 18:15:29
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
removed version checking logic from autogen.sh

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* developers/autogen.sh: Removed version checking logic.
We should simply set the minimum versions necessary in configure.ac.

Members: 
ChangeLog:1.5207-1.5208 
developers/autogen.sh:1.81-1.82 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5207 kaffe/ChangeLog:1.5208
--- kaffe/ChangeLog:1.5207  Sun Jan 20 18:10:34 2008
+++ kaffe/ChangeLog Sun Jan 20 18:15:29 2008
@@ -1,5 +1,10 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   * developers/autogen.sh: Removed version checking logic.
+   We should simply set the minimum versions necessary in configure.ac.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* m4/libtool.m4: Removed.
 
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
Index: kaffe/developers/autogen.sh
diff -u kaffe/developers/autogen.sh:1.81 kaffe/developers/autogen.sh:1.82
--- kaffe/developers/autogen.sh:1.81Sun Jan 20 17:55:36 2008
+++ kaffe/developers/autogen.sh Sun Jan 20 18:15:31 2008
@@ -1,94 +1,5 @@
 #! /bin/sh
 
-set -e
-
-# This script runs all of the various auto* programs in the correct order.
-# You should run this from the top-level directory.
-# Written by Mo DeJong.
-
-export LC_ALL=C
-
-# Check for versions of various tools to use when regenerating 
-# Makefiles and configure scripts - if you want to use different
-# versions, use --override.  The purpose of these checks is to just
-# make sure that people are using consistent versions of tools
-# when checking into CVS so we have predictable regression.
-
-if [ $1 != --override ]; then
-
-WANTED_AUTOMAKE_VERS=1.10
-WANTED_AUTOCONF_VERS=2.61
-WANTED_LIBTOOL_VERS=1.5.24
-WANTED_AUTOPOINT_VERS=0.16.1
-
-ACLOCAL_VERS=`aclocal --version | 
-   sed -n 's,^aclocal (GNU automake) \(.*\)$,\1,p'`
-if [ $ACLOCAL_VERS != $WANTED_AUTOMAKE_VERS ]; then
-   echo Missing or wrong version for aclocal (from automake).
-   echo We want automake $WANTED_AUTOMAKE_VERS
-   if [ -n $ACLOCAL_VERS ]; then
-   echo We found aclocal from automake $ACLOCAL_VERS
-   fi
-   exit 1
-fi
- 
-AUTOHEADER_VERS=`autoheader --version | 
-   sed -n 's,^autoheader (GNU Autoconf) \(.*\)$,\1,p'`
-if [ $AUTOHEADER_VERS != $WANTED_AUTOCONF_VERS ]; then
-   echo Missing or wrong version for autoheader (from autoconf).
-   echo We want autoconf $WANTED_AUTOCONF_VERS
-   if [ -n $AUTOHEADER_VERS ]; then
-   echo We found autoheader from autoconf $AUTOHEADER_VERS
-   fi
-   exit 1
-fi
-
-AUTOMAKE_VERS=`automake --version | 
-   sed -n 's,^automake (GNU automake) \(.*\)$,\1,p'`
-if [ $AUTOMAKE_VERS != $WANTED_AUTOMAKE_VERS ]; then
-   echo Missing or wrong version for automake.
-   echo We want automake $WANTED_AUTOMAKE_VERS
-   if [ -n $AUTOMAKE_VERS ]; then
-   echo We found automake $AUTOMAKE_VERS
-   fi
-   exit 1
-fi
-
-AUTOCONF_VERS=`autoconf --version | 
-   sed -n 's,^autoconf (GNU Autoconf) \(.*\)$,\1,p'`
-if [ $AUTOCONF_VERS != $WANTED_AUTOCONF_VERS ]; then
-   echo Missing or wrong version for autoconf.
-   echo We want autoconf $WANTED_AUTOCONF_VERS
-   if [ -n $AUTOCONF_VERS ]; then
-   echo We found autoconf $AUTOCONF_VERS
-   fi
-   exit 1
-fi
-
-LIBTOOLIZE_VERS=`libtoolize --version | 
-   sed -n 's,^libtoolize (GNU libtool) \(.*\)$,\1,p'`
-if [ $LIBTOOLIZE_VERS != $WANTED_LIBTOOL_VERS ]; then
-   echo Missing or wrong version for libtoolize (from libtool).
-   echo We want libtool $WANTED_LIBTOOL_VERS
-   if [ -n $LIBTOOLIZE_VERS ]; then
-   echo We found libtoolize from libtool $LIBTOOLIZE_VERS
-   fi
-   exit 1
-fi
-
-AUTOPOINT_VERS=`gettext --version |
-sed -n 's,^gettext (GNU gettext-runtime) \(.*\)$,\1,p'`
-if [ $AUTOPOINT_VERS != $WANTED_AUTOPOINT_VERS ]; then
-echo Missing or wrong version for autopoint (from gettext).
-echo We want autopoint $WANTED_AUTOPOINT_VERS
-if [ -n $AUTOPOINT_VERS ]; then
-echo We found autopoint from gettext $AUTOPOINT_VERS
-fi
-exit 1
-fi
-
-fi
-
 autoreconf -f -i # -Wall
 
 # drops specific patches

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): autoupdated configure.ac

2008-01-20 Thread Kaffe CVS
PatchSet 7707 
Date: 2008/01/20 18:50:29
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
autoupdated configure.ac

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* configure.ac: Autoupdated. Now requires autoconf 2.61.

Members: 
ChangeLog:1.5208-1.5209 
configure.ac:1.302-1.303 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5208 kaffe/ChangeLog:1.5209
--- kaffe/ChangeLog:1.5208  Sun Jan 20 18:15:29 2008
+++ kaffe/ChangeLog Sun Jan 20 18:50:29 2008
@@ -1,5 +1,9 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   * configure.ac: Autoupdated. Now requires autoconf 2.61.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* developers/autogen.sh: Removed version checking logic.
We should simply set the minimum versions necessary in configure.ac.
 
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.302 kaffe/configure.ac:1.303
--- kaffe/configure.ac:1.302Sat Jan 19 22:45:21 2008
+++ kaffe/configure.ac  Sun Jan 20 18:50:30 2008
@@ -1,6 +1,6 @@
 AC_INIT([Kaffe Virtual Machine],[1.1.9-pre],[EMAIL PROTECTED],[kaffe])
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.61)
 
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([scripts])

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): updated TODO

2008-01-20 Thread Kaffe CVS
PatchSet 7708 
Date: 2008/01/20 18:55:05
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
updated TODO

Members: 
ChangeLog:1.5209-1.5210 
TODO:1.41-1.42 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5209 kaffe/ChangeLog:1.5210
--- kaffe/ChangeLog:1.5209  Sun Jan 20 18:50:29 2008
+++ kaffe/ChangeLog Sun Jan 20 18:55:05 2008
@@ -1,5 +1,9 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   TODO: Updated.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* configure.ac: Autoupdated. Now requires autoconf 2.61.
 
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
Index: kaffe/TODO
diff -u kaffe/TODO:1.41 kaffe/TODO:1.42
--- kaffe/TODO:1.41 Sun Jan 20 17:38:14 2008
+++ kaffe/TODO  Sun Jan 20 18:55:05 2008
@@ -7,7 +7,6 @@
  * Merge in Tom Tromey's libjit and llvm based JITs.
 
 * Cleanup
- * Turn developers/autogen.sh into an autoreconf call
  * Remove unused instructions from jits (nop, unimplemented)
 
 * Architectural changes:

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): lower automake requirement for OE

2008-01-20 Thread Kaffe CVS
PatchSet 7709 
Date: 2008/01/20 18:58:13
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
lower automake requirement for OE

2008-01-20  Robert Schuster  [EMAIL PROTECTED]

* configure.ac: Require automake 1.9 instead of 1.10.

Members: 
ChangeLog:1.5210-1.5211 
configure.ac:1.303-1.304 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5210 kaffe/ChangeLog:1.5211
--- kaffe/ChangeLog:1.5210  Sun Jan 20 18:55:05 2008
+++ kaffe/ChangeLog Sun Jan 20 18:58:13 2008
@@ -1,3 +1,7 @@
+2008-01-20  Robert Schuster  [EMAIL PROTECTED]
+
+   * configure.ac: Require automake 1.9 instead of 1.10.
+
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
TODO: Updated.
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.303 kaffe/configure.ac:1.304
--- kaffe/configure.ac:1.303Sun Jan 20 18:50:30 2008
+++ kaffe/configure.ac  Sun Jan 20 18:58:14 2008
@@ -33,7 +33,7 @@
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
-AM_INIT_AUTOMAKE([1.10 dist-bzip2 dist-zip tar-ustar])
+AM_INIT_AUTOMAKE([1.9 dist-bzip2 dist-zip tar-ustar])
 
 AC_PREFIX_DEFAULT(/usr/local/kaffe)
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] patch: lower automake requirements

2008-01-20 Thread Dalibor Topic

Dalibor Topic wrote:

Robert Schuster wrote:

Hi,
this patch makes life easier in OE land where automake 1.10 is still not
the default. This patch is not a must have for me because this can
easily be patched (even for dreaded CVS builds).

2008-01-19  Robert Schuster  [EMAIL PROTECTED]

  * configure.ac: Require automake 1.9 instead of 1.10.



I'll try to rip out libltdl today, after that I'll be able to pretty 
much turn kaffe's autogen.sh script into a single autoreconf call - then 
it will be a lot easier to make sure that using automake 1.9 works (or 
to see warnings for things that don't work).


Done. I've rewritten autogen.sh and ripped out libltdl. I've tried 
autoreconf -Wall with both the 1.9 and 1.10 setting and they both
gave the same results and warnings (using automake 1.10), so I've 
checked the patch in.


cheers,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): don't link files you can add to _SOURCES

2008-01-20 Thread Kaffe CVS
PatchSet 7710 
Date: 2008/01/20 19:55:36
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
don't link files you can add to _SOURCES

2008-01-20  Dalibor Topic  [EMAIL PROTECTED]

* configure.ac: Don't link files for kaffeh.

* kaffe/kaffeh/Makefile.am (kaffeh_SOURCES): Added files
used from kaffevm.

Members: 
ChangeLog:1.5211-1.5212 
configure:1.634-1.635 
configure.ac:1.304-1.305 
kaffe/kaffeh/Makefile.am:1.31-1.32 
kaffe/kaffeh/Makefile.in:1.209-1.210 
kaffe/kaffevm/Makefile.in:1.283-1.284 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5211 kaffe/ChangeLog:1.5212
--- kaffe/ChangeLog:1.5211  Sun Jan 20 18:58:13 2008
+++ kaffe/ChangeLog Sun Jan 20 19:55:36 2008
@@ -1,3 +1,10 @@
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
+   * configure.ac: Don't link files for kaffeh.
+
+   * kaffe/kaffeh/Makefile.am (kaffeh_SOURCES): Added files
+   used from kaffevm.
+
 2008-01-20  Robert Schuster  [EMAIL PROTECTED]
 
* configure.ac: Require automake 1.9 instead of 1.10.
Index: kaffe/configure
diff -u kaffe/configure:1.634 kaffe/configure:1.635
--- kaffe/configure:1.634   Sun Jan 20 18:10:34 2008
+++ kaffe/configure Sun Jan 20 19:55:36 2008
@@ -42459,19 +42459,6 @@
 ac_config_files=$ac_config_files test/jni/Makefile
 
 
-ac_config_links=$ac_config_links 
kaffe/kaffeh/constants.c:kaffe/kaffevm/constants.c
-
-ac_config_links=$ac_config_links kaffe/kaffeh/debug.c:kaffe/kaffevm/debug.c
-
-ac_config_links=$ac_config_links kaffe/kaffeh/file.c:kaffe/kaffevm/file.c
-
-ac_config_links=$ac_config_links kaffe/kaffeh/jar.c:kaffe/kaffevm/jar.c
-
-ac_config_links=$ac_config_links 
kaffe/kaffeh/readClass.c:kaffe/kaffevm/readClass.c
-
-ac_config_links=$ac_config_links 
kaffe/kaffeh/utf8const.c:kaffe/kaffevm/utf8const.c
-
-
 if test x$with_engine != xintrp ; then
   ac_config_links=$ac_config_links config/jit-md.h:$CONFIG_JIT_MD_H
 
@@ -43326,12 +43313,6 @@
 test/regression/compiler/Makefile) CONFIG_FILES=$CONFIG_FILES 
test/regression/compiler/Makefile ;;
 test/regression/run_time/Makefile) CONFIG_FILES=$CONFIG_FILES 
test/regression/run_time/Makefile ;;
 test/jni/Makefile) CONFIG_FILES=$CONFIG_FILES test/jni/Makefile ;;
-kaffe/kaffeh/constants.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/constants.c:kaffe/kaffevm/constants.c ;;
-kaffe/kaffeh/debug.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/debug.c:kaffe/kaffevm/debug.c ;;
-kaffe/kaffeh/file.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/file.c:kaffe/kaffevm/file.c ;;
-kaffe/kaffeh/jar.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/jar.c:kaffe/kaffevm/jar.c ;;
-kaffe/kaffeh/readClass.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/readClass.c:kaffe/kaffevm/readClass.c ;;
-kaffe/kaffeh/utf8const.c) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffeh/utf8const.c:kaffe/kaffevm/utf8const.c ;;
 config/jit-md.h) CONFIG_LINKS=$CONFIG_LINKS 
config/jit-md.h:$CONFIG_JIT_MD_H ;;
 config/callKaffeException.h) CONFIG_LINKS=$CONFIG_LINKS 
config/callKaffeException.h:$CONFIG_CALLKAFFEEXCEPTION_H ;;
 kaffe/kaffevm/$with_engine/icode.h) CONFIG_LINKS=$CONFIG_LINKS 
kaffe/kaffevm/$with_engine/icode.h:$KAFFEVM_ICODE_H ;;
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.304 kaffe/configure.ac:1.305
--- kaffe/configure.ac:1.304Sun Jan 20 18:58:14 2008
+++ kaffe/configure.ac  Sun Jan 20 19:55:38 2008
@@ -1885,13 +1885,6 @@
 AC_CONFIG_FILES([test/regression/run_time/Makefile])
 AC_CONFIG_FILES([test/jni/Makefile])
 
-AC_CONFIG_LINKS([kaffe/kaffeh/constants.c:kaffe/kaffevm/constants.c])
-AC_CONFIG_LINKS([kaffe/kaffeh/debug.c:kaffe/kaffevm/debug.c])
-AC_CONFIG_LINKS([kaffe/kaffeh/file.c:kaffe/kaffevm/file.c])
-AC_CONFIG_LINKS([kaffe/kaffeh/jar.c:kaffe/kaffevm/jar.c])
-AC_CONFIG_LINKS([kaffe/kaffeh/readClass.c:kaffe/kaffevm/readClass.c])
-AC_CONFIG_LINKS([kaffe/kaffeh/utf8const.c:kaffe/kaffevm/utf8const.c])
-
 if test x$with_engine != xintrp ; then
   AC_CONFIG_LINKS([config/jit-md.h:$CONFIG_JIT_MD_H])
   AC_CONFIG_LINKS([config/callKaffeException.h:$CONFIG_CALLKAFFEEXCEPTION_H])
Index: kaffe/kaffe/kaffeh/Makefile.am
diff -u kaffe/kaffe/kaffeh/Makefile.am:1.31 kaffe/kaffe/kaffeh/Makefile.am:1.32
--- kaffe/kaffe/kaffeh/Makefile.am:1.31 Sun Jan  6 19:41:27 2008
+++ kaffe/kaffe/kaffeh/Makefile.am  Sun Jan 20 19:55:40 2008
@@ -34,12 +34,11 @@
kaffeh-support.h \
java_lang_ClassLoader.h \
java_lang_Object.h \
-   java_lang_String.h
+   java_lang_String.h \
+   $(top_srcdir)/kaffe/kaffevm/constants.c \
+   $(top_srcdir)/kaffe/kaffevm/debug.c \
+   $(top_srcdir)/kaffe/kaffevm/file.c \
+   $(top_srcdir)/kaffe/kaffevm/jar.c \
+   $(top_srcdir)/kaffe/kaffevm/readClass.c \
+   $(top_srcdir)/kaffe/kaffevm/utf8const.c 
 
-nodist_kaffeh_SOURCES = \
-   constants.c \
-   debug.c \
-   file.c \
-   jar.c \
-   readClass.c \
-   utf8const.c
Index: kaffe/kaffe/kaffeh/Makefile.in
diff -u 

[kaffe] CVS kaffe (robilad): updated TODO

2008-01-20 Thread Kaffe CVS
PatchSet 7711 
Date: 2008/01/20 20:03:35
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
updated TODO

Members: 
ChangeLog:1.5212-1.5213 
TODO:1.42-1.43 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5212 kaffe/ChangeLog:1.5213
--- kaffe/ChangeLog:1.5212  Sun Jan 20 19:55:36 2008
+++ kaffe/ChangeLog Sun Jan 20 20:03:35 2008
@@ -1,5 +1,9 @@
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
+   TODO: Updated.
+
+2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
+
* configure.ac: Don't link files for kaffeh.
 
* kaffe/kaffeh/Makefile.am (kaffeh_SOURCES): Added files
Index: kaffe/TODO
diff -u kaffe/TODO:1.42 kaffe/TODO:1.43
--- kaffe/TODO:1.42 Sun Jan 20 18:55:05 2008
+++ kaffe/TODO  Sun Jan 20 20:03:35 2008
@@ -14,10 +14,14 @@
  * Make runtime engine runtime selectable
  * Make gc backend runtime selectable
  * Make boehm-gc the default engine on platforms that support it
+ * Use libltdl directly for JNI, remove wrappers.
  * Swich to glib for data structures, command line option parsing, etc.
  * Switch to libjclassinfo for class file parsing
   * Switch to libzzlib for zip file reading first to be able to kill the 
syscall
 interface in the threading code.
+* start with jar.c /jar.h.
+* findInJar is a bit trickier, as it also deals with directories, regular 
classes
+  etc. Maybe it can be largely rewritten in Java in the VMClassLoader? 
 
 * Missing features
  * Implement support for extension override mechanism, and allow overriding

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross-compile error

2008-01-20 Thread Robert Schuster
Hi,

Robert Schuster schrieb:
 I now found a cacheflush implementation in libffi. I adjust this for
 kaffe and report back.
I took what was said here[0] as a base for an OABI-  EABI-compliant
implementation of the cache flushing.

It compiles nicely (I can only test the EABI-variant here).
Unfortunately it does not work at runtime. That means I get the same
assertion failure as before:

kaffe-bin: exception.c:100: vmExcept_setJNIFrame: Assertion `fp !=
(JNIFrameAddress)0'

Now I dont know whether those two things are related. The only thing I
know for sure is that I use the same cacheflush implementation for cacao
and there it does its job (and fixes a real bug).

Help! :)

Regards
Robert

[0] - http://gcc.gnu.org/ml/java-patches/2007-q3/msg00112.html


 Regards
 Robert
 
 
 
 
 
 ___
 kaffe mailing list
 kaffe@kaffe.org
 http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Index: kaffe-cvs/config/arm/linux/md.c
===
--- kaffe-cvs.orig/config/arm/linux/md.c	2008-01-21 00:04:12.0 +0100
+++ kaffe-cvs/config/arm/linux/md.c	2008-01-21 00:50:30.0 +0100
@@ -33,11 +33,25 @@
  * for 2.6) should be okay.
  */
 void flush_dcache(void *start, void *end) {
-  __asm __volatile (mov r0, %0\n
+#if defined(__ARM_EABI__)
+  __asm __volatile (
+mov r0, %0\n
 		mov r1, %1\n
 		mov r2, #0\n
-		swi  __sys1(__ARM_NR_cacheflush) \n
+mov r7, #0x0f\n
+add r7, r7, #0x02\n
+		swi 0x0\n
+		: /* no return value */
+		: r ((long)start), r ((long)end)
+		: r0,r1,r2,r7);
+#else /* OABI */
+  __asm __volatile (
+mov r0, %0\n
+		mov r1, %1\n
+		mov r2, #0\n
+		swi sys_cacheflush\n
 		: /* no return value */
 		: r ((long)start), r ((long)end)
 		: r0,r1,r2);
+#endif
 }


signature.asc
Description: OpenPGP digital signature
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross-compile error

2008-01-20 Thread Robert Schuster
Hi,
talking to Dalibor on IRC he said there are some interesting compiler
warnings in my build and he is going to look at them.

Robert Schuster schrieb:
 kaffe-bin: exception.c:100: vmExcept_setJNIFrame: Assertion `fp !=
 (JNIFrameAddress)0'
Perhaps a backtrace for this is of interest:

#0  0x40042a38 in vmExcept_setJNIFrame ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#1  0x4004f1bc in KaffeVM_safeCallMethodA ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#2  0x4003a0ec in processClass ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#3  0x400368dc in initBaseClasses ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#4  0x40036e9c in initialiseKaffe ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#5  0x40055fc8 in JNI_CreateJavaVM ()
   from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
#6  0x9c30 in main ()


Regards
Robert



signature.asc
Description: OpenPGP digital signature
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): documented zziplib requirment

2008-01-20 Thread Kaffe CVS
PatchSet 7713 
Date: 2008/01/21 01:13:04
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
documented zziplib requirment

2008-01-21  Dalibor Topic  [EMAIL PROTECTED]

* TODO: Updated.
* FAQ/FAQ.requiredlibraries: Add zziplib.

Members: 
ChangeLog:1.5214-1.5215 
TODO:1.43-1.44 
FAQ/FAQ.requiredlibraries:1.14-1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5214 kaffe/ChangeLog:1.5215
--- kaffe/ChangeLog:1.5214  Mon Jan 21 01:04:28 2008
+++ kaffe/ChangeLog Mon Jan 21 01:13:04 2008
@@ -1,5 +1,10 @@
 2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
 
+   * TODO: Updated.
+   * FAQ/FAQ.requiredlibraries: Add zziplib.
+
+2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
+
* kaffe/kaffevm/baseClasses.c (initialiseKaffe): Don't initialize
JAR file cache, it's gone.
 
Index: kaffe/TODO
diff -u kaffe/TODO:1.43 kaffe/TODO:1.44
--- kaffe/TODO:1.43 Sun Jan 20 20:03:35 2008
+++ kaffe/TODO  Mon Jan 21 01:13:05 2008
@@ -19,7 +19,7 @@
  * Switch to libjclassinfo for class file parsing
   * Switch to libzzlib for zip file reading first to be able to kill the 
syscall
 interface in the threading code.
-* start with jar.c /jar.h.
+* continue with native zip libs.
 * findInJar is a bit trickier, as it also deals with directories, regular 
classes
   etc. Maybe it can be largely rewritten in Java in the VMClassLoader? 
 
Index: kaffe/FAQ/FAQ.requiredlibraries
diff -u kaffe/FAQ/FAQ.requiredlibraries:1.14 
kaffe/FAQ/FAQ.requiredlibraries:1.15
--- kaffe/FAQ/FAQ.requiredlibraries:1.14Sat Jan 19 22:57:28 2008
+++ kaffe/FAQ/FAQ.requiredlibraries Mon Jan 21 01:13:06 2008
@@ -18,6 +18,12 @@
 distributor uses the RPM packaging format, you should check out
 http://www.rpmfind.net.
 
+zziplib
+---
+
+You'll need zziplib for Kaffe to be able to load classes from JAR files.
+It is available from http://zziplib.sourceforge.net/ .
+
 libltdl
 ---
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cross-compile error

2008-01-20 Thread Robert Schuster
Hi,
its me again.

Robert Schuster schrieb:

 #0  0x40042a38 in vmExcept_setJNIFrame ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #1  0x4004f1bc in KaffeVM_safeCallMethodA ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #2  0x4003a0ec in processClass ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #3  0x400368dc in initBaseClasses ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #4  0x40036e9c in initialiseKaffe ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #5  0x40055fc8 in JNI_CreateJavaVM ()
from /usr/lib/kaffe/jre/lib/arm/libkaffe-1.1.9-pre.so
 #6  0x9c30 in main ()
Forget this. It is not the location where the assertion failed. :(

Regards
Robert



signature.asc
Description: OpenPGP digital signature
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): reimplemented jar reading

2008-01-20 Thread Kaffe CVS
PatchSet 7712 
Date: 2008/01/21 01:04:28
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
reimplemented jar reading

2008-01-21  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/kaffevm/baseClasses.c (initialiseKaffe): Don't initialize
JAR file cache, it's gone.

* kaffe/kaffevm/jar.h, kaffe/kaffevm/jar.c:
Rewriten from scratch to use zzip library. Since zzlib
allows transprent access to files and directories as well
as zip files, it could be possible to rewrite findInJar.c
to use jar.c now, regardless of the entry type.

* configure.ac: Check for zzip library and header.

* kaffe/kaffeh/support.c (kaffeh_findClass),
kaffe/kaffevm/findInJar.c (getManifestMainAttribute)
(findClassInJar): Use zziplib types and updated jar interfaces.

* kaffe/kaffevm/classpath.h (_classpathEntry): Use ZZIP_DIR
for a jar entry.

Members: 
ChangeLog:1.5213-1.5214 
configure:1.635-1.636 
configure.ac:1.305-1.306 
config/config.h.in:1.179-1.180 
kaffe/kaffeh/support.c:1.56-1.57 
kaffe/kaffevm/baseClasses.c:1.79-1.80 
kaffe/kaffevm/classpath.h:1.3-1.4 
kaffe/kaffevm/findInJar.c:1.76-1.77 
kaffe/kaffevm/jar.c:1.44-1.45 
kaffe/kaffevm/jar.h:INITIAL-1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5213 kaffe/ChangeLog:1.5214
--- kaffe/ChangeLog:1.5213  Sun Jan 20 20:03:35 2008
+++ kaffe/ChangeLog Mon Jan 21 01:04:28 2008
@@ -1,3 +1,23 @@
+2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
+
+   * kaffe/kaffevm/baseClasses.c (initialiseKaffe): Don't initialize
+   JAR file cache, it's gone.
+
+   * kaffe/kaffevm/jar.h, kaffe/kaffevm/jar.c: 
+   Rewriten from scratch to use zzip library. Since zzlib
+   allows transprent access to files and directories as well
+   as zip files, it could be possible to rewrite findInJar.c
+   to use jar.c now, regardless of the entry type.
+
+   * configure.ac: Check for zzip library and header.
+
+   * kaffe/kaffeh/support.c (kaffeh_findClass),
+   kaffe/kaffevm/findInJar.c (getManifestMainAttribute)
+   (findClassInJar): Use zziplib types and updated jar interfaces.
+
+   * kaffe/kaffevm/classpath.h (_classpathEntry): Use ZZIP_DIR
+   for a jar entry.
+
 2008-01-20  Dalibor Topic  [EMAIL PROTECTED]
 
TODO: Updated.
Index: kaffe/configure
diff -u kaffe/configure:1.635 kaffe/configure:1.636
--- kaffe/configure:1.635   Sun Jan 20 19:55:36 2008
+++ kaffe/configure Mon Jan 21 01:04:29 2008
@@ -2176,6 +2176,7 @@
 ac_header_list=$ac_header_list sys/ucontext.h
 ac_header_list=$ac_header_list unistd.h
 ac_header_list=$ac_header_list wintypes.h
+ac_header_list=$ac_header_list zzip/zzip.h
 ac_header_list=$ac_header_list zlib.h
 ac_header_list=$ac_header_list asm/sigcontext.h
 ac_header_list=$ac_header_list asm/ppc_asm.h
@@ -7032,7 +7033,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 7035 configure'  conftest.$ac_ext
+  echo '#line 7036 configure'  conftest.$ac_ext
   if { (eval echo $as_me:$LINENO: \$ac_compile\) 5
   (eval $ac_compile) 25
   ac_status=$?
@@ -9592,11 +9593,11 @@
-e 's:.*FLAGS}\{0,1\} :$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo \\$as_me:9595: $lt_compile\ 5)
+   (eval echo \\$as_me:9596: $lt_compile\ 5)
(eval $lt_compile 2conftest.err)
ac_status=$?
cat conftest.err 5
-   echo $as_me:9599: \$? = $ac_status 5
+   echo $as_me:9600: \$? = $ac_status 5
if (exit $ac_status)  test -s $ac_outfile; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -9882,11 +9883,11 @@
-e 's:.*FLAGS}\{0,1\} :$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo \\$as_me:9885: $lt_compile\ 5)
+   (eval echo \\$as_me:9886: $lt_compile\ 5)
(eval $lt_compile 2conftest.err)
ac_status=$?
cat conftest.err 5
-   echo $as_me:9889: \$? = $ac_status 5
+   echo $as_me:9890: \$? = $ac_status 5
if (exit $ac_status)  test -s $ac_outfile; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings other than the usual output.
@@ -9986,11 +9987,11 @@
-e 's:.*FLAGS}\{0,1\} :$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo \\$as_me:9989: $lt_compile\ 5)
+   (eval echo \\$as_me:9990: $lt_compile\ 5)
(eval $lt_compile 2out/conftest.err)
ac_status=$?
cat out/conftest.err 5
-   echo $as_me:9993: \$? = $ac_status 5
+   echo $as_me:9994: \$? = $ac_status 5
if (exit $ac_status)  test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -12335,7 +12336,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat  

[kaffe] CVS kaffe (robilad): updated TODO

2008-01-20 Thread Kaffe CVS
PatchSet 7714 
Date: 2008/01/21 01:44:43
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
updated TODO

Members: 
ChangeLog:1.5215-1.5216 
TODO:1.44-1.45 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5215 kaffe/ChangeLog:1.5216
--- kaffe/ChangeLog:1.5215  Mon Jan 21 01:13:04 2008
+++ kaffe/ChangeLog Mon Jan 21 01:44:43 2008
@@ -1,5 +1,9 @@
 2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
 
+   * TODO: Updated with some potential jit engine sources.
+
+2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
+
* TODO: Updated.
* FAQ/FAQ.requiredlibraries: Add zziplib.
 
Index: kaffe/TODO
diff -u kaffe/TODO:1.44 kaffe/TODO:1.45
--- kaffe/TODO:1.44 Mon Jan 21 01:13:05 2008
+++ kaffe/TODO  Mon Jan 21 01:44:43 2008
@@ -5,6 +5,12 @@
Variable must be in thread local storage and not globally visible.
  * Add support for gcj-ed code with BC ABI.
  * Merge in Tom Tromey's libjit and llvm based JITs.
+  * libjit targets x86, x86_84, ARM, Alpha
+  * llvm has jit targets for X86, X86-64, PowerPC and PowerPC-64
+  * gnu lightning targets x86, PowerPC32, AMD64, Sparc32
+  * tinycc targets linux-arm, linux-x86, win32-x86 and c67
+   * We could use libjit  try to fiddle in llvm, and the rest into it as 
backends.
+   * libjit could use a vmgenned interpreter, too.
 
 * Cleanup
  * Remove unused instructions from jits (nop, unimplemented)
@@ -16,6 +22,15 @@
  * Make boehm-gc the default engine on platforms that support it
  * Use libltdl directly for JNI, remove wrappers.
  * Swich to glib for data structures, command line option parsing, etc.
+  * debug logging (alternative would be GNU nana)
+  * command line option parsing (our manual code in main.c is rather ugly)
+  * data structures (no need to have our own hashtable, lists, etc.)
+  * fixed size types (without requiring c99, allowing to simplify gtypes, etc.)
+  * atomic functions (which we're now copying and pasting from gnu libc,
+and Guilhem is no longer around to maintain them)
+  * string  utf8 utility functions (allowing us to throw away the 
implementation in kaffe)
+  * timers  counters (making the stats module leaner)
+  * and various little portability/utility functions
  * Switch to libjclassinfo for class file parsing
   * Switch to libzzlib for zip file reading first to be able to kill the 
syscall
 interface in the threading code.

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): small compiler warning fix

2008-01-20 Thread Kaffe CVS
PatchSet 7715 
Date: 2008/01/21 02:03:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small compiler warning fix

008-01-21  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/kaffevm/findInJar.c (getManifestMainAttribute):
Fixed type of i to match return type of getUncompressedSize.

Members: 
ChangeLog:1.5216-1.5217 
kaffe/kaffevm/findInJar.c:1.77-1.78 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5216 kaffe/ChangeLog:1.5217
--- kaffe/ChangeLog:1.5216  Mon Jan 21 01:44:43 2008
+++ kaffe/ChangeLog Mon Jan 21 02:03:31 2008
@@ -1,5 +1,10 @@
 2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
 
+   * kaffe/kaffevm/findInJar.c (getManifestMainAttribute):
+   Fixed type of i to match return type of getUncompressedSize.
+
+2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
+
* TODO: Updated with some potential jit engine sources.
 
 2008-01-21  Dalibor Topic  [EMAIL PROTECTED]
Index: kaffe/kaffe/kaffevm/findInJar.c
diff -u kaffe/kaffe/kaffevm/findInJar.c:1.77 
kaffe/kaffe/kaffevm/findInJar.c:1.78
--- kaffe/kaffe/kaffevm/findInJar.c:1.77Mon Jan 21 01:04:37 2008
+++ kaffe/kaffe/kaffevm/findInJar.c Mon Jan 21 02:03:32 2008
@@ -631,7 +631,7 @@
char* mfdata;
char* attrEntry;
char* ret;
-   size_t i;
+   zzip_ssize_t i;
int posAttrValue;
 
/* Locate manifest entry in jar */

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe