From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Cross-distro reproducible build patches Date: Fri, 13 Jan 2017 14:08:54 +0100 Message-ID: <87mvevrtsp.fsf@gnu.org> References: <87mvf5x4n3.fsf@gnu.org> <87lguf6hxt.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS1bJ-000302-8I for guix-devel@gnu.org; Fri, 13 Jan 2017 08:09:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS1bF-00083x-6F for guix-devel@gnu.org; Fri, 13 Jan 2017 08:09:01 -0500 In-Reply-To: <87lguf6hxt.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Thu, 12 Jan 2017 23:18:22 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel Marius Bakke skribis: > Ludovic Court=C3=A8s writes: > >> =E2=80=A6 but I think a number things are written as snippets rather tha= n actual >> patches. > > I think most of the snippets are trivial messing with the gcc __DATE__ > and __TIME__ macros. I dug into GCC source code the other day and found > this commit: > > https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommitdiff;h=3Ddfa5c0d3f3e23e4fd= b14857a42de376d9ff8601c > > Apparently gcc will respect SOURCE_DATE_EPOCH in these functions from > version 7 onwards. We could consider backporting it. Definitely, that=E2=80=99s what I say to myself every time I write one of t= hese snippets. :-) Would you like to port it to 5.x in =E2=80=98core-updates=E2=80=99? I=E2= =80=99m pretty sure Debian has already ported it actually. Ludo=E2=80=99.