Date: Sun, 30 Nov 2008 14:00:22 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: libufs limitation trying to make newfs work on plain files Message-ID: <20081130120022.GH3045@deviant.kiev.zoral.com.ua> In-Reply-To: <20081130115639.GA60027@onelab2.iet.unipi.it> References: <20081130043110.GA48062@onelab2.iet.unipi.it> <20081130105859.GF3045@deviant.kiev.zoral.com.ua> <20081130115639.GA60027@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
--nOM8ykUjac0mNN89 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 30, 2008 at 12:56:39PM +0100, Luigi Rizzo wrote: > On Sun, Nov 30, 2008 at 12:58:59PM +0200, Kostik Belousov wrote: > > On Sun, Nov 30, 2008 at 05:31:10AM +0100, Luigi Rizzo wrote: > > > libufs limitation trying to make newfs work on plain files > ... > > You proposal would introduce incompatibility in the ABI exposed by > > one of the system library. The solution adopted by Linux and (recently) > > by FreeBSD, is to use ELF symbol versioning. It seems that this case > > can be handled by symver. As additional benefit, after your work > > we would got one more symver-ed system library. >=20 > could you point me to an example in freebsd that shows how to > use this feature ? In the FreeBSD src tree, at least libc, libm, libthr and kerberos libraries utilize symver. There is a http://people.freebsd.org/~deischen/symver/freebsd_versioning.txt text that describes intended use os symver in the FreeBSD. You can look at the r175688 for real-world handling of the ABI change (in particular, in the structure definition) using symver. --nOM8ykUjac0mNN89 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkygFUACgkQC3+MBN1Mb4iN0wCgwupzV/+V7z8fKFhWhbQMKQdR rNUAoJ94PwiKJtGSzTHJ27Omef+H5Zct =CO29 -----END PGP SIGNATURE----- --nOM8ykUjac0mNN89--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081130120022.GH3045>