Re: better RSYNC mirroring , for .debs and others
On Thu, Mar 09, 2000 at 12:46:05PM -0700, Jason Gunthorpe wrote:
> On Thu, 9 Mar 2000, David Starner wrote:
> > I'm not arguing the rest of your points, but I'm curious about
> > this one. IIRC, the last thing a full bootstrap of GCC does,
> > after building stage one binaries with the native compiler,
> Hum, It *used* to do this, can't seem to get it to do it today though
> <oh well>
> IIRC it only applied to debug information, it included timestamps or
> some such.
There is a small header at the beginning of an object file which is
different each time, because it contains a time stamp.
This is why 'make compare' removes the first 16 bytes of the object
files before comparing.
for file in *$(objext); do \
tail +16c ./$$file > tmp-foo1; \
tail +16c stage$$stage/$$file > tmp-foo2 \
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, email@example.com PGP Key ID 36E7CD09