experimental gcj support added to kaffe

Amol Kulkarni akulkarn at usc.edu
Sat Dec 4 19:46:39 PST 1999


Hi,

I've been having the same problem as Pavel. Only in my case I get warnings
about --sjponthrow, and then gcc bails out saying that the size of the
object --sjponthrow has changed from 226 to 237.

giving the --disable-gcj flag had no effect, so I finally ended up
removing  libgcj.la from the Makekile in kaffe/kaffevm (which I'm not sure
was a good thing to do). However it worked. (but maybe I should try
Godmar's suggestion).

However, now I have another problem, this time with jthreads. I think I'm
missing some library. 

But I might have messed up somewhere, so please bear with me since I'm a
newbie. I'd be grateful for your suggestions/comments about this. I'm
including the output below.

Thanks,
Amol


gmake[2]: Entering directory `/home/amol/kaffe/kaffe/kaffe'
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes
-o Kaffe -export-dynamic main.o -dlopen
../../libraries/clib/native/libnative.la -dlopen
../../libraries/clib/net/libnet.la -dlopen
../../libraries/clib/io/libio.la -dlopen
../../libraries/clib/zip/libzip.la -dlopen
../../libraries/clib/math/libmath.la -dlopen
../../libraries/clib/management/libmanagement.la -dlopen
../../libraries/clib/security/libsecurity.la -dlopen
../../libraries/extensions/microsoft/clib/libmicrosoft.la -dlopen
../../libraries/clib/awt/X/libawt.la ../kaffevm/libkaffevm.la
-L/usr/local/lib   -R/usr/local/lib
rm -f .libs/Kaffe.nm .libs/Kaffe.nmS .libs/Kaffe.nmT
creating .libs/KaffeS.c
extracting global C symbols from
`../../libraries/clib/native/.libs/libnative.a'
extracting global C symbols from `../../libraries/clib/zip/.libs/libzip.a'
extracting global C symbols from
`../../libraries/clib/math/.libs/libmath.a'
extracting global C symbols from
`../../libraries/clib/awt/X/.libs/libawt.a'
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "KaffeS.c")
rm -f .libs/KaffeS.c .libs/Kaffe.nm .libs/Kaffe.nmS .libs/Kaffe.nmT
gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/Kaffe main.o .libs/KaffeS.o
-Wl,--export-dynamic ../../libraries/clib/native/.libs/libnative.a -lm
-L/usr/local/lib ../../libraries/clib/zip/.libs/libzip.a -L/usr/local/lib
-lz ../../libraries/clib/math/.libs/libmath.a -L/usr/local/lib -lm
../../libraries/clib/awt/X/.libs/libawt.a -L/usr/local/lib
/usr/lib/libjpeg.so -lpng -lz -lm /usr/lib/libungif.so -L/usr/X11R6/lib
-lX11 -lXext -lSM -lICE ../kaffevm/.libs/libkaffevm.so -ldl
-L/usr/local/lib -lm -L/usr/local/lib -Wl,--rpath -Wl,/home/amol/java/lib
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
../../libraries/clib/native/.libs/libnative.a(UNIXProcess.lo): In function
`Java_kaffe_lang_UNIXProcess_forkAndExec':
/home/amol/kaffe/libraries/clib/native/UNIXProcess.c:117: undefined
reference to `Kaffe_SystemCallInterface'
../../libraries/clib/native/.libs/libnative.a(UNIXProcess.lo): In function
`Java_kaffe_lang_UNIXProcess_destroy':
/home/amol/kaffe/libraries/clib/native/UNIXProcess.c:154: undefined
reference to `Kaffe_SystemCallInterface'
../../libraries/clib/native/.libs/libnative.a(UNIXProcess.lo): In function
`Java_kaffe_lang_UNIXProcess_execWait':
/home/amol/kaffe/libraries/clib/native/UNIXProcess.c:169: undefined
reference to `Kaffe_SystemCallInterface'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`jthread_enable_stop'
../kaffevm/.libs/libkaffevm.so: undefined reference to `jthread_exit'
../kaffevm/.libs/libkaffevm.so: undefined reference to `jthread_interrupt'
../kaffevm/.libs/libkaffevm.so: undefined reference to `jmutex_unlock'

<lots of messages>

collect2: ld returned 1 exit status
gmake[2]: *** [Kaffe] Error 1
gmake[2]: Leaving directory `/home/amol/kaffe/kaffe/kaffe'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/amol/kaffe/kaffe'
gmake: *** [all-recursive] Error 1

 




More information about the kaffe mailing list