This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils 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:07:34 +0200
- Subject: Re: meaning of "Automatic date update in version.in" commits
- Authentication-results: sourceware.org; auth=none
- Ironport-phdr: 9a23:KIhvcRCCDqqopQLtO7yEUyQJP3N1i/DPJgcQr6AfoPdwSP35osqwAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95SWSJcAo2ycYUBAOgPPelEqIfyqFQAoACiBQSvHu7j1iVFimP00KA8zu8vERvG3AslH98WqnrUrNT1NKMTUeCt1KnH0yjIYPNM1jfn74jIaw0hofCSUrJqasra1E4iFxvFjlWRrYzlPiuV1vwTvGSB4etvT/ivi2k+qwFsozig2N0sipLSi4IOyVDF9SN5z5gpJdGiU0F0f8epHZ1NvC+ZL4t7WsAvTmNytCs7yLAKo4C3cDQIxZg92hLSaPKKfo6V6Rz5TumROy13hHd9dbK6gBa97Favx/XnVsmxzFZKti1FksTQtnwV1xzc9MyHSvxl80ekxDmDzwHT6udaLkAojafWKJwszqQxm5cRq0jPADP6lUfsgKOLdUgp9PCk6+H9bbXnop+cOZV0igb7Mqk2gsy/AeU4MgwPX2iD4eSzyqfv/EPjT7VQif02i7TZsJHEKsQBva60GBRV0oUj6ha5ETimzM4UkmIZI15dYhKIk5DpO03SIPD/FfqwnlOskDRsx/3dI73uGYjNLn7fkLf8Z7py90lcyA8rx9BF+51UEq0BIO70WkLps9LYDxw5MwyuzObmDNVxzJ0QVnyVAqCHM6PSsViI5vw0LuaReoAVvDL9J+I56P7piH8zgUUdcrWx3ZsLdHC4GexrI12FYXr2mdoBD2AKvgsjQ+DzkF2CTSRTa2yzX6I66DE7D5qsDZ3fSYC1nLyBwCC7E4VNZm9aClCNH23neJ6fVvcIaSKSJNJhkzMdWbikSoIs1hKuuBX9y7p9Iere4jcYuo771Nhp++3Tkgk/+id1D8SbzmGNU2B0nmcTRzItx6B/plF9yk2f3qdmjf1XD8ZT6O1TXgc9L57cwPRwC8ruVQLZYteJVFGmT829DjErSdI+2MEBbFp+G9q8lBDOxDClDKIPmLOXA5w06LzT02LtKMZ6znbMzLMhgEU+QstTKW2mgbZy9wfOCIHSiEiZjKGqdbkG3CHR6miCw3CBvFtGXwJqVqXFR38fNQPqqoHc71/eT76nEvwENgxaxIbWJqxJbfX0h0hAWOqlM9PbNSb5vmazBR+JwvuwYZDneGUawm2JLUkHkwkS+TC6OBIzBSemvUrSAThqU1noZhWoudFztGnzaVEoxAGHaU5myfLh4gIPreKbSv9Wxq4e/iYnpTIiWB6U2d7MBtOb7zFqfLpVa5tp+1xHymvTnwh8OIGwaqU81l1YdB546RDAzRJyX71AkMwrtGsnhDV7M6WBzVJMbSjQiYjwO7nWMnH/ug+mcanPx1DTys2+4aQe7vkk7V/u6lL6XnE++mlqhoEGm0CX4Y/HWU9LCcr8
- 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>
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.
Philippe