Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 11:21:26 +0300
From:      "Artis Caune" <artis.caune@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   build stamps
Message-ID:  <9e20d71e0806250121i33bbdf07y2a5ce910e79a7b57@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
If you are making world or release twice from one source, you will get
some binaries and lot of libraries which differ because of time
stamps:
   # make buildworld
   # make installworld DESTDIR=/home/build1
   # rm -r /usr/obj/usr
   # make buildworld
   # make installworld DESTDIR=/home/build2

   # diff -r /home/build1 /home/build2


freebsd-update-server also make world twice to find out where those
build stamps are.

I tried to freeze clock on build box while repeating build process:
   # while true; do date -n 0000; sleep 0.5; done

and there were no differences between two builds.


Is there any harm if I build releases with frozen clock?
or maybe load kld module which replace gettimeofday syscall at build time?

thanks,
Artis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e20d71e0806250121i33bbdf07y2a5ce910e79a7b57>