Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2007 18:28:42 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Vladimir Kushnir <vkushnir@i.kiev.ua>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Something's wrong with ld-elf.so.1 when SYMVER_ENABLED=true
Message-ID:  <20070407182842.28f7d9e9@kan.dnsalias.net>
In-Reply-To: <20070407223046.T7086@kushnir1.kiev.ua>
References:  <20070407223046.T7086@kushnir1.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_NKuDo2Eh9BS_H5gvbdxIHw.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 8 Apr 2007 00:55:49 +0300 (EEST)
Vladimir Kushnir <vkushnir@i.kiev.ua> wrote:

> Hi,
> Here's description. It's amd64-CURRENT. World was rebuilt last night
> (with SYMVER_ENABLED=3Dtrue set in /etc/make.conf long ago). After=20
> re-installation, sudenly everything's falling on its face with
> segfaults, with "pam_rootok.so not found", with "Can't allocate
> initial thread" and so on. After ld-elf.so.1 and ld-elf32.so.1 were
> replaced with old ones (from Jan 27 :-() everything went and still
> goes on with no problems.
>=20
> Indeed, as simple listing (and strings) show, in new (installed =3D>=20
> stripped) ld-elf.so.1 (180 kB) vs old ld-elf.so.1.old (224 kB) lots
> of symbols (like _DYNAMIC or .rtld_start, for one) are just absent.
>=20
> Regards,
> Vladimir
>=20
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"

SYMVER_ENABLED is an experimental feature. I suspect the new code in
rtld somehow prevents it from overriding dummy symbols in libc.
SYMVER_ENABLED changes in rtld are work in progress and until they are
finalized, you are on your own.


--=20
Alexander Kabaev
P.S. "Missing" symbols in rtld are intentional as all not important
symbols are not being suppressed by the symbol map file.

--Sig_NKuDo2Eh9BS_H5gvbdxIHw.
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGGBsaQ6z1jMm+XZYRAvsdAJ0QZk23UBnQ+BByta7/muYoJ7tbIwCdGHDi
zs1TLPcwBT3h33P08x0ZJ3s=
=KVDl
-----END PGP SIGNATURE-----

--Sig_NKuDo2Eh9BS_H5gvbdxIHw.--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070407182842.28f7d9e9>