From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 16 Nov 2009 14:36:59 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20091116113659.GV10659@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <1258101392.3733.55.camel@marsh.altlinux.lan> <200911150336.12883.ledest@gmail.com> <20091115070652.GA15510@mw.office.seiros.ru> <200911152200.02524.ledest@gmail.com> <20091115211443.GR10659@altlinux.org> <20091116000546.GA32432@wo.int.altlinux.org> <20091116004438.GU10659@altlinux.org> <20091116094601.GB15838@newmaster.mivlgu.local> <20091116104828.GB32099@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xbjSOCWVZ1q9zj4g" Content-Disposition: inline In-Reply-To: <20091116104828.GB32099@wo.int.altlinux.org> Subject: Re: [devel] symbols into dependencies X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:37:04 -0000 Archived-At: List-Archive: List-Post: --xbjSOCWVZ1q9zj4g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 16, 2009 at 01:48:28PM +0300, Dmitry V. Levin wrote: > On Mon, Nov 16, 2009 at 12:46:01PM +0300, Sergey Vlasov wrote: > > On Mon, Nov 16, 2009 at 03:44:38AM +0300, Alexey Tourbin wrote: > > > When a symbol is moved to another library, some programs might need > > > relinking, while some might still work. > > >=20 > > > Let's see what happens if a symbol is moved from libA to libB. The > > > programs that use the symbol and linked only to libA go broke, right? > >=20 > > But if libA is linked with libB, the symbol will still be available > > even for such programs. >=20 > Yes, that was exactly the case with the tgetent migration. >=20 > What I want to highlight here is that our upcoming ELF deps should not > break valid symbol migrations. On the other hand, we can simply assume that symbols should not be moved across the libraries. The worst thing that can happen then (if a symbol does move) is that we need to rebuild a bunch of packages, only to relink their binaries and update dependencies. However, note that, as per tgetent, the binaries are actually going to change upon relinking. This indicates that the ABI has changed, too. So the rebuild is not completely useless. --xbjSOCWVZ1q9zj4g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksBOVsACgkQfBKgtDjnu0Yi9gCeKwxzeY8soQoMHoQQaikB3DPR ORoAnj6s7VwihdhiEVe1dXmABmocnpxl =QzWH -----END PGP SIGNATURE----- --xbjSOCWVZ1q9zj4g--