Date: Thu, 14 Jan 2010 11:50:30 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Ed Schouten <ed@80386.nl> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r202274 - in head: . include lib/libc/gen libexec/getty Message-ID: <20100114095030.GX62907@deviant.kiev.zoral.com.ua> In-Reply-To: <20100114093802.GZ64905@hoeg.nl> References: <201001140535.o0E5ZWCx038013@svn.freebsd.org> <20100114093044.GW62907@deviant.kiev.zoral.com.ua> <20100114093802.GZ64905@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--wfgmFf0LjPE7xkRl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 14, 2010 at 10:38:02AM +0100, Ed Schouten wrote: > * Kostik Belousov <kostikbel@gmail.com> wrote: > > You should never remove symbol from the version map for shared library. > > Doing that removes one of the reason for having symbol versioning at all > > (namely, pre-execution check that version requirements of the objects > > are satisfied). FreeBSD allows version maps to grow, that makes the > > check weaker then it ought to be. >=20 > Ah, I see. I discussed this with kan@ the other day and I was under the > impression that using __sym_compat() would be sufficient. So you say I > should leave the __sym_compat(), but revert the change to the > Symbol.map? Would that still allow me to use the symbol, but prevent > linkage against it? It should. You can recheck it with readelf/objdump. Symbol shall be exported only with FBSD_1.0 version, and have no default version. --wfgmFf0LjPE7xkRl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktO6OYACgkQC3+MBN1Mb4gvlQCgmPYomvYEN60bDJgRP8kbzD1S LUsAoNbdH0tYdqEjx/vZOBqp2iQeSo3a =ExXY -----END PGP SIGNATURE----- --wfgmFf0LjPE7xkRl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100114095030.GX62907>