From owner-freebsd-questions Fri Dec 14 10:37:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5747537B41C for ; Fri, 14 Dec 2001 10:37:10 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBEIaqe26907; Fri, 14 Dec 2001 20:36:52 +0200 (EET) (envelope-from ru) Date: Fri, 14 Dec 2001 20:36:52 +0200 From: Ruslan Ermilov To: "Derrick E. Norris" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Differences in sizes of binaries after recompiling Message-ID: <20011214203652.G16945@sunbay.com> References: <200112141834.fBEIYIJ09436@visar.norris-net.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112141834.fBEIYIJ09436@visar.norris-net.com> User-Agent: Mutt/1.3.23i 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 On Fri, Dec 14, 2001 at 01:34:17PM -0500, Derrick E. Norris wrote: > 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)? > The binaries in /usr/obj are stipped on install. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message