Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2016 19:14:02 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Alan Somers <asomers@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  Justin Gibbs <gibbs@freebsd.org>
Subject:   Re: svn commit: r299090 - in head: etc/mtree include lib/libbluetooth sbin/hastd share/man/man3 sys/dev/xen/blkback sys/kern sys/net sys/sys tests/sys tests/sys/sys usr.sbin/bluetooth/hccontrol
Message-ID:  <20160506184035.E1151@besplex.bde.org>
In-Reply-To: <CAOtMX2jiM2LLivzb4JBD=5cbXSLey7GOh7skO1EK3FfHm36tXA@mail.gmail.com>
References:  <201605042234.u44MYBMX054443@repo.freebsd.org> <2368543.Vvp613SNcD@ralph.baldwin.cx> <CAOtMX2jiM2LLivzb4JBD=5cbXSLey7GOh7skO1EK3FfHm36tXA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 May 2016, Alan Somers wrote:

> On Thu, May 5, 2016 at 10:31 AM, John Baldwin <jhb@freebsd.org> wrote:
>
>> On Wednesday, May 04, 2016 10:34:11 PM Alan Somers wrote:
>>> ...
>>> Log:
>>>   Improve performance and functionality of the bitstring(3) api
>> ...
>> Doesn't switching from bytes to longs break the ABI?  That is, setting bit
>> 9
>> ...
>> Is the API is so little used we don't care?
>
> The API isn't used in any shared libraries, so the only risk would be if
> it's used in a user application where the user's build system doesn't check
> for changes in system libraries, and the user upgrades FreeBSD without
> doing a clean build of his application, right?  Am I missing any other
> scenarios?  Do we need to warn users with a line in UPDATING or something?

All scenarios where the binary format is used for data layouts that live
for more than a few microseconds.  Little things like file systems and
networks.

> This is similar to an upgrade of the C++ compiler.  C++ objects built by
> different minor versions of the compiler aren't guaranteed to be compatible.

So C++ is also unsuitable for little things like file systems and networks
:-).

Bruce



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