Linux-flashplugin7 & rtld - RFC
Alexander Kabaev
kabaev at gmail.com
Wed Jun 28 02:29:39 UTC 2006
On Sun, 25 Jun 2006 19:14:05 +0900
Norikatsu Shigemura <nork at FreeBSD.org> wrote:
<SKIP>
> 1. Following error should be banished.
> [/lib/libc.so.7: version GLIBC_2.1 required
> by /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so not found]
>
> 1-a. To banish, I think that following code should be fixed at
> check_object_provided_version in
> src/libexec/rtld-elf/rtld.c.
>
> if (vd == NULL) {
> _rtld_error("%s: version %s required by %s
> not defined", depobj->path, vername, refobj->path);
> return (-1);
> }
>
> I tried to remove 'return (-1);', but I don't know
> side-effects.
Nobody will banish anything. _Proper_ pathches to make rtld handle
libmapped libraries more completely are welcome though.
> 1-b. Add GLIBC Version.def to libc/libm/libpthread.
>
> 2. firefox doesn't use libc/libm/libpthread. But wrapper has
> libc/libm/libpthread all codes.
> /etc/libmap.conf -----------------------------------------------
> [firefox-bin]
> libc.so.7 wrapper.so
> libm.so.4 wrapper.so
> libpthread.so.2 wrapper.so
> /etc/libmap.conf -----------------------------------------------
>
> So I think that glibc functions are integrated to
> libc/m/pthread. But above issue will be fixed, I may think that
> separate libraries are good way.
glibc functions integrated into libc/m/pthread will never hit the tree.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060628/942b2c61/signature.pgp
More information about the freebsd-current
mailing list