Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 18:32:44 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Hajimu UMEMOTO <ume@FreeBSD.org>
Cc:        hackers@FreeBSD.org
Subject:   Re: symbol version for newly added functions in libc
Message-ID:  <20140810163243.GB59401@stack.nl>
In-Reply-To: <yge38d4jpwl.wl%ume@FreeBSD.org>
References:  <yge38d4jpwl.wl%ume@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140810163243.GB59401>