Date: Wed, 31 Mar 2010 16:25:40 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: d@delphij.net Cc: kan@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Versioned symbols: what can we deal with move between two symbols? Message-ID: <Pine.GSO.4.64.1003311620590.28148@sea.ntplx.net> In-Reply-To: <4BB3AAF1.3080205@delphij.net> References: <4BB3AAF1.3080205@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1003311620590.28148>