[kaffe] OpenBSD i386 undefined trampoline symbol error at runtime

Greg Wooledge greg@wooledge.org
Wed May 7 16:21:01 2003


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

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:

$ java -version
/usr/libexec/ld.so: Undefined symbol "_i386_do_fixup_trampoline" in kaffe-b=
in:/usr/local/kaffe/jre/lib/i386/libkaffevm.so.0.0


My feeble attempt at tracking it down gets about this far:

# pwd
/usr/local/kaffe/jre/lib/i386
# nm libkaffevm-1.1.x-cvs.so.0.0 | grep trampoline
000256e0 T _soft_fixup_trampoline
00041dc4 T i386_do_fixup_trampoline


Note the absence of a leading "_" in the symbol name in the installed
library.  But I can't find the place where this symbol is used.


(*) There is one warning during the install:

libtool: install: warning: relinking `libtritonusesd.la'
(cd /usr/local/src/kaffe/libraries/extensions/sound/esd; /bin/sh ../../../.=
./libtool --mode=3Drelink gcc -g -O2 -Wall -Wstrict-prototypes -o libtriton=
usesd.la -rpath /usr/local/kaffe/jre/lib/i386 -module -release 1.1.x-cvs -e=
xport-symbols-regex "^([Jj]ava|org)_" org_tritonus_lowlevel_esd_EsdRecordin=
gStream.lo org_tritonus_lowlevel_esd_EsdStream.lo -lesd -L../common -ltrito=
nuscommon -L/usr/local/lib -liconv -R/usr/local/lib )

*** Warning: Linking the shared library libtritonusesd.la against the loada=
ble module
*** libtritonuscommon.so.0.0 is not portable!

But it doesn't seem to be fatal at the moment.

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

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

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

iD8DBQE+uZVHkAkqAYpL9t8RAnRnAJ9Ns+s8Qw7ijkZ0Cjb0bvZV0NmcrgCfY9cq
5KKR12efCAj591sTfR+Jk6k=
=WFJo
-----END PGP SIGNATURE-----

--MzUyxqdXrKJm2YZW--