From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130610 invoked by alias); 20 Sep 2017 20:31:06 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 130325 invoked by uid 89); 20 Sep 2017 20:30:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=AWL,BAYES_00,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,MIME_CHARSET_FARAWAY,RDNS_DYNAMIC autolearn=no version=3.3.2 spammy=Hx-languages-length:1640, H*M:info, H*F:D*info, HContent-Transfer-Encoding:8bit X-Spam-User: qpsmtpd, 2 recipients X-HELO: void-ptr.info Received: from pppoe.185.44.68.223.lanport.ru (HELO void-ptr.info) (185.44.68.223) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Sep 2017 20:30:51 +0000 Received: from ptr by void-ptr.info with local (Exim 4.72) (envelope-from ) id 1dulds-0002GZ-PR; Wed, 20 Sep 2017 23:30:44 +0300 Date: Wed, 20 Sep 2017 20:31:00 -0000 From: Petr Ovtchenkov To: Philippe Waroquiers Cc: Matthias Klose , Mikhail Terekhov , Andreas Schwab , binutils@sourceware.org, Joel Brobecker , gdb@sourceware.org Subject: Re: meaning of "Automatic date update in version.in" commits Message-ID: <20170920233044.28e14949@void-ptr.info> In-Reply-To: <1505939204.4443.10.camel@skynet.be> References: <20170920173622.28500ccf@void-ptr.info> <87zi9p2vma.fsf@linux-m68k.org> <20170920202354.3c863857@void-ptr.info> <7217d33d-61eb-732e-dfd6-80ef4908743e@ubuntu.com> <218bf365-1f36-3531-b42b-5b48499992ed@dell.com> <7716f103-1abd-a9fe-14e5-cbbe5a62eb01@ubuntu.com> <1505938054.4443.8.camel@skynet.be> <74520278-52b3-582f-84c2-d2b4ad2b6ef4@ubuntu.com> <1505939204.4443.10.camel@skynet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00065.txt.bz2 On Wed, 20 Sep 2017 22:26:44 +0200 Philippe Waroquiers wrote: > On Wed, 2017-09-20 at 22:17 +0200, Matthias Klose wrote: > > On 20.09.2017 22:07, Philippe Waroquiers wrote: > > > On Wed, 2017-09-20 at 21:54 +0200, Matthias Klose wrote: > > > > > > > > > > > > > šššš~/tmp/gdb/binutils-gdb (master)>git log -1 --format=%cd -- > > > > > date=format:%Y%m%d > > > > > šššš20170920 > > > > > > > > > > Then there is no need for additional commit. > > > > > > > > no, you can't assume that git is available for builds. > > > > > > In valgrind, the version.h file is build as part of the dist > > > tarball. > > > And if really someone just takes a copy of the sources beforeš > > > building and/or making the dist tarball, valgrind --version -v > > > will just tell that the git version and date is unknown. > > > > but we are talking here about sonames for development snapshots.ššA > > soname like > > 2.29.50.unknown doesn't change. > > I suppose that a development snapshot tarball will always be done > from a git repository, and so will have the sha1 and date in the > version. > > And if really someone makes a snapshot outside of a git repository, > then the resulting snapshot will not be very precisely identified. > Don't use it :). > > Philippe > Why you forget about From info above follow, that "Automatic date update in version.in" give nothing useful. From datestamps equality not follow ABI compatibility from one side, and from datestamps inequality not follow ABI incompatibility from another side. ? -- - ptr