Re: [kaffe] MIPS/IRIX report (be prepared, be scared)

2005-02-08 Thread Dalibor Topic
Riccardo wrote:
Hey,
I finally got an up-to-date environment on MIPS  IRIX running, I 
compile kaffe with gcc 3.4 now. ANd I have jikes 1.22

make checks reports an asotinishing
136 of 147 tests failed using jthread and interpreter.
the internal jitBasic passes
HelloWorldApp.class.save passes
but helloWorldApp.java not :)
some other tests that pass are TestFloatDOuble  and ExceptionTest, the 
rest is a desaster.

the reason of filure is the long-known:
more HelloWorldApp.fail 
Assertion failed: EX, file ../../../../kaffe/kaffe/kaffevm/kaffe-gc/gc-
mem.c, li
ne 382
Interesting.
Coul you give pthreads a try?
cheers,
dalibor topic
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] unable to install kaffe 1.0.7 on Redhat 8

2005-02-08 Thread Nirav Panchal
hi.

while trying to install kaffe 1.0.7 on my machine (Redhat 8) i am getting
the following error.
after executing ./configure anfd going for make i got the following :

[EMAIL PROTECTED] kaffe-1.0.7]# make
Making all in .
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7'
make top_srcdir=`cd . /dev/null; pwd` \
top_builddir=`cd . /dev/null; pwd` \
DEBUG_ENV= BUILD_ENVIRONMENT-make
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7'
echo
CLASSPATH=\${CLASSPATH-.}\'':'\'/root/nirav/research/kaffe-1.0.7/libraries/javalib/Klasses.jar\'':'\'/root/nirav/research/kaffe-1.0.7/libraries/javalib/kjc.jar\;
export CLASSPATH | sed 's,/,/,g;s,\\,,g'  BUILD_ENVIRONMENT.new; \
echo
KAFFELIBRARYPATH=\${KAFFELIBRARYPATH+\\$KAFFELIBRARYPATH\\'':'\'}`for f
in /root/nirav/research/kaffe-1.0.7/libraries/clib/native/libnative.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/net/libnet.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/io/libio.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/zip/libzip.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/math/libmath.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/management/libmanagement.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/security/libsecurity.la
/root/nirav/research/kaffe-1.0.7/libraries/extensions/microsoft/clib/libmicrosoft.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/awt/X/libawt.la  ; do echo
$f | sed 's%/[^/]*$%%'; done | (tr '\012' ' '; echo) | sed -e 's/ $//'
-e s/ /\':\'/g`\; export KAFFELIBRARYPATH  BUILD_ENVIRONMENT.new; \
echo JAVA=/root/nirav/research/kaffe-1.0.7/kaffe/kaffe/kaffe-bin\; export
JAVA  BUILD_ENVIRONMENT.new
rm -f BUILD_ENVIRONMENT
mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7'
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7'
Making all in config
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ./i386/linux/md.h md.h stamp-h02
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ../config/i386/linux/jit3-md.h jit-md.h
stamp-h01
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7/config'
Making all in include
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7/include'
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7/kaffe/kaffeh'
/bin/sh ../../config/regen-forward ./../kaffevm/inflate.c inflate.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH  -DKVER='1.0.7'
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
-Wstrict-prototypes -c inflate.c
cc1: warning: changing search order for system directory /usr/local/include
cc1: warning:   as it has already been specified as a non-system directory
In file included from inflate.c:1:
../kaffevm/inflate.c: In function `inflate_codes':
../kaffevm/inflate.c:184: warning: implicit declaration of function `memcpy'
../kaffevm/inflate.c: In function `huft_build':
../kaffevm/inflate.c:660: warning: implicit declaration of function `memset'
/bin/sh ../../config/regen-forward ./../kaffevm/jar.c jar.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH  -DKVER='1.0.7'
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
-Wstrict-prototypes -c jar.c
cc1: warning: changing search order for system directory /usr/local/include
cc1: warning:   as it has already been specified as a non-system directory
In file included from jar.c:1:
../kaffevm/jar.c: In function `jar_read':
../kaffevm/jar.c:34: warning: implicit declaration of function `memcpy'
../kaffevm/jar.c:45: warning: implicit declaration of function `strerror'
In file included from jar.c:1:
../kaffevm/jar.c: In function `openJarFile':
../kaffevm/jar.c:224: `O_RDONLY' undeclared (first use in this function)
../kaffevm/jar.c:224: (Each undeclared identifier is reported only once
../kaffevm/jar.c:224: for each function it appears in.)
../kaffevm/jar.c: In function `lookupJarFile':
../kaffevm/jar.c:266: warning: implicit declaration of function `strcmp'
make[2]: *** [jar.o] Error 1
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7/include'
make: *** [all-recursive] Error 1




Plese help.


Thanx  Regards,
Nirav Panchal,
200311023.



___
kaffe mailing list
kaffe@kaffe.org

[kaffe] unable to install kaffe 1.0.7 on Redhat 8

2005-02-08 Thread Nirav Panchal
hi.

while trying to install kaffe 1.0.7 on my machine (Redhat 8) i am getting
the following error.
after executing ./configure anfd going for make i got the following :

[EMAIL PROTECTED] kaffe-1.0.7]# make
Making all in .
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7'
make top_srcdir=`cd . /dev/null; pwd` \
top_builddir=`cd . /dev/null; pwd` \
DEBUG_ENV= BUILD_ENVIRONMENT-make
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7'
echo
CLASSPATH=\${CLASSPATH-.}\'':'\'/root/nirav/research/kaffe-1.0.7/libraries/javalib/Klasses.jar\'':'\'/root/nirav/research/kaffe-1.0.7/libraries/javalib/kjc.jar\;
export CLASSPATH | sed 's,/,/,g;s,\\,,g'  BUILD_ENVIRONMENT.new; \
echo
KAFFELIBRARYPATH=\${KAFFELIBRARYPATH+\\$KAFFELIBRARYPATH\\'':'\'}`for f
in /root/nirav/research/kaffe-1.0.7/libraries/clib/native/libnative.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/net/libnet.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/io/libio.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/zip/libzip.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/math/libmath.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/management/libmanagement.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/security/libsecurity.la
/root/nirav/research/kaffe-1.0.7/libraries/extensions/microsoft/clib/libmicrosoft.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/awt/X/libawt.la  ; do echo
$f | sed 's%/[^/]*$%%'; done | (tr '\012' ' '; echo) | sed -e 's/ $//'
-e s/ /\':\'/g`\; export KAFFELIBRARYPATH  BUILD_ENVIRONMENT.new; \
echo JAVA=/root/nirav/research/kaffe-1.0.7/kaffe/kaffe/kaffe-bin\; export
JAVA  BUILD_ENVIRONMENT.new
rm -f BUILD_ENVIRONMENT
mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7'
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7'
Making all in config
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ./i386/linux/md.h md.h stamp-h02
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ../config/i386/linux/jit3-md.h jit-md.h
stamp-h01
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7/config'
Making all in include
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7/include'
make[2]: Entering directory `/root/nirav/research/kaffe-1.0.7/kaffe/kaffeh'
/bin/sh ../../config/regen-forward ./../kaffevm/inflate.c inflate.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH  -DKVER='1.0.7'
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
-Wstrict-prototypes -c inflate.c
cc1: warning: changing search order for system directory /usr/local/include
cc1: warning:   as it has already been specified as a non-system directory
In file included from inflate.c:1:
../kaffevm/inflate.c: In function `inflate_codes':
../kaffevm/inflate.c:184: warning: implicit declaration of function `memcpy'
../kaffevm/inflate.c: In function `huft_build':
../kaffevm/inflate.c:660: warning: implicit declaration of function `memset'
/bin/sh ../../config/regen-forward ./../kaffevm/jar.c jar.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH  -DKVER='1.0.7'
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
-Wstrict-prototypes -c jar.c
cc1: warning: changing search order for system directory /usr/local/include
cc1: warning:   as it has already been specified as a non-system directory
In file included from jar.c:1:
../kaffevm/jar.c: In function `jar_read':
../kaffevm/jar.c:34: warning: implicit declaration of function `memcpy'
../kaffevm/jar.c:45: warning: implicit declaration of function `strerror'
In file included from jar.c:1:
../kaffevm/jar.c: In function `openJarFile':
../kaffevm/jar.c:224: `O_RDONLY' undeclared (first use in this function)
../kaffevm/jar.c:224: (Each undeclared identifier is reported only once
../kaffevm/jar.c:224: for each function it appears in.)
../kaffevm/jar.c: In function `lookupJarFile':
../kaffevm/jar.c:266: warning: implicit declaration of function `strcmp'
make[2]: *** [jar.o] Error 1
make[2]: Leaving directory `/root/nirav/research/kaffe-1.0.7/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7/include'
make: *** [all-recursive] Error 1




Plese help.


Thanx  Regards,
Nirav Panchal,
200311023.



___
kaffe mailing list
kaffe@kaffe.org

[kaffe] Re: (no subject)

2005-02-08 Thread Dalibor Topic
asutosh gopinath asutosh.gopinath at lycos.com writes:

 Is it possible to download latest kaffe source without using CVS 
 in tar.gz form? Is any url available for this?

I've put today's make distchecked tarball online at
http://www.kaffe.org/~robilad/kaffe-1.1.x-cvs.tar.gz

cheers,
dalibor topic


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


Re: [kaffe] undefined reference to `pthread_...

2005-02-08 Thread Ito Kazumitsu

 : == Ito Kazumitsu [EMAIL PROTECTED] writes:

: Make on FreeBSD 5.3-RELEASE failed today:

: FreeBSD's pthread requires the gcc flag -pthread for linking.
: 
: Seeing the output from make, I found -pthread set for gcc compiling
: indivisual C programs, but not for the gcc -o .libs/kaffe-bin.

As a workaround,  I set the environment variable CC=gcc -pthread,
and it went well.

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


Re: [kaffe] possible gpl violation in kjc.jar

2005-02-08 Thread Dalibor Topic
Dalibor Topic wrote:
Dalibor Topic wrote:
a) removing kjc.jar from CVS in order to stop its distribution as it is
b1) ask copyright holders (DMS) of Kjc for explicit permission to 
redistribute kjc again
b2) merge in kjc cvs module with our patches into kaffe's cvs module

I've done a and b1, I'll hack on the build system changes now.
I've received[1] word back from Thomas Graf from DMS, and got permission 
to quote his mail.

I might not have understood your question, but, as far as I understand,
you don't need my permission to include the source code of KJC in Kaffe
- this is covered by the GPL. However, if you prefer, I hereby give you
the permission explicitely.
So b1 is now done, we've got a permission to include kjc into kaffe.
There are more good news:
We will put some manpower in the next weeks to make official KJC work
again with Kaffe. This will eliminate the need to keep a separate copy
of the source code and to resync the source trees. On the other hand,
someone must then include KJC as a package on its own into Debian.
So we may not need to explicitely include kjc into Kaffe, as it would 
work out of the box with it. I'll temporarily switch the javac script in 
the scripts directory to wrap around the jikes binary detected by 
configure for 1.1.5 [2]. After 1.1.5, we should consider adding kaffe 
support to Thomas Fitzsimmons gcj java wrapper, or splitting the 'tools' 
package off to wrap kjc 'from the source', jikes, ecj, gcjx, etc.

I've told Thomas about Arnaud's ongoing effort to package kjc into 
Debian. Thomas was also interested whether there was a description of 
the patches in kaffe's kjc module, which bugs they fixed and the tests 
cases, so I'm ccing Ito and Guilhem on that.

Thomas closed with
Thank you for your work on Kaffe and free Java. so I'm relaying that 
message over to you, the great Kaffe hacker, tester, packager and user 
community.[3]

cheers,
dalibor topic
[1] It seems that his mail to my kaffe.org address got lost, so it took 
a few more days than expected to get in touch with me via my yahoo address.

[2] It's coming up soon, it should be released before FOSDEM. Make 
distcheck is now fixed, the task list from my side looks like this:
* wrap jikes as javac for this release, wrap multiple compilers later
* Add -pthreads back to CFLAGS for freebsd
* Fix cross-compilation issues with configure
* Scale the warnings back to -Wall for release to aid packagers and 
porters in detecting the serious problems and fixing them (gb complained 
about that). The current excessive warning flood by setting almost every 
gcc warning flood gives a worse impression of Kaffe's quality of code 
atm and drowns out the significant warnings from the less significant 
ones. Let's fix the few remaining -Wall warnings first, and then attack 
the others. I've got ~ 20 to go on powerpc-linux-intrp with gcc 3.4. :)
* Merge in Arnaud's work on man pages in Debian
* Finish rmic fixes for lucene
* Find out what broke ant's bootstrap
* Merge in Classpath's fix for the broken LocaleInformation files when 
it arrives
* think hard about merging in gcjwebplugin
* possibly merge in java,util.zip from gcj, and some smaller pieces from 
GNU Classpath (Double, Float, Math).

[3] See you at FOSDEM's Classpath track 
http://www.fosdem.org/2005/index/dev_room_classpath

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


[kaffe] CVS kaffe (robilad): Fix for FreeBSD -pthread problems

2005-02-08 Thread Kaffe CVS
PatchSet 5505 
Date: 2005/02/08 19:33:56
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fix for FreeBSD -pthread problems

2005-02-08  Dalibor Topic  [EMAIL PROTECTED]

* configure.ac: Added PTHREAD_CFLAGS to CFLAGS back.
That fixes FreeBSD again. 'make CFLAGS=-Wall' still works now,
though.

* kaffe/kaffevm/Makefile.am (libkaffevm_la_LDFLAGS):
Added PTHREAD_CFLAGS.

* kaffe/kaffevm/systems/unix-pthreads/Makefile.am 
(libkthread_la_LDFLAGS):
Added PTHREAD_CFLAGS.

Reported by:  Ito Kazumitsu  [EMAIL PROTECTED]

Members: 
ChangeLog:1.3549-1.3550 
configure:1.421-1.422 
configure.ac:1.111-1.112 
kaffe/kaffevm/Makefile.am:1.72-1.73 
kaffe/kaffevm/Makefile.in:1.191-1.192 
kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.12-1.13 
kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.104-1.105 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3549 kaffe/ChangeLog:1.3550
--- kaffe/ChangeLog:1.3549  Tue Feb  8 06:41:24 2005
+++ kaffe/ChangeLog Tue Feb  8 19:33:56 2005
@@ -1,3 +1,17 @@
+2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
+
+* configure.ac: Added PTHREAD_CFLAGS to CFLAGS back. 
+   That fixes FreeBSD again. 'make CFLAGS=-Wall' still works now,
+   though.
+
+   * kaffe/kaffevm/Makefile.am (libkaffevm_la_LDFLAGS):
+   Added PTHREAD_CFLAGS.
+
+   * kaffe/kaffevm/systems/unix-pthreads/Makefile.am 
(libkthread_la_LDFLAGS):
+   Added PTHREAD_CFLAGS.
+
+   Reported by:  Ito Kazumitsu  [EMAIL PROTECTED]
+
 2005-02-08  Jim Huang  [EMAIL PROTECTED]
 
* WHATSNEW: Add some successes.
Index: kaffe/configure
diff -u kaffe/configure:1.421 kaffe/configure:1.422
--- kaffe/configure:1.421   Tue Feb  8 00:15:01 2005
+++ kaffe/configure Tue Feb  8 19:33:59 2005
@@ -28174,6 +28174,7 @@
 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 if test x$acx_pthread_ok = xyes; then
 THREADLIBS=$PTHREAD_LIBS 
+CFLAGS=$CFLAGS $PTHREAD_CFLAGS
  CC=$PTHREAD_CC
 :
 else
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.111 kaffe/configure.ac:1.112
--- kaffe/configure.ac:1.111Tue Feb  8 00:15:11 2005
+++ kaffe/configure.ac  Tue Feb  8 19:34:04 2005
@@ -667,6 +667,7 @@
 dnl Check for thread libraries
 if test x$with_threads = xunix-pthreads ; then
ACX_PTHREAD([THREADLIBS=$PTHREAD_LIBS 
+CFLAGS=$CFLAGS $PTHREAD_CFLAGS
  CC=$PTHREAD_CC])
AC_CHECK_LIB(semaphore,sem_init,SEMAPHORE_LIB=-lsemaphore)
AC_SUBST(SEMAPHORE_LIB)
Index: kaffe/kaffe/kaffevm/Makefile.am
diff -u kaffe/kaffe/kaffevm/Makefile.am:1.72 
kaffe/kaffe/kaffevm/Makefile.am:1.73
--- kaffe/kaffe/kaffevm/Makefile.am:1.72Sat Feb  5 23:31:03 2005
+++ kaffe/kaffe/kaffevm/Makefile.am Tue Feb  8 19:34:05 2005
@@ -49,6 +49,7 @@
$(PTHREAD_CFLAGS)
 
 libkaffevm_la_LDFLAGS = \
+   $(PTHREAD_CFLAGS) \
 $(PTHREAD_LIBS) \
 $(SEMAPHORE_LIB) \
$(KVMLIBFLAGS) \
Index: kaffe/kaffe/kaffevm/Makefile.in
diff -u kaffe/kaffe/kaffevm/Makefile.in:1.191 
kaffe/kaffe/kaffevm/Makefile.in:1.192
--- kaffe/kaffe/kaffevm/Makefile.in:1.191   Mon Feb  7 15:47:00 2005
+++ kaffe/kaffe/kaffevm/Makefile.in Tue Feb  8 19:34:05 2005
@@ -447,6 +447,7 @@
$(PTHREAD_CFLAGS)
 
 libkaffevm_la_LDFLAGS = \
+   $(PTHREAD_CFLAGS) \
 $(PTHREAD_LIBS) \
 $(SEMAPHORE_LIB) \
$(KVMLIBFLAGS) \
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.12 
kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.13
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.12  Sat Feb  5 
19:42:11 2005
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am   Tue Feb  8 
19:34:06 2005
@@ -16,6 +16,7 @@
 
 libkthread_la_LDFLAGS = \
$(KVMLIBFLAGS) \
+   $(PTHREAD_CFLAGS) \
$(PTHREAD_LIBS) \
$(SEMAPHORE_LIB)
 
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.104 
kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.105
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.104 Mon Feb  7 
15:47:06 2005
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in   Tue Feb  8 
19:34:06 2005
@@ -377,6 +377,7 @@
 
 libkthread_la_LDFLAGS = \
$(KVMLIBFLAGS) \
+   $(PTHREAD_CFLAGS) \
$(PTHREAD_LIBS) \
$(SEMAPHORE_LIB)
 

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


[kaffe] CVS kaffe (robilad): Cleaned up scripts

2005-02-08 Thread Kaffe CVS
PatchSet 5506 
Date: 2005/02/08 21:14:11
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Cleaned up scripts

2005-02-08  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/scripts/javac.in,
kaffe/scripts/javakey.in,
kaffe/scripts/jdb.in,
kaffe/scripts/kjc.in,
kaffe/scripts/kopi.in:
Removed unused scripts or scripts using sun.* classes.

* kaffe/scripts/Makefile.am,
configure.ac: Removed the deleted files.

Members: 
ChangeLog:1.3550-1.3551 
configure:1.422-1.423 
configure.ac:1.112-1.113 
kaffe/scripts/Makefile.am:1.11-1.12 
kaffe/scripts/Makefile.in:1.164-1.165 
kaffe/scripts/javac.in:1.4-1.5(DEAD) 
kaffe/scripts/javakey.in:1.4-1.5(DEAD) 
kaffe/scripts/jdb.in:1.4-1.5(DEAD) 
kaffe/scripts/kjc.in:1.2-1.3(DEAD) 
kaffe/scripts/kopi.in:1.2-1.3(DEAD) 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3550 kaffe/ChangeLog:1.3551
--- kaffe/ChangeLog:1.3550  Tue Feb  8 19:33:56 2005
+++ kaffe/ChangeLog Tue Feb  8 21:14:11 2005
@@ -1,5 +1,17 @@
 2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
 
+   * kaffe/scripts/javac.in,
+   kaffe/scripts/javakey.in,
+   kaffe/scripts/jdb.in,
+   kaffe/scripts/kjc.in,
+   kaffe/scripts/kopi.in:
+   Removed unused scripts or scripts using sun.* classes.
+
+   * kaffe/scripts/Makefile.am,
+   configure.ac: Removed the deleted files.
+
+2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
+
 * configure.ac: Added PTHREAD_CFLAGS to CFLAGS back. 
That fixes FreeBSD again. 'make CFLAGS=-Wall' still works now,
though.
Index: kaffe/configure
diff -u kaffe/configure:1.422 kaffe/configure:1.423
--- kaffe/configure:1.422   Tue Feb  8 19:33:59 2005
+++ kaffe/configure Tue Feb  8 21:14:12 2005
@@ -59177,22 +59177,12 @@
 
   ac_config_files=$ac_config_files kaffe/scripts/kaffexprof
 
-  ac_config_files=$ac_config_files kaffe/scripts/javac
-
-  ac_config_files=$ac_config_files kaffe/scripts/javakey
-
   ac_config_files=$ac_config_files kaffe/scripts/jar
 
   ac_config_files=$ac_config_files kaffe/scripts/javah
 
   ac_config_files=$ac_config_files kaffe/scripts/javap
 
-  ac_config_files=$ac_config_files kaffe/scripts/jdb
-
-  ac_config_files=$ac_config_files kaffe/scripts/kjc
-
-  ac_config_files=$ac_config_files kaffe/scripts/kopi
-
   ac_config_files=$ac_config_files kaffe/scripts/javadoc
 
   ac_config_files=$ac_config_files kaffe/scripts/appletviewer
@@ -60081,14 +60071,9 @@
   kaffe/scripts/install-jar ) CONFIG_FILES=$CONFIG_FILES 
kaffe/scripts/install-jar ;;
   kaffe/scripts/kaffe ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/kaffe ;;
   kaffe/scripts/kaffexprof ) CONFIG_FILES=$CONFIG_FILES 
kaffe/scripts/kaffexprof ;;
-  kaffe/scripts/javac ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/javac ;;
-  kaffe/scripts/javakey ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/javakey 
;;
   kaffe/scripts/jar ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/jar ;;
   kaffe/scripts/javah ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/javah ;;
   kaffe/scripts/javap ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/javap ;;
-  kaffe/scripts/jdb ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/jdb ;;
-  kaffe/scripts/kjc ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/kjc ;;
-  kaffe/scripts/kopi ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/kopi ;;
   kaffe/scripts/javadoc ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/javadoc 
;;
   kaffe/scripts/appletviewer ) CONFIG_FILES=$CONFIG_FILES 
kaffe/scripts/appletviewer ;;
   kaffe/scripts/rmic ) CONFIG_FILES=$CONFIG_FILES kaffe/scripts/rmic ;;
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.112 kaffe/configure.ac:1.113
--- kaffe/configure.ac:1.112Tue Feb  8 19:34:04 2005
+++ kaffe/configure.ac  Tue Feb  8 21:14:19 2005
@@ -2264,14 +2264,9 @@
 AC_CONFIG_FILES([kaffe/scripts/install-jar])
 AC_CONFIG_FILES([kaffe/scripts/kaffe])
 AC_CONFIG_FILES([kaffe/scripts/kaffexprof])
-AC_CONFIG_FILES([kaffe/scripts/javac])
-AC_CONFIG_FILES([kaffe/scripts/javakey])
 AC_CONFIG_FILES([kaffe/scripts/jar])
 AC_CONFIG_FILES([kaffe/scripts/javah])
 AC_CONFIG_FILES([kaffe/scripts/javap])
-AC_CONFIG_FILES([kaffe/scripts/jdb])
-AC_CONFIG_FILES([kaffe/scripts/kjc])
-AC_CONFIG_FILES([kaffe/scripts/kopi])
 AC_CONFIG_FILES([kaffe/scripts/javadoc])
 AC_CONFIG_FILES([kaffe/scripts/appletviewer])
 AC_CONFIG_FILES([kaffe/scripts/rmic])
Index: kaffe/kaffe/scripts/Makefile.am
diff -u kaffe/kaffe/scripts/Makefile.am:1.11 
kaffe/kaffe/scripts/Makefile.am:1.12
--- kaffe/kaffe/scripts/Makefile.am:1.11Thu Jul 22 19:03:50 2004
+++ kaffe/kaffe/scripts/Makefile.am Tue Feb  8 21:14:20 2005
@@ -10,11 +10,8 @@
 
 EXTRA_DIST = nm2as.awk
 
-SCRIPTFILES_KJC=\
-   kjc kopi
-
 SCRIPTFILES_SUN=\
-   jar javah javakey javap jdb \
+   jar javah javap \
native2ascii rmic serialver
 
 if 

[kaffe] CVS kaffe (robilad): Slimming down the configure script

2005-02-08 Thread Kaffe CVS
PatchSet 5507 
Date: 2005/02/08 21:55:09
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Slimming down the configure script

2005-02-08  Dalibor Topic  [EMAIL PROTECTED]

* configure.ac: Use a single AC_CHECK_HEADERS macro
to reduce the bloat in the configure script.

Members: 
ChangeLog:1.3551-1.3552 
configure:1.423-1.424 
configure.ac:1.113-1.114 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3551 kaffe/ChangeLog:1.3552
--- kaffe/ChangeLog:1.3551  Tue Feb  8 21:14:11 2005
+++ kaffe/ChangeLog Tue Feb  8 21:55:09 2005
@@ -1,5 +1,10 @@
 2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
 
+   * configure.ac: Use a single AC_CHECK_HEADERS macro
+   to reduce the bloat in the configure script.
+
+2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
+
* kaffe/scripts/javac.in,
kaffe/scripts/javakey.in,
kaffe/scripts/jdb.in,
Index: kaffe/configure
diff -u kaffe/configure:1.423 kaffe/configure:1.424
--- kaffe/configure:1.423   Tue Feb  8 21:14:12 2005
+++ kaffe/configure Tue Feb  8 21:55:10 2005
@@ -33607,157 +33607,104 @@
 fi
 
 
-for ac_header in stdarg.h
-do
-as_ac_Header=`echo ac_cv_header_$ac_header | $as_tr_sh`
-if eval test \\${$as_ac_Header+set}\ = set; then
-  echo $as_me:$LINENO: checking for $ac_header 5
-echo $ECHO_N checking for $ac_header... $ECHO_C 6
-if eval test \\${$as_ac_Header+set}\ = set; then
-  echo $ECHO_N (cached) $ECHO_C 6
-fi
-echo $as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'` 5
-echo ${ECHO_T}`eval echo '${'$as_ac_Header'}'` 6
-else
-  # Is the header compilable?
-echo $as_me:$LINENO: checking $ac_header usability 5
-echo $ECHO_N checking $ac_header usability... $ECHO_C 6
-cat conftest.$ac_ext _ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h conftest.$ac_ext
-cat conftest.$ac_ext _ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include $ac_header
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo $as_me:$LINENO: \$ac_compile\) 5
-  (eval $ac_compile) 2conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 conftest.err
-  rm -f conftest.er1
-  cat conftest.err 5
-  echo $as_me:$LINENO: \$? = $ac_status 5
-  (exit $ac_status); } 
-{ ac_try='test -z $ac_c_werror_flag
-|| test ! -s conftest.err'
-  { (eval echo $as_me:$LINENO: \$ac_try\) 5
-  (eval $ac_try) 25
-  ac_status=$?
-  echo $as_me:$LINENO: \$? = $ac_status 5
-  (exit $ac_status); }; } 
-{ ac_try='test -s conftest.$ac_objext'
-  { (eval echo $as_me:$LINENO: \$ac_try\) 5
-  (eval $ac_try) 25
-  ac_status=$?
-  echo $as_me:$LINENO: \$? = $ac_status 5
-  (exit $ac_status); }; }; then
-  ac_header_compiler=yes
-else
-  echo $as_me: failed program was: 5
-sed 's/^/| /' conftest.$ac_ext 5
 
-ac_header_compiler=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-echo $as_me:$LINENO: result: $ac_header_compiler 5
-echo ${ECHO_T}$ac_header_compiler 6
 
-# Is the header present?
-echo $as_me:$LINENO: checking $ac_header presence 5
-echo $ECHO_N checking $ac_header presence... $ECHO_C 6
-cat conftest.$ac_ext _ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h conftest.$ac_ext
-cat conftest.$ac_ext _ACEOF
-/* end confdefs.h.  */
-#include $ac_header
-_ACEOF
-if { (eval echo $as_me:$LINENO: \$ac_cpp conftest.$ac_ext\) 5
-  (eval $ac_cpp conftest.$ac_ext) 2conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 conftest.err
-  rm -f conftest.er1
-  cat conftest.err 5
-  echo $as_me:$LINENO: \$? = $ac_status 5
-  (exit $ac_status); } /dev/null; then
-  if test -s conftest.err; then
-ac_cpp_err=$ac_c_preproc_warn_flag
-ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z $ac_cpp_err; then
-  ac_header_preproc=yes
-else
-  echo $as_me: failed program was: 5
-sed 's/^/| /' conftest.$ac_ext 5
 
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.$ac_ext
-echo $as_me:$LINENO: result: $ac_header_preproc 5
-echo ${ECHO_T}$ac_header_preproc 6
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-{ echo $as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor! 5
-echo $as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor! 2;}
-{ echo $as_me:$LINENO: WARNING: $ac_header: proceeding with the 
compiler's result 5
-echo $as_me: WARNING: $ac_header: proceeding with the compiler's result 2;}
-ac_header_preproc=yes
-;;
-  no:yes:* )
-{ echo $as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled 5
-echo $as_me: WARNING: $ac_header: present but cannot be compiled 2;}
-{ echo $as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers? 5
-echo $as_me: WARNING: $ac_header: check for missing prerequisite 
headers? 2;}
-{ echo $as_me:$LINENO: WARNING: $ac_header: see the Autoconf 
documentation 5
-echo $as_me: WARNING: $ac_header: see the 

[kaffe] CVS kaffe (robilad): Made javac script use jikes

2005-02-08 Thread Kaffe CVS
PatchSet 5509 
Date: 2005/02/08 23:15:03
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Made javac script use jikes

2005-02-08  Dalibor Topic  [EMAIL PROTECTED]

* kaffe/scripts/compat/javac.in: Switched to use jikes
with correct bootclasspath.

Members: 
ChangeLog:1.3553-1.3554 
kaffe/scripts/compat/javac.in:1.8-1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3553 kaffe/ChangeLog:1.3554
--- kaffe/ChangeLog:1.3553  Tue Feb  8 22:05:15 2005
+++ kaffe/ChangeLog Tue Feb  8 23:15:03 2005
@@ -1,5 +1,10 @@
 2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
 
+   * kaffe/scripts/compat/javac.in: Switched to use jikes
+   with correct bootclasspath.
+
+2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
+
* config/s390/sysdepCallMethod.h: Added missing semicolon.
 
 2005-02-08  Dalibor Topic  [EMAIL PROTECTED]
Index: kaffe/kaffe/scripts/compat/javac.in
diff -u kaffe/kaffe/scripts/compat/javac.in:1.8 
kaffe/kaffe/scripts/compat/javac.in:1.9
--- kaffe/kaffe/scripts/compat/javac.in:1.8 Fri May 21 14:39:33 2004
+++ kaffe/kaffe/scripts/compat/javac.in Tue Feb  8 23:15:07 2005
@@ -1,28 +1,4 @@
 #! /bin/sh
-# We use kjc compiler rather than Sun's.
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
-
-# Ensure that /usr/lib/rt.jar is in the classpath. 
-for opt in ${1+$@}; do 
-if [ x$classpath = xtrue ]; then
-classpath=$opt
-continue
-fi
-if [ $opt = -classpath ]; then
-classpath=true
-continue
-fi
-args=${args} $opt
-done
-if [ x$classpath != x ]; then
-echo $classpath | grep -q ${lib_path}/rt.jar
-if [ $? -eq 1 ]; then
-classpath=${lib_path}/rt.jar:${classpath}
-fi
-args=${args} -classpath $classpath
-fi
-
-exec @bindir@/@kaffe_TRANSF@ $JAVA_OPTS at.dms.kjc.Main $args
+# We use the jikes compiler detected by configure
[EMAIL PROTECTED]@ -bootclasspath  @prefix@/jre/lib/rt.jar ${1+$@}
 exit $?

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