From owner-freebsd-current@FreeBSD.ORG Wed Jun 21 08:33:11 2006 Return-Path: X-Original-To: freebsd-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 E419B16A47B; Wed, 21 Jun 2006 08:33:11 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 271A443D64; Wed, 21 Jun 2006 08:33:06 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.7/8.13.7) with ESMTP id k5L8WrwI083695 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 21 Jun 2006 10:32:53 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k5L8Wr8n083694; Wed, 21 Jun 2006 10:32:53 +0200 (CEST) Date: Wed, 21 Jun 2006 10:32:53 +0200 From: Divacky Roman To: Hajimu UMEMOTO Message-ID: <20060621083253.GA83054@stud.fit.vutbr.cz> References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: Rudolf Cejka , Adi Pircalabu , kan@freebsd.org, Ivan Voras , Marcus Alves Grando , freebsd-current@freebsd.org, Dmitry Pryanishnikov 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: Wed, 21 Jun 2006 08:33:12 -0000 On Wed, Jun 21, 2006 at 03:26:21PM +0900, Hajimu UMEMOTO wrote: > Hi, > > >>>>> On Wed, 21 Jun 2006 08:14:37 +0200 > >>>>> Rudolf Cejka said: > > cejkar> I'm not sure, if it is a related problem, but when I unsuccessfully > cejkar> tried to make it work on -current, where another problem with versioning > cejkar> does exist, I have found that there is one problem with /etc/libmap.conf, > cejkar> which makes it seriously "broken": All already loaded shared libs are > cejkar> impossible to remap later. This means that when mozilla is started in > cejkar> 6-stable, it loads our native /lib/libc.so.6, and then there is no chance > cejkar> to remap libc.so.6 for Linux's libflashplayer.so later, needed by > > cejkar> [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] > cejkar> libc.so.6 pluginwrapper/flash7.so > > cejkar> because rtld thinks, that libc.so.6 for libflashplayer.so is already > cejkar> loaded. Does anybody know, if it is ever possible to fix it? > > You can see the following lines in www/linuxpluginwrapper/Makefile: > > .if ${OSVERSION} >= 700009 > IGNORE= doesn't support ELF symbol versioning, yet. > .endif I think this is a reply to Marcus Alves Grando mail saying that its not possible to include the symbol in the library. As Cejka suggests our libmap implementation wont let you overload already loaded libraries. And because now 7-c (6-stable as well) uses the same libc version (.so.6) we're in trouble. roman