From: Ingo Molnar <mingo@elte.hu>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: anil_ravindranath@pmc-sierra.com, mchehab@redhat.com,
mac@melware.de, aacraid@adaptec.com,
linux-mtd@lists.infradead.org, allan.stephens@windriver.com,
hpa@zytor.com, t.sailer@alumni.ethz.ch, gwingerde@gmail.com,
x86@kernel.org, elf@buici.com, cluster-devel@redhat.com,
ccaulfie@redhat.com, mingo@redhat.com, dougthompson@xmission.com,
tipc-discussion@lists.sourceforge.net, dwmw2@infradead.org,
linux-media@vger.kernel.org, jon.maloy@ericsson.com,
arnaud.giersch@free.fr, linux-kbuild@vger.kernel.org,
IvDoorn@gmail.com, teigland@redhat.com,
tony.olech@elandigitalsystems.com, apw@canonical.com,
linux-hams@vger.kernel.org, tglx@linutronix.de,
swhiteho@redhat.com, linux-arm-kernel@lists.infradead.org,
linux-edac@vger.kernel.org, Michal Marek <mmarek@suse.cz>,
linux-scsi@vger.kernel.org, netdev@vger.kernel.org,
Greg KH <gregkh@suse.de>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
davem@davemloft.net, linux-usb@vger.kernel.org,
James.Bottomley@suse.de, chuanxiao.dong@intel.com,
paulus@samba.org, linuxppc-dev@lists.ozlabs.org,
bluesmoke-devel@lists.sourceforge.net
Subject: Re: [PATCH 00/34] Make kernel build deterministic
Date: Wed, 6 Apr 2011 10:57:12 +0200 [thread overview]
Message-ID: <20110406085712.GA16597@elte.hu> (raw)
In-Reply-To: <1302031447.2608.41.camel@koala>
* Artem Bityutskiy <dedekind1@gmail.com> wrote:
> On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote:
> > On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote:
> > >
> > > Hi,
> > >
> > > this series makes it possible to build bit-identical kernel image and
> > > modules from identical sources. Of course the build is already
> > > deterministic in terms of behavior of the code, but the various
> > > timestamps embedded in the object files make it hard to compare two
> > > builds, for instance to verify that a makefile cleanup didn't
> > > accidentally change something. A prime example is /proc/config.gz, which
> > > has both a timestamp in the gzip header and a timestamp in the payload
> > > data. With this series applied, a script like this will produce
> > > identical kernels each time:
> >
> > Very nice stuff. Do you want to take the individual patches through one
> > of your trees, or do you mind if the subsystem maintainers take them
> > through theirs?
>
> But unfortunately, it is very easy to break this and for sure it'll be
> broken very soon.
>
> So additionally, I'd suggest:
> 1. Instrument checkpatch.pl and make it err or warn on timestamps.
See the grandparent mail:
checkpatch: Warn about usage of __DATE__, __TIME__ and __TIMESTAMP__
Thanks,
Ingo
next prev parent reply other threads:[~2011-04-06 9:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 14:58 [PATCH 00/34] Make kernel build deterministic Michal Marek
2011-04-05 14:58 ` [PATCH 03/34] powerpc: Call gzip with -n Michal Marek
2011-04-05 14:58 ` [PATCH 05/34] powerpc: Use the deterministic mode of ar Michal Marek
2011-04-05 15:49 ` [PATCH 00/34] Make kernel build deterministic Greg KH
2011-04-05 18:16 ` James Bottomley
2011-04-05 18:29 ` Mauro Carvalho Chehab
2011-04-05 18:44 ` Greg KH
2011-04-05 19:24 ` Artem Bityutskiy
2011-04-06 8:57 ` Ingo Molnar [this message]
2011-04-06 9:07 ` Michal Marek
2011-04-06 9:25 ` Artem Bityutskiy
2011-04-06 9:23 ` Michal Marek
2011-04-06 9:01 ` Ingo Molnar
2011-05-05 15:22 ` [PATCH v2] powerpc: Use the deterministic mode of ar Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110406085712.GA16597@elte.hu \
--to=mingo@elte.hu \
--cc=IvDoorn@gmail.com \
--cc=James.Bottomley@suse.de \
--cc=aacraid@adaptec.com \
--cc=allan.stephens@windriver.com \
--cc=anil_ravindranath@pmc-sierra.com \
--cc=apw@canonical.com \
--cc=arnaud.giersch@free.fr \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=ccaulfie@redhat.com \
--cc=chuanxiao.dong@intel.com \
--cc=cluster-devel@redhat.com \
--cc=davem@davemloft.net \
--cc=dedekind1@gmail.com \
--cc=dougthompson@xmission.com \
--cc=dwmw2@infradead.org \
--cc=elf@buici.com \
--cc=gregkh@suse.de \
--cc=gwingerde@gmail.com \
--cc=hpa@zytor.com \
--cc=jon.maloy@ericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-hams@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mac@melware.de \
--cc=mchehab@redhat.com \
--cc=mingo@redhat.com \
--cc=mmarek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=paulus@samba.org \
--cc=swhiteho@redhat.com \
--cc=t.sailer@alumni.ethz.ch \
--cc=teigland@redhat.com \
--cc=tglx@linutronix.de \
--cc=tipc-discussion@lists.sourceforge.net \
--cc=tony.olech@elandigitalsystems.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).