From owner-freebsd-arch@FreeBSD.ORG Wed Mar 31 20:25:51 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BCEE106564A for ; Wed, 31 Mar 2010 20:25:51 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2C0F98FC19 for ; Wed, 31 Mar 2010 20:25:50 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id o2VKPe5g023152; Wed, 31 Mar 2010 16:25:40 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.2 (mail.netplex.net [204.213.176.10]); Wed, 31 Mar 2010 16:25:40 -0400 (EDT) Date: Wed, 31 Mar 2010 16:25:40 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: d@delphij.net In-Reply-To: <4BB3AAF1.3080205@delphij.net> Message-ID: References: <4BB3AAF1.3080205@delphij.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: kan@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Versioned symbols: what can we deal with move between two symbols? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 20:25:51 -0000 On Wed, 31 Mar 2010, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Assuming that we had: > > Version_1.0 { > MySymbol64; > }; > > Version_private_1.0 { > MySymbol; > }; > > In the past, but now we have: > > Version_1.0 { > MySymbol; > MySymbol64; > }; > > Version_private_1.0 { > }; > > I think this would cause ABI problem. The interfaces are the same to > their previous version, though. > > Is there a way to "promote" the MySymbol from _private_1.0 interface to > _1.0 safely? Anything in FBSDprivate_X namespace is private and NOT part of the ABI. As such, it is allowed to change. Any 3rd party software (why do they call it 3rd party, shouldn't it be 2nd party? ;-)) that uses symbols in the private namespace is not ABI safe. You can move anything out of and into the private namespace, and a buildworld should be all that is necessary to accomodate that change. -- DE