From owner-freebsd-current Sun Jan 5 6:43: 5 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D1C237B401 for ; Sun, 5 Jan 2003 06:43:04 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A99143E4A for ; Sun, 5 Jan 2003 06:42:58 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd00.sul.t-online.de by mailout09.sul.t-online.com with smtp id 18VBzA-0005VD-05; Sun, 05 Jan 2003 15:42:44 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.120.70]) by fmrl00.sul.t-online.com with esmtp id 18VBz6-1yY2MKC; Sun, 5 Jan 2003 15:42:40 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h05EgXbL048424; Sun, 5 Jan 2003 15:42:33 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.6/8.12.6) with SMTP id h05EgWAo001995; Sun, 5 Jan 2003 15:42:32 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 5 Jan 2003 15:42:32 +0100 From: Alexander Leidinger To: Andy Farkas Cc: freebsd-current@FreeBSD.ORG Subject: Re: kernel compile bloat Message-Id: <20030105154232.48bc4879.Alexander@Leidinger.net> In-Reply-To: <20030105220017.T14049-100000@hewey.af.speednet.com.au> References: <20030105220017.T14049-100000@hewey.af.speednet.com.au> X-Mailer: Sylpheed version 0.8.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 5 Jan 2003 22:14:26 +1000 (EST) Andy Farkas wrote: > > Why does compiling a kernel (make buildkernel KERNCONF=GENERIC) take > 7 times as much space on 5.0-current than it does on 4.7-stable? > > On a 4.7-stable box, /usr/obj/usr/src/sys totals 34 MB. > > On a 5.0-current box, /usr/obj/usr/src/sys totals 270 MB! > > (for each box, I rm /usr/obj/*, make buildworld, then make buildkernel > KERNCONF=GENERIC) Because debug symbols are enabled in 5.0 for kernel compiles (the installed kernel is without debug symbols, but in your kernel build directory should also be a much larger kernel.debug). Bye, Alexander. -- Loose bits sink chips. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message