[kaffe] OpenBSD i386 undefined trampoline symbol error at runtime

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

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-bin:/usr/local/kaffe/jre/lib/i386/libkaffevm.so.0.0

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

# pwd
# 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=relink gcc -g -O2 -Wall -Wstrict-prototypes -o libtritonusesd.la -rpath /usr/local/kaffe/jre/lib/i386 -module -release 1.1.x-cvs -export-symbols-regex "^([Jj]ava|org)_" org_tritonus_lowlevel_esd_EsdRecordingStream.lo org_tritonus_lowlevel_esd_EsdStream.lo -lesd -L../common -ltritonuscommon -L/usr/local/lib -liconv -R/usr/local/lib )

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

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

Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030507/0b5be057/attachment-0003.pgp 

More information about the kaffe mailing list