From owner-freebsd-current@FreeBSD.ORG Sat Sep 30 12:50:30 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 A2DF616A403 for ; Sat, 30 Sep 2006 12:50:30 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1477343D5A for ; Sat, 30 Sep 2006 12:50:11 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k8UCo1FU083412; Sat, 30 Sep 2006 15:50:03 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.dp.ua (8.13.1/8.13.1/Submit) with ESMTP id k8UCo1xj083397; Sat, 30 Sep 2006 15:50:01 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 30 Sep 2006 15:50:01 +0300 (EEST) From: Dmitry Pryanishnikov To: =?koi8-r?b?6czYxMHSIO7V0snTzMHNz9c=?= In-Reply-To: <200609292126.17694.absorbb@gmail.com> Message-ID: <20060930153727.R17641@atlantis.atlantis.dp.ua> References: <1159546633.1883.4.camel@wbemfkaa.net.xtra-net.be> <451D4B4A.7090602@inode.at> <1159550277.1883.6.camel@wbemfkaa.net.xtra-net.be> <200609292126.17694.absorbb@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-u; format=flowed Content-Transfer-Encoding: 8BIT Cc: freebsd-current@freebsd.org Subject: Re: linux flashplayer plugin status ? 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: Sat, 30 Sep 2006 12:50:31 -0000 Hello! On Fri, 29 Sep 2006, Ильдар Нурисламов wrote: > There is patch (tested on 6.1. May require little changes for 6.2) > apply it and then do "make install clean" in "/usr/src/libexec" > : > > +} > + > +void * > +_dlsym(void *handle, const char *name) > +{ > + return dlsym(handle, name); > } There is a much shorter version which applies cleanly to modern RELENG_6 and works well: --- libexec/rtld-elf/rtld.c.orig Sat Dec 31 00:13:56 2005 +++ libexec/rtld-elf/rtld.c Fri Jun 16 20:57:00 2006 @@ -132,6 +132,8 @@ void r_debug_state(struct r_debug*, struct link_map*); +__weak_reference(dlsym, _dlsym); + /* * Data declarations. */ I don't understand why this simple patch isn't committed yet. But it seems that you've missed the point: it _doesn't_ solve the problem with the linuxpluginwrapper and ELF symbol versioning, which is the CURRENT-only problem. And no, I don't like running Linux-binary browsers w/flash either, because they give confusing look of the local filesystems in the file:// mode (remember how linuxulator maps FS-related Linux requests to the FreeBSD namespace)? And yes, I understand that native browser + linuxpluginwrapper is a hackish way, but we have not other way aroud the problem using native browsers (until we haven't convinced Macromedia to release FreeBSD-native Flash plugin). Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE