symbol version for newly added functions in libc

Jilles Tjoelker jilles at stack.nl
Sun Aug 10 16:32:46 UTC 2014


On Mon, Aug 11, 2014 at 01:00:26AM +0900, Hajimu UMEMOTO wrote:
> I'm working on update our stub resolver in libc to the final version
> of libbind.
> This update adds some new functions.
> I see that FBSD_1.4 should be used for 11.0-CURRENT.  However, I have
> a plan to do MFC into 10 and 9.  In this case, which symbol version
> should be used for new functions FBSD_1.2, FBSD_1.3 or FBSD_1.4?

The symbol version used for the new functions in the stable branches
should be the same as in -current. This ensures that an executable built
on a stable branch will work on -current.

It is currently an accepted side effect that symbol versioning will
usually accept an executable from a newer version of FreeBSD, only
failing if and when an unimplemented symbol is needed.

-- 
Jilles Tjoelker


More information about the freebsd-hackers mailing list