svn commit: r202274 - in head: . include lib/libc/gen libexec/getty

Kostik Belousov kostikbel at gmail.com
Thu Jan 14 09:50:37 UTC 2010


On Thu, Jan 14, 2010 at 10:38:02AM +0100, Ed Schouten wrote:
> * Kostik Belousov <kostikbel at 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.
> 
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20100114/c80ed39c/attachment.pgp


More information about the svn-src-head mailing list