From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 10 16:32:46 2014 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 436A3C63; Sun, 10 Aug 2014 16:32:46 +0000 (UTC) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailhost.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B3CB2523; Sun, 10 Aug 2014 16:32:45 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 3D463B8060; Sun, 10 Aug 2014 18:32:44 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 258EA28494; Sun, 10 Aug 2014 18:32:44 +0200 (CEST) Date: Sun, 10 Aug 2014 18:32:44 +0200 From: Jilles Tjoelker To: Hajimu UMEMOTO Subject: Re: symbol version for newly added functions in libc Message-ID: <20140810163243.GB59401@stack.nl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2014 16:32:46 -0000 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