From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 12 16:02:52 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC5816A4E1 for ; Tue, 12 Oct 2004 16:02:52 +0000 (GMT) Received: from britannica.bec.de (wlan032137.uni-rostock.de [139.30.32.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52E4F43D2F for ; Tue, 12 Oct 2004 16:02:52 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: by britannica.bec.de (Postfix, from userid 1001) id 75BEC532F; Tue, 12 Oct 2004 18:01:39 +0200 (CEST) Date: Tue, 12 Oct 2004 18:01:38 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20041012160138.GA1128@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20041012090959.69545.qmail@web17202.mail.tpe.yahoo.com> <416BBBCD.9050704@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416BBBCD.9050704@gmx.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Why present different size and md5 hash between the compiled code and FreeBSD's build-in binary ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 16:02:52 -0000 On Tue, Oct 12, 2004 at 01:11:09PM +0200, Andreas Kohn wrote: > if your source files are *exactly* the same versions used as on the > building cluster, and you have *exactly* the same compilation options, > it would still be possible to have different binaries. For example if > the files included some reference to the current time, either in some > flags in the generated .o, .a, .so, or perhaps in the source code of > auto-generated headers. Some paths referenced could also be different on > your system than on the build cluster. To be more precisely, GCC/binutils add timestamps under certain circumstances. Joerg