From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123192 invoked by alias); 20 Sep 2017 20:26:50 -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 122722 invoked by uid 89); 20 Sep 2017 20:26:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1200, HContent-Transfer-Encoding:8bit X-Spam-User: qpsmtpd, 2 recipients X-HELO: mailsec104.isp.belgacom.be Received: from mailsec104.isp.belgacom.be (HELO mailsec104.isp.belgacom.be) (195.238.20.100) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Sep 2017 20:26:48 +0000 IronPort-PHdr: =?us-ascii?q?9a23=3AcBy2chGVIpnkoeqr24JmtZ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ76pcm8bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+?= =?us-ascii?q?RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPC?= =?us-ascii?q?TQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhz?= =?us-ascii?q?sGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVCJPH4Oy?= =?us-ascii?q?YZUBAeUDM+ZXs47zqFQB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HTrO8l9zHPG3r?= =?us-ascii?q?E7j1Y6WstPKXGmhqln+gjcGoHGiF6Ul72tdaQBxi7C6HmMzGSUs0FCTgF8S6LF?= =?us-ascii?q?XWoQZhiekdOsw0reU7+vAK9vEQ9G0sPKfqdNadrBkF9bQuv+ft/ZZjT100KxBh?= =?us-ascii?q?aBx7fEUIfwdmYd2zuVXG0FkAAa/HLACQUkCyShpHz2ADFqERTkZEa6taFGpW+h?= =?us-ascii?q?Bmgq0wqKYkti0KT9rgYJn9SCTPIfm6oYomEgrTtzShL19tTaEdeJvEJad6VDaN?= =?us-ascii?q?l1tExM1X3QvSR5P5q9P+Vn2A4dNQNtsBW9+Q9wD9B4kckurWsywUJNILifyU5A?= =?us-ascii?q?eimDlcToOrzTK3Hq8VawYrTRw0zf3cyN0rwM+fI1txPpsVf6RQIZ73x73owNgD?= =?us-ascii?q?On7ZLQAV9XCMqpXw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ATAgDXzcJZ/7fPQ1dcGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBFAEBAQEBAQEBAQEBBwEBAQEBgy8lP24ngypLixSQdi8BlXeCEgo?= =?us-ascii?q?bhSAChGRCFgEBAQEBAQEBAQEBaihCDoFjJAGCQQEFIw8BIyMQCAECDgoCAiYCA?= =?us-ascii?q?jkeBgGKSYlfnWaCJ4p9AQEBAQEFAgElgQ6CHYNThQyIDoJgBaETgi6FL4x6ghN?= =?us-ascii?q?bkA2KA4s3gTkmDiOBDXSGR4E4PjaEGoUIAQEB?= X-IPAS-Result: =?us-ascii?q?A2ATAgDXzcJZ/7fPQ1dcGQEBAQEBAQEBAQEBBwEBAQEBFAE?= =?us-ascii?q?BAQEBAQEBAQEBBwEBAQEBgy8lP24ngypLixSQdi8BlXeCEgobhSAChGRCFgEBA?= =?us-ascii?q?QEBAQEBAQEBaihCDoFjJAGCQQEFIw8BIyMQCAECDgoCAiYCAjkeBgGKSYlfnWa?= =?us-ascii?q?CJ4p9AQEBAQEFAgElgQ6CHYNThQyIDoJgBaETgi6FL4x6ghNbkA2KA4s3gTkmD?= =?us-ascii?q?iOBDXSGR4E4PjaEGoUIAQEB?= Received: from 183.207-67-87.adsl-dyn.isp.belgacom.be (HELO md) ([87.67.207.183]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 20 Sep 2017 22:26:45 +0200 Message-ID: <1505939204.4443.10.camel@skynet.be> Subject: Re: meaning of "Automatic date update in version.in" commits From: Philippe Waroquiers To: Matthias Klose , Mikhail Terekhov , Petr Ovtchenkov , Andreas Schwab Cc: binutils@sourceware.org, Joel Brobecker , gdb@sourceware.org Date: Wed, 20 Sep 2017 20:26:00 -0000 In-Reply-To: <74520278-52b3-582f-84c2-d2b4ad2b6ef4@ubuntu.com> 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> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00064.txt.bz2 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