From owner-freebsd-questions Fri Dec 14 10:34:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from visar.norris-net.com (adsl-156-90-223.asm.bellsouth.net [66.156.90.223]) by hub.freebsd.org (Postfix) with ESMTP id A79BB37B41B for ; Fri, 14 Dec 2001 10:34:18 -0800 (PST) Received: (from derrick@localhost) by visar.norris-net.com (8.11.6/8.11.6) id fBEIYIJ09436 for freebsd-questions@freebsd.org; Fri, 14 Dec 2001 13:34:18 -0500 (EST) (envelope-from derrick) Message-Id: <200112141834.fBEIYIJ09436@visar.norris-net.com> Content-Type: text/plain; charset="iso-8859-1" From: "Derrick E. Norris" Reply-To: derrick@norris-net.com To: freebsd-questions@freebsd.org Subject: Differences in sizes of binaries after recompiling Date: Fri, 14 Dec 2001 13:34:17 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hopefully this question won't expose some huge ignorance... I first installed my system from a 4.3-RELEASE CD, then began cvsupping the repository. When 4.4-RELEASE was declared, I replaced my /usr/src directory with the RELENG_4_4 tag, which I thought should be identical to the 4.4-RELEASE tag at the time of release, and built and installed world. Everything seems fine, so now running 4.4-RELEASE (technically RELENG_4_4). When I saw the security notification for sshd, I updated my /usr/src to get the patches, and built just sshd. I noticed quite a change in the size of the binary and I know it could have been a result of the patch, but I got curious so I built world again (but have not installed it). Before each build I completely cleared /usr/obj and ran make clean in /usr/src (perhaps some of this may not have been necessary, but I'm anal that way). EVERY binary I looked at (and I looked at quite a few) from the new buildworld was 10%-11% larger. My question is, why would there be such a large size difference in the binaries when building 4.4p1 from 4.4 (as was done the second time) as opposed to building 4.4 from 4.3 (as I did just after 4.4-RELEASE)? Was enough work done on build tools and libraries between 4.3 and 4.4 to explain the difference? And should I install this new world in which the binaries are 10% larger (in other words, is there something missing from the binaries in the 4.4 world I built from 4.3)? Thanks for any insight, Derrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message