This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: meaning of "Automatic date update in version.in" commits
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: Matthias Klose <doko at ubuntu dot com>, Mikhail Terekhov <Mikhail dot Terekhov at dell dot com>, Petr Ovtchenkov <ptr at void-ptr dot info>, Andreas Schwab <schwab at linux-m68k dot org>
- Cc: binutils at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>, gdb at sourceware dot org
- Date: Wed, 20 Sep 2017 22:26:44 +0200
- Subject: Re: meaning of "Automatic date update in version.in" commits
- Authentication-results: sourceware.org; auth=none
- Ironport-phdr: 9a23:cBy2chGVIpnkoeqr24JmtZ1GYnF86YWxBRYc798ds5kLTJ76pcm8bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVCJPH4OyYZUBAeUDM+ZXs47zqFQBoxalGQmhB/nixiNSi3Pq36A31fkqHwHc3AwnGtIDqG7arNX0NKcWUOC11LHIwiveZPxWwzj98o/Icgk8ofGNQ71wa9HRwlQoGgPdjlWQqIjlPzKN1uQVrWeX9eRhWvi1i24gsgFxvzmvydk2ionSnY8V0VPE9CV/wIkrOd20UlV0bsC9HZZWqiqUNJN2T9shTmxqoio3y78LtYSlcCQWypkr3QPTZv+JfoWO/xntTvyeIS1ii3JgYL+/ghGy/lW+xeDkTcm01UpKrjJCktnRqnABzxzT5daDSvt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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>
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