Re: [kaffe] xargs -i

2005-08-23 Thread Dalibor Topic

Dalibor Topic wrote:

Ito Kazumitsu wrote:


Hi,

The following line Makefile.am causes error on FreeBSD.

   echo KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}`for f in $(JAVA_LIBS); 
do echo "$$f" | sed 's%/[^/]*$$%%' | xargs -n 1 -iXXX echo XXX"/.libs"; done | (tr '\012' ' '; echo) | 
sed -e 's/ $$//' -e "s/ /\'$(PATHSEP)\'/g"`\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \

xargs -i is specific to GNU version of xargs, and FreeBSD's xargs
does not accept that option.  I had to install GNU's findutils-4.2.23
to make all the tests pass.



I am sorry about that, I already received a patch to fix that using the
apparently more standard -I option.

I've thought about avoiding such bugs in the future, and I think instead
of using a scriptlet, maybe manually listing all the native libraries
necessary to run the test suite in the KAFFELIBRARYPATH variable is a
better choice. I'll try that and check it in if it works for me.


I've checked in that fix now. Thanks again for reporting it so quickly, 
and sorry for the inconvenience.


cheers,
dalibor topic

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


[kaffe] CVS kaffe (robilad): Fixed make check for FreeBSD

2005-08-23 Thread Kaffe CVS
PatchSet 6868 
Date: 2005/08/24 02:23:09
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed make check for FreeBSD

2005-08-24  Dalibor Topic  <[EMAIL PROTECTED]>

* Makefile.am: (KAFFELIBRARYPATH) Fixed them again
to work without having GNU findutils.

Reported by:  Ito Kazumitsu <[EMAIL PROTECTED]>,
  Andreas Tobler  <[EMAIL PROTECTED]>

Members: 
ChangeLog:1.4389->1.4390 
Makefile.am:1.95->1.96 
Makefile.in:1.218->1.219 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4389 kaffe/ChangeLog:1.4390
--- kaffe/ChangeLog:1.4389  Mon Aug 22 12:38:34 2005
+++ kaffe/ChangeLog Wed Aug 24 02:23:09 2005
@@ -1,3 +1,11 @@
+2005-08-24  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   * Makefile.am: (KAFFELIBRARYPATH) Fixed them again
+   to work without having GNU findutils.
+
+   Reported by:  Ito Kazumitsu <[EMAIL PROTECTED]>,
+ Andreas Tobler  <[EMAIL PROTECTED]>
+
 2005-08-22  Dalibor Topic  <[EMAIL PROTECTED]>
 
* config/i386/freebsd2/md.c: Include sys/types.h
Index: kaffe/Makefile.am
diff -u kaffe/Makefile.am:1.95 kaffe/Makefile.am:1.96
--- kaffe/Makefile.am:1.95  Sun Aug 21 18:00:53 2005
+++ kaffe/Makefile.am   Wed Aug 24 02:23:12 2005
@@ -165,10 +165,8 @@
 BUILD_ENVIRONMENT-make: Makefile
echo 
BOOTCLASSPATH=\$${BOOTCLASSPATH}\''$(PATHSEP)'\'$(top_builddir)/libraries/javalib/rt.jar\''$(PATHSEP)'\'$(DNSJAVA_JAR)\''$(PATHSEP)'\'\;
 export BOOTCLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g' > 
BUILD_ENVIRONMENT.new; \
echo 
CLASSPATH=.\''$(PATHSEP)'\'\$${GNU_CRYPTO_JAR}\''$(PATHSEP)'\'\$${JAVAX_SECURITY_JAR}\''$(PATHSEP)'\'$(BCEL_JAR)\''$(PATHSEP)'\'$(GNU_CRYPTO_JAR)\''$(PATHSEP)'\'$(JAVAX_SECURITY_JAR)\;
 export CLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g' >> BUILD_ENVIRONMENT.new; 
\
-   echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}`for
 f in $(JAVA_LIBS); do echo "$$f" | sed 's%/[^/]*$$%%' | xargs -n 1 -iXXX echo 
XXX"/.libs"; done | (tr '\012' ' '; echo) | sed -e 's/ $$//' -e "s/ 
/\'$(PATHSEP)\'/g"`\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \
+   echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}$(top_builddir)/libraries/clib/native/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/net/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/io/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/nio/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/zip/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/management/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/security/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/classpath/.libs\;
 export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \
echo JAVA=$(top_builddir)/kaffe/kaffe/kaffe-bin$(EXEEXT)\; export JAVA 
>> BUILD_ENVIRONMENT.new; \
-   echo 
LD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${LD_LIBRARY_PATH}\;
 export LD_LIBRARY_PATH >> BUILD_ENVIRONMENT.new;\
-   echo 
DYLD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${DYLD_LIBRARY_PATH}\;
 export DYLD_LIBRARY_PATH >> BUILD_ENVIRONMENT.new
rm -f BUILD_ENVIRONMENT
mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT
 
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.218 kaffe/Makefile.in:1.219
--- kaffe/Makefile.in:1.218 Sun Aug 21 18:00:53 2005
+++ kaffe/Makefile.in   Wed Aug 24 02:23:12 2005
@@ -994,10 +994,8 @@
 BUILD_ENVIRONMENT-make: Makefile
echo 
BOOTCLASSPATH=\$${BOOTCLASSPATH}\''$(PATHSEP)'\'$(top_builddir)/libraries/javalib/rt.jar\''$(PATHSEP)'\'$(DNSJAVA_JAR)\''$(PATHSEP)'\'\;
 export BOOTCLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g' > 
BUILD_ENVIRONMENT.new; \
echo 
CLASSPATH=.\''$(PATHSEP)'\'\$${GNU_CRYPTO_JAR}\''$(PATHSEP)'\'\$${JAVAX_SECURITY_JAR}\''$(PATHSEP)'\'$(BCEL_JAR)\''$(PATHSEP)'\'$(GNU_CRYPTO_JAR)\''$(PATHSEP)'\'$(JAVAX_SECURITY_JAR)\;
 export CLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g' >> BUILD_ENVIRONMENT.new; 
\
-   echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}`for
 f in $(JAVA_LIBS); do echo "$$f" | sed 's%/[^/]*$$%%' | xargs -n 1 -iXXX echo 
XXX"/.libs"; done | (tr '\012' ' '; echo) | sed -e 's/ $$//' -e "s/ 
/\'$(PATHSEP)\'/g"`\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \
+   echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}$(top_builddir)/libraries/clib/native/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/net/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/io/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/nio/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/zip/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/management/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/security/.libs\''$(PATHSEP)'\'$(top_builddir)/libraries/clib/classpath/.libs\;
 export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \
echo JAVA=$(top_builddir)/kaffe/kaffe/kaffe-bin$(EXE

[kaffe] any news with tomcat useablility?

2005-08-23 Thread mag
Hi!

Do we have any news about any of the following items?

- Backport of the patch which enables kaffe to run with tomcat, with
security switched on.

- Speed problems of cvs head.



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


Re: [kaffe] 1.1.5 port on ARM XScale PXA255 hangs

2005-08-23 Thread Dalibor Topic

Nils Roeder wrote:


now
$ ./kaffe Hello
kaffe starts fine but seems to hang (i.e. not screen output and CTRL-C
needed to exit)

any ideas ?


Hi Nils,

you could try --with-libffi and/or --with-engine=intrp , or, if you want 
to try debugging the problem, see FAQ/FAQ.debugging.


cheers,
dalibor topic

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


[kaffe] 1.1.5 port on ARM XScale PXA255 hangs

2005-08-23 Thread Nils Roeder

Hi all,

i cross-compiled kaffe-1.1.5 to ARM XScale PXA255
(gcc-3.4.3 glibc-2.3.4 binutils-2.15)
and first had this problem

$ ./kaffe Hello
$ Internal error: caught an unexpected exception.
$ Please check your CLASSPATH and your installation.

So i followed some advice from the mainling archive

http://www.kaffe.org/pipermail/kaffe/2005-April/102087.html

and configured kaffe like this

CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar ./configure 
--prefix=$KAFFE_ARM \
--host=arm-linux --build=i686-linux --enable-pure-java-math --enable-gcj 
--enable-xscale --disable-mips2 \
--disable-sound --disable-xmltest --disable-xslttest 
--without-classpath-gtk-awt \
--with-engine=jit --with-jikes="jikes +Pno-shadow +Pno-switchcheck" 
--disable-rpath --with-rt-jar=$KAFFE_JAR/rt.jar



now
$ ./kaffe Hello
kaffe starts fine but seems to hang (i.e. not screen output and CTRL-C
needed to exit)

any ideas ?

Cheers,

 Nils

p.s.
i am not subscribed to the list

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