From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 12 11:09:08 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 3160C16A4CE for ; Tue, 12 Oct 2004 11:09:08 +0000 (GMT) Received: from mail.unicorn.cz (mail.unicorn.cz [195.250.129.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D24843D31 for ; Tue, 12 Oct 2004 11:09:07 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail 30468 invoked from network); 12 Oct 2004 11:02:30 -0000 Received: from unknown (HELO gmx.net) (195.250.129.204) by mail.unicorn.cz with SMTP; 12 Oct 2004 11:02:30 -0000 Message-ID: <416BBBCD.9050704@gmx.net> Date: Tue, 12 Oct 2004 13:11:09 +0200 From: Andreas Kohn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerry , freebsd-hackers@freebsd.org X-Scanned: By Symantec Anti-Virus Scan Engine References: <20041012090959.69545.qmail@web17202.mail.tpe.yahoo.com> In-Reply-To: <20041012090959.69545.qmail@web17202.mail.tpe.yahoo.com> Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 8bit 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 11:09:08 -0000 Jerry wrote: > --- Andreas Kohn wroteˇG > > >>Hi, >> >>you might be using different optimization flags than >>the release >>building cluster. >>Also make sure that you have really the correct >>sources, and not a newer >>version from CVS. >> >> >Hi~ Andreas, > >I just used make command with default Makefile to >build the binary,without change any gcc flag or >option. >And never go through the CVS to get newer source, by >the way, my test platfrom is Release-5.2 on x86, Have >you ever met this kind of situation? Whether >compile "binary command" or "kernel code" ? > >Best Regards. >Jerry > > Hi, 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. In short: don't worry too much. It is normal. -- Andreas [PS: readded freebsd-hackers@ CC: -- please don't drop the list when replying!]