Re: Linux-flashplugin7 & rtld - RFC

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Tue, 27 Jun 2006 22:09:53 -0400
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

Received on Wed Jun 28 2006 - 00:29:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC