[kaffe] OpenBSD i386 undefined trampoline symbol error at runtime

Greg Wooledge greg@wooledge.org
Wed May 7 18:00:01 2003


--uWAbeGC4mMoqIxdF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Greg Wooledge (greg@wooledge.org) wrote:

> Actually, it seems I spoke too quickly in my previous message.
> Kaffe compiled OK, and built the class library, and "gmake install"
> went almost smoothly(*).  But when I attempt to run it, I get this:
>=20
> $ java -version
> /usr/libexec/ld.so: Undefined symbol "_i386_do_fixup_trampoline" in kaffe=
-bin:/usr/local/kaffe/jre/lib/i386/libkaffevm.so.0.0

Additional information: it only succeeds in building the class library
because it's using the old installed Kaffe in /usr/local/kaffe.  If
I remove that before doing a clean build of today's CVS Kaffe, then
it aborts with the same message during the class library build.  To
be precise:

gmake[1]: Entering directory `/usr/local/src/kaffe/libraries/javalib'
rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from @essential.files using  /usr/local/src/kaffe/kaffe/k=
affe/kaffe-bin -verbosegc at.dms.kjc.Main
/usr/libexec/ld.so: Undefined symbol "_i386_do_fixup_trampoline" in lt-kaff=
e-bin:/usr/local/src/kaffe/kaffe/kaffe/../kaffevm/.libs/libkaffevm.so.0.0

# nm /usr/local/src/kaffe/kaffe/kaffevm/.libs/libkaffevm.so.0.0 | grep tramp
000256e0 T _soft_fixup_trampoline
00041dc4 T i386_do_fixup_trampoline

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--uWAbeGC4mMoqIxdF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+uayakAkqAYpL9t8RAlTjAJ9cYHsE1CEYhUIOxobXUOSAY4rF5wCdGWSM
jVRzdTvRaeq+caopf22Xh9o=
=Lvid
-----END PGP SIGNATURE-----

--uWAbeGC4mMoqIxdF--