From owner-svn-src-head@FreeBSD.ORG Sat Dec 31 20:58:39 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C3F4106564A; Sat, 31 Dec 2011 20:58:39 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail.sippysoft.com (mail.sippysoft.com [4.59.13.245]) by mx1.freebsd.org (Postfix) with ESMTP id 393EF8FC12; Sat, 31 Dec 2011 20:58:39 +0000 (UTC) Received: from s0106005004e13421.vs.shawcable.net ([70.71.175.212] helo=[192.168.1.79]) by mail.sippysoft.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Rh60j-000HDl-RD; Sat, 31 Dec 2011 12:58:38 -0800 Message-ID: <4EFF7775.8010906@FreeBSD.org> Date: Sat, 31 Dec 2011 12:58:29 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Kostik Belousov 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> In-Reply-To: <20111231075227.GX50300@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: sobomax@sippysoft.com X-ssp-trusted: yes Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff , Andre Oppermann , src-committers@freebsd.org Subject: Re: svn: head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 20:58:39 -0000 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