From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 02:29:39 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 B9F3616A4C9 for ; Wed, 28 Jun 2006 02:29:39 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1894344A5D for ; Wed, 28 Jun 2006 02:10:00 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1785876nzp for ; Tue, 27 Jun 2006 19:09:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=X0zxPac7oruo4sPvN63YMaMn/j12lnLdp81c9GV84805htAEN9rKELkRExpZHnPRWYClKk0HfqKdCJC9L7++MHBnh0PHbyyFi03pBixmKJoZQU3vL2UjbIhKVPkY+hrR95ei7LlM11hN+E2ifYAudEmHJqgnJOfMgmXUE6RlVZ0= Received: by 10.65.84.18 with SMTP id m18mr421844qbl; Tue, 27 Jun 2006 19:09:59 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id f14sm345646qba.2006.06.27.19.09.58; Tue, 27 Jun 2006 19:09:58 -0700 (PDT) Date: Tue, 27 Jun 2006 22:09:53 -0400 From: Alexander Kabaev To: Norikatsu Shigemura Message-ID: <20060627220953.24a8e7fe@kan.dnsalias.net> In-Reply-To: <20060625191405.d0e78240.nork@FreeBSD.org> 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> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_4oAHThvnwabdCvBkqC.I6QH; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Wed, 28 Jun 2006 11:34:50 +0000 Cc: deischen@FreeBSD.org, Alexander@Leidinger.net, nork@FreeBSD.org, 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: Wed, 28 Jun 2006 02:29:39 -0000 --Sig_4oAHThvnwabdCvBkqC.I6QH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 25 Jun 2006 19:14:05 +0900 Norikatsu Shigemura wrote: > 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] >=20 > 1-a. To banish, I think that following code should be fixed at > check_object_provided_version in > src/libexec/rtld-elf/rtld.c. >=20 > if (vd =3D=3D NULL) { > _rtld_error("%s: version %s required by %s > not defined", depobj->path, vername, refobj->path); > return (-1); > } >=20 > 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.=20 > 1-b. Add GLIBC Version.def to libc/libm/libpthread. >=20 > 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 ----------------------------------------------- >=20 > 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. --=20 Alexander Kabaev --Sig_4oAHThvnwabdCvBkqC.I6QH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEoeT1Q6z1jMm+XZYRAsB4AKC9Q70NHS0SEl7lZ10Wb1s+uTa+WQCgqZ1W ZpYtm4+kepURq+xZ3fe+d18= =nlF3 -----END PGP SIGNATURE----- --Sig_4oAHThvnwabdCvBkqC.I6QH--