Date: Tue, 27 Jun 2006 22:09:53 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Norikatsu Shigemura <nork@FreeBSD.org> Cc: deischen@FreeBSD.org, Alexander@Leidinger.net, nork@FreeBSD.org, current@FreeBSD.org Subject: Re: Linux-flashplugin7 & rtld - RFC 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> <ygeodwn2fea.wl%ume@mahoroba.org> <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> <Pine.GSO.4.64.0606211204300.23942@sea.ntplx.net> <20060623013106.d4397e26.nork@FreeBSD.org> <Pine.GSO.4.64.0606221244240.427@sea.ntplx.net> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <nork@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]
>=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627220953.24a8e7fe>
