Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 12:58:29 -0800
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, Andre Oppermann <andre@freebsd.org>, src-committers@freebsd.org
Subject:   Re: svn: head/sys/netinet
Message-ID:  <4EFF7775.8010906@FreeBSD.org>
In-Reply-To: <20111231075227.GX50300@deviant.kiev.zoral.com.ua>
References:  <201110071343.p97Dh1c9013228@svn.freebsd.org> <4EFE0FC1.6070909@FreeBSD.org> <20111230200249.GF12721@FreeBSD.org> <4EFE5481.6050707@FreeBSD.org> <4EFE5665.1070902@FreeBSD.org> <20111231075227.GX50300@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/2011 11:52 PM, Kostik Belousov wrote:
> On Fri, Dec 30, 2011 at 04:25:09PM -0800, Maxim Sobolev wrote:
>> >  On 12/30/2011 4:17 PM, Maxim Sobolev wrote:
>>>> >  >>M>   Won't this break whole lot of third-party software, which expects
>>>> >  >>M>   FreeBSD to be slightly different in this regards? Just curious.
>>>> >  >>
>>>> >  >>Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix
>>>> >  >>this software (at least in ports).
>>>> >  >>
>>>> >  >>The MFC to stable/9 of r226105 was back out.
>>> >  >
>>> >  >Well, I am just curious how critical it is to get it resolved and is
>>> >  >there any way to avoid ABI breakage. Software compiled for 9.x won't run
>>> >  >on 10.x even when fitted with the proper compat libs, as far as I can
>>> >  >tell and not all software can be easily recompiled.
>> >
>> >  P.S. It should be trivial to put some COMPAT_8/COMPAT_9 shims based on
>> >  the version of the ELF image (i.e. detect if the binary is<  than
>> >  FreeBSD 10.
> What exactly do you mean by 'version of the ELF image' ? ABI note tag ?
> What do you propose to do if older call comes from dso, or a library
> statically linked in the main binary ?

Well, 9.x binary would be linked to 9.x library and vice versa. So I 
don't see any problems either way.

[ssp-root@jood1 /home/ssp]$ file /bin/sh
/bin/sh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), 
dynamically linked (uses shared libs), for FreeBSD 8.2 (802510), stripped

Technically yes, 10.x binary can open 9.x DSO and we won't know, but I 
don't think this situation would happen in real life.

-Maxim



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