From owner-freebsd-current@FreeBSD.ORG Sun Jul 2 14:34:01 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5076916A5FE; Sun, 2 Jul 2006 14:34:01 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAFB244097; Sun, 2 Jul 2006 14:03:56 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.6/8.13.6/NinthNine) with ESMTP id k62E3tJv095413; Sun, 2 Jul 2006 23:03:56 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 2 Jul 2006 23:03:55 +0900 From: Norikatsu Shigemura To: Alexander Kabaev Message-Id: <20060702230355.3d720352.nork@FreeBSD.org> In-Reply-To: <20060627220953.24a8e7fe@kan.dnsalias.net> References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org> <20060627220953.24a8e7fe@kan.dnsalias.net> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.19; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 02 Jul 2006 23:03:56 +0900 (JST) Cc: deischen@FreeBSD.org, Alexander@Leidinger.net, current@FreeBSD.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 14:34:01 -0000 Eureka!!!! On Tue, 27 Jun 2006 22:09:53 -0400 Alexander Kabaev wrote: > Nobody will banish anything. _Proper_ pathches to make rtld handle > libmapped libraries more completely are welcome though. No more rtld:-). I found a work around. > > 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. I understood that 2 is bad. Because wrapper.so has bad symbols as non-versioning. You can test new Userland Compat Linux Technology[TM:-)]. http://people.freebsd.org/~nork/UserlandCompatLinux-20060702.tar.bz2 /etc/libmap.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] libpthread.so.0 libcompatlinux.so.0 libdl.so.2 libcompatlinux.so.0 libz.so.1 libz.so.3 libm.so.6 libcompatlinux.so.0 libc.so.6 libcompatlinux.so.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - And set you environment value like following: FLASH_GTK_LIBRARY=/usr/X11R6/lib/libgtk-x11-2.0.so.0 And I know a issue, but I cannot fix:-(. Please change 'catalogue' line: /usr/X11R6/lib/X11/fs/config - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please see also: readelf -Ws libcompatlinux.so.0