Can't resolve defined(?) symbol after ELF symbol versioning
Norikatsu Shigemura
nork at FreeBSD.org
Fri Dec 23 21:00:21 PST 2005
Hi rtld masters!
I'm restructuring linuxpluginwraapper by supporting ELF
symbol versioning. I noticed that there are some problems.
1. I'll never try to support Flash6, and I'll support Flash7.
Because Flash6 required some old(2.0.x) freetype2 functions.
I tried to make a compat functions, and noticed that I cannot
care these functions:-(.
*NOTE* This isn't a issue caused by ELF symbol versioning. *NOTE*
2. "T" (the symbol is in the text (code) section) symbol
cannot be resolved like following behavior.
$ firefox /home/nork/Flash/AYB2.swf
LoadPlugin: failed to initialize shared library /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so: Undefined symbol "_ZN12NetworkASyncD1Ev"]
(NOTE)_ZN12NetworkASyncD1Ev = NetworkASync::~NetworkASync()
$ nm -DC /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
(snip)
000677e0 T NetworkASync::~NetworkASync()
(snip)
$ elfdump /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
(snip)
entry: 757
st_name: _ZN12NetworkASyncD1Ev
st_value: 0x677e0
st_size: 33
st_info: STT_FUNC STB_GLOBAL
st_shndx: 10
(snip)
# I trying to test with
$FreeBSD: src/libexec/rtld-elf/rtld.c,v 1.109 2005/12/18 19:43:32 kan Exp $
linux-flashplugin-7.0r61
FreeBSD nadesico.ninth-nine.com 7.0-CURRENT FreeBSD 7.0-CURRENT #68: Wed Dec 21 20:56:36 JST 2005 nork at nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO i386
# New codes are in following place:
http://people.freebsd.org/~nork/LinuxPluginWrapper.tar.bz2
(NOTE) Alpha-- quality codes,
please cd LinuxPluginWrapper/wrappers/browser, and make all install.
How about should I fix?
More information about the freebsd-current
mailing list