[kaffe] [ClassToInterface.class] Segmentation fault
C. Brian Jones
cbj at gnu.org
Sun Jan 4 12:57:02 PST 2004
On Sun, 2004-01-04 at 10:23, Dalibor Topic wrote:
> Hi Brian,
>
> C. Brian Jones wrote:
> > Wanted to test serialization using kaffe 1.1.3 but make fails as
> > reported here,
> > http://www.kaffe.org/pipermail/kaffe/2004-January/044814.html. I think
> > a fix might be in CVS, but unsure of whether to try building from CVS...
> > let me know (I'm not on the mailing list).
>
> No fix in CVS yet, afaik. Fedora Core 1 seems to be doing something
> nasty that breaks our jitters [1]. I've tried to debug it but the Fedora
> Core 1 gdb seems to be broken [2] so I didn't get too far.
>
> So until a brave Fedora Core using developer manages to fix the jitter,
> you'll have to use the interpreter. Configure kaffe with
> --with-engine=intrp on your ./configure line, and it should build fine.
>
> In any case, the current CVS has seen further improvements in
> serialization from Guilhem, so you may want to try it out anyway.
>
> cheers,
> dalibor topic
>
> [1] Or it's a bug in kaffe's jitters that only shows up on Fedora Core
> 1, of all i368-linux distributions ;)
> [2] It failed to show me useable backtraces of anything, since it
> coudn't find the source code, or something like that, as far as I
> remember. A lot of other things seem to be broken in Fedora Core 1, but
> going into it would be a long pointless rant that doesn't belong on the
> kaffe mailing list.
Do I need a special version of libtool? This is with the configure
option you mentioned. This is what I currently have from Fedora Core 1.
libtool 1.5
autoconf 2.57
automake 1.7.8
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall
-Wstrict-prototypes -o kaffe-bin -export-dynamic main.o version.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/extensions/sound/esd/libtritonusesd.la -dlopen
../../libraries/clib/management/libmanagement.la -dlopen
../../libraries/clib/security/libsecurity.la -dlopen
../../libraries/clib/awt/X/libawt.la ../kaffevm/libkaffevm.la
../../libltdl/libltdlc.la
rm -f .libs/kaffe-bin.nm .libs/kaffe-bin.nmS .libs/kaffe-bin.nmT
creating .libs/kaffe-binS.c
(cd .libs && gcc -c -fno-builtin "kaffe-binS.c")
rm -f .libs/kaffe-binS.c .libs/kaffe-bin.nm .libs/kaffe-bin.nmS
.libs/kaffe-bin.nmT
gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/kaffe-bin main.o version.o
.libs/kaffe-binS.o -Wl,--export-dynamic ../kaffevm/.libs/libkaffevm.so
-lm ../../libltdl/.libs/libltdlc.a -ldl -Wl,--rpath
-Wl,/usr/local/kaffe/jre/lib/i386
../kaffevm/.libs/libkaffevm.so: undefined reference to `maxStack'
../kaffevm/.libs/libkaffevm.so: undefined reference to `return_float'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`i386_do_fixup_trampoline'
../kaffevm/.libs/libkaffevm.so: undefined reference to `maxLocal'
../kaffevm/.libs/libkaffevm.so: undefined reference to `return_ref'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`popargs_internal'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`_start_sub_block'
../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_ref'
../kaffevm/.libs/libkaffevm.so: undefined reference to `globalMethod'
../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_long'
../kaffevm/.libs/libkaffevm.so: undefined reference to `return_long'
../kaffevm/.libs/libkaffevm.so: undefined reference to `jit_debug'
../kaffevm/.libs/libkaffevm.so: undefined reference to `isStatic'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`finishInsnSequence'
../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_float'
../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_int'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`_start_basic_block'
../kaffevm/.libs/libkaffevm.so: undefined reference to `epilogue'
../kaffevm/.libs/libkaffevm.so: undefined reference to `end_func_sync'
../kaffevm/.libs/libkaffevm.so: undefined reference to `begin_func_sync'
../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_float'
../kaffevm/.libs/libkaffevm.so: undefined reference to `tempinfo'
../kaffevm/.libs/libkaffevm.so: undefined reference to `translate'
../kaffevm/.libs/libkaffevm.so: undefined reference to `resetLabels'
../kaffevm/.libs/libkaffevm.so: undefined reference to `prologue'
../kaffevm/.libs/libkaffevm.so: undefined reference to `maxArgs'
../kaffevm/.libs/libkaffevm.so: undefined reference to `translatorlock'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`installMethodCode'
../kaffevm/.libs/libkaffevm.so: undefined reference to `_end_sub_block'
../kaffevm/.libs/libkaffevm.so: undefined reference to `mon_enter'
../kaffevm/.libs/libkaffevm.so: undefined reference to `return_double'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`returnarg_double'
../kaffevm/.libs/libkaffevm.so: undefined reference to `return_int'
../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_long'
../kaffevm/.libs/libkaffevm.so: undefined reference to `lastuse_slot'
../kaffevm/.libs/libkaffevm.so: undefined reference to `mon_exit'
../kaffevm/.libs/libkaffevm.so: undefined reference to `resetConstants'
../kaffevm/.libs/libkaffevm.so: undefined reference to `maxTemp'
../kaffevm/.libs/libkaffevm.so: undefined reference to `localinfo'
../kaffevm/.libs/libkaffevm.so: undefined reference to `tmpslot'
../kaffevm/.libs/libkaffevm.so: undefined reference to `returnarg_int'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`initInsnSequence'
../kaffevm/.libs/libkaffevm.so: undefined reference to
`pusharg_ref_const'
../kaffevm/.libs/libkaffevm.so: undefined reference to `ret'
../kaffevm/.libs/libkaffevm.so: undefined reference to `call_soft'
../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_double'
../kaffevm/.libs/libkaffevm.so: undefined reference to `pusharg_ref'
collect2: ld returned 1 exit status
make[2]: *** [kaffe-bin] Error 1
make[2]: Leaving directory `/home/cbj/kaffe-1.1.3/kaffe/kaffe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cbj/kaffe-1.1.3/kaffe'
make: *** [all-recursive] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://kaffe.org/pipermail/kaffe/attachments/20040104/281c71cf/attachment-0002.pgp
More information about the kaffe
mailing list