From owner-freebsd-current@FreeBSD.ORG Sat Apr 7 22:55:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58B5E16A400 for ; Sat, 7 Apr 2007 22:55:57 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1529D13C43E for ; Sat, 7 Apr 2007 22:55:56 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1091675wxc for ; Sat, 07 Apr 2007 15:55:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=YwAaM4wvlep/32BHinf6PrUfQ6F3lctmO0ZkszbpN4RnzKsYQmwUCFA0X3n3ClgUnPwxJ86TZ00G8g4PDFFiQBT0IAcSDMf3bgXaH7XpKXefiwSa1a69xIX0J7h8bhzXzBUj6YbqI/GzKxJ/fvJt3VWCNjm8Fr7D6q03JvvVZJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=bO24U0W1jALVL0PJycYle7BmUAvl++amgVGtMsxwy97UXBEMl4omDl1iQEGud52rj/V0egL4TXtOXn/kwSCER9OBcfnmM5o66KlczAok5sMZA5m7E5MiEN0ouis/vLZ5YF3vmHyrA3g2z4W8mxkscAUUJW2weuYX2cfpkFNMNS0= Received: by 10.70.87.9 with SMTP id k9mr7816217wxb.1175984927608; Sat, 07 Apr 2007 15:28:47 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id i34sm7804498wxd.2007.04.07.15.28.46; Sat, 07 Apr 2007 15:28:46 -0700 (PDT) Date: Sat, 7 Apr 2007 18:28:42 -0400 From: Alexander Kabaev To: Vladimir Kushnir Message-ID: <20070407182842.28f7d9e9@kan.dnsalias.net> In-Reply-To: <20070407223046.T7086@kushnir1.kiev.ua> References: <20070407223046.T7086@kushnir1.kiev.ua> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_NKuDo2Eh9BS_H5gvbdxIHw.; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: Re: Something's wrong with ld-elf.so.1 when SYMVER_ENABLED=true 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, 07 Apr 2007 22:55:57 -0000 --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 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.--