[kaffe] [ClassToInterface.class] Segmentation fault

C. Brian Jones cbj@gnu.org
Sun Jan 4 12:57:02 2004


--=-nk4LN51o1JdKuGBIH7XV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2004-01-04 at 10:23, Dalibor Topic wrote:
> Hi Brian,
>=20
> 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).
>=20
> No fix in CVS yet, afaik. Fedora Core 1 seems to be doing something=20
> nasty that breaks our jitters [1]. I've tried to debug it but the Fedora=20
> Core 1 gdb seems to be broken [2] so I didn't get too far.
>=20
> So until a brave Fedora Core using developer manages to fix the jitter,=20
> you'll have to use the interpreter. Configure kaffe with=20
> --with-engine=3Dintrp on your ./configure line, and it should build fine.
>=20
> In any case, the current CVS has seen further improvements in=20
> serialization from Guilhem, so you may want to try it out anyway.
>=20
> cheers,
> dalibor topic
>=20
> [1] Or it's a bug in kaffe's jitters that only shows up on Fedora Core=20
> 1, of all i368-linux distributions ;)
> [2] It failed to show me useable backtraces of anything, since it=20
> coudn't find the source code, or something like that, as far as I=20
> remember. A lot of other things seem to be broken in Fedora Core 1, but=20
> going into it would be a long pointless rant that doesn't belong on the=20
> 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=3Dlink 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  =20
../../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




--=-nk4LN51o1JdKuGBIH7XV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/+HtZcEcmdY33uzYRAmGLAJ96E15jU4cPzIkS7BN1leYv1H4wwQCcCUsg
7e9bouoi5/Mb3pWFrlEJ57s=
=o4do
-----END PGP SIGNATURE-----

--=-nk4LN51o1JdKuGBIH7XV--