Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2008 13:09:52 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Carl Shapiro <carl.shapiro@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: binary compatibility query
Message-ID:  <481F6990.9010007@elischer.org>
In-Reply-To: <4dcb5abd0805051132o77d68e36u3f0ad38630a02afd@mail.gmail.com>
References:  <4dcb5abd0805050540m292b319aw52aa2cb8ba018e12@mail.gmail.com>	 <481F0DB3.9070505@FreeBSD.org> <481F48EE.3050806@elischer.org>	 <481F4EED.2030300@FreeBSD.org> <4dcb5abd0805051132o77d68e36u3f0ad38630a02afd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Carl Shapiro wrote:
> Kris & Julian
> 
> Thank you for clarifiying the compatibility situation.  This
> information was exactly what I was looking for.
> 
> I have a follow-up question based on this remark...
> 
> On 5/5/08, Kris Kennaway <kris@freebsd.org> wrote:
>>  Actually we don't attempt to keep this form of ABI compatibility (running
>> 6.3 binaries on 6.0, for example), because it basically precludes ever
>> adding new functions to libc within a branch, or new syscalls to the kernel.
>>  You are correct that often binaries will not notice these accumulated
>> changes though, or can be carefully constructed to avoid them.
> 
> If my binary only executes system calls indirectly through libc
> interfaces, as far as libc and libm are concerned, are new symbols the
> only thing I need to worry about?
> 
> Carl


basically if you rely only on the standard posix interfaces and don't
do anything exotic then you will "probably" be safe.

the really safe way of course it to make a 6.0 chroot on your machine 
and compile your app there.





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