Date: Thu, 21 Oct 2010 21:50:26 +0200 From: Erik Cederstrand <erik@cederstrand.dk> To: =?iso-8859-1?Q?Ulrich_Sp=F6rlein?= <uqs@spoerlein.net> Cc: Kostik Belousov <kostikbel@gmail.com>, FreeBSD Hackers <hackers@freebsd.org> Subject: Re: Deterministic builds? Message-ID: <C297DE8F-0842-41C2-A930-A15AA0F3B3BB@cederstrand.dk> In-Reply-To: <20101021175748.GD19295@acme.spoerlein.net> References: <718D8E86-EA2E-4D07-BAFF-5D8D093FD296@cederstrand.dk> <20101011084733.GM2392@deviant.kiev.zoral.com.ua> <95F3B27C-42E6-4267-9965-AC3219310C35@cederstrand.dk> <20101021175748.GD19295@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-114-145781677 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Den 21/10/2010 kl. 19.57 skrev Ulrich Sp=F6rlein: > On Mon, 11.10.2010 at 11:35:42 +0200, Erik Cederstrand wrote: >>=20 >> I'm beginning to think that it should at least be optional. Removing = e.g. build times, mtimes and path to OBJDIR or SRCDIR might not make = everyone happy. >=20 > The problem with making it optional is, that we already have enough > flags and knobs. No need in adding more. >=20 > Besides, why would people want to know the date of the build? Far more > important is the date and state of the source for the time of build. = So > you might want to replace ${BUILDATE} with ${SRCDATE} somehow (time of > last commit?). >=20 > Otherwise, please go for it. It would be nice if two people compiling > GENERIC for the same source-base would get identical binaries. It goes without saying that I agree with you on this. But it seems the = feature will require fairly invasive changes to a standard FreeBSD, e.g. = changing standard ar behavior, and building kernels and some other tools = without debugging symbols. I'm not experienced enough to determine if = this is fine with the majority of users, but hiding the changes under a = knob would at least let the feature prove itself and put off = bikeshedding for a while. If the project works out, we can discuss = changing the default. I'm still not sure what to do with debugging symbols. Currently absolute = paths to source files are used. I would like to change that to absolute = paths , i.e. usr.bin/ar/ar.c. That might even be beneficial if someone = is debugging the binary on a system that doesn't have the source tree = located in /some/obscure/directory/src. It's my understanding that gdb = uses the path to look up source code related to stack traces etc. It = seems gdb can handle relative paths, but I have no idea if it actually = works, or if it's a nuisance to use compared to absolute paths. Any = hints? Thanks, Erik= --Apple-Mail-114-145781677--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C297DE8F-0842-41C2-A930-A15AA0F3B3BB>