Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 17:30:24 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Bill Moran <wmoran@potentialtech.com>, Daniela <dgw@liwest.at>, Mike Meyer <mwm-dated-1045246502.d60a79@mired.org>, freebsd-questions@FreeBSD.org
Subject:   Re: Automatically include debug symbols?
Message-ID:  <20030210070024.GH60203@wantadilla.lemis.com>
In-Reply-To: <20030210061404.GZ47877@over-yonder.net>
References:  <200302091847.39504.dgw@liwest.at> <15942.39589.709632.258724@guru.mired.org> <200302092116.33639.dgw@liwest.at> <3E46C44C.70203@potentialtech.com> <20030209233139.GB60203@wantadilla.lemis.com> <3E46E757.5060108@potentialtech.com> <20030210000214.GF60203@wantadilla.lemis.com> <20030210061404.GZ47877@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--InRyi6yyXSYzKD4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Monday, 10 February 2003 at  0:14:04 -0600, Matthew D. Fuller wrote:
> On Mon, Feb 10, 2003 at 10:32:14AM +1030 I heard the voice of
> Greg 'groggy' Lehey, and lo! it spake thus:
>> On Sunday,  9 February 2003 at 18:42:15 -0500, Bill Moran wrote:
>>>
>>> It's just a disk space issue then?  Because ... if it doesn't eat up
>>> RAM, I have a hard time thinking why I shouldn't have all my
>>> binaries with debug symbols all of the time.
>>
>> I've been pushing for this, at least for the kernel build, for some
>> time.  It can make a big difference in the size of the directories,
>> though.
>
> I've thought seriously several times about looking at making all my
> buildworld'd binaries with debug symbols.  I expect it'd eat a massive
> chunk of drive space though.  The kernel undergoes a rather notable size
> increase:
> -r-xr-xr-x  1 root  wheel   4242610 Jan 18 06:38 /boot/kernel/kernel*
> -rwxr-xr-x  1 root  wheel  17684134 Jan 18 06:40 /boot/kernel/kernel.debug*

That's small.  I have:

-rwxr-xr-x  1 root  lemis   5646507 Jan 27 14:52 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY/kernel
-rwxr-xr-x  1 root  lemis  31120011 Jan 27 14:51 /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY/kernel.debug

As you see, this is in the kernel build directory.  There's no point
in actually installing it into /boot.  Also note:

 $ du -s /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY
 513     /src/FreeBSD/5-RELEASE-SYDNEY/src/sys/i386/compile/SYDNEY

That's in MB.  It does take up a lot of space.

Greg
--
See complete headers for address and phone numbers

--InRyi6yyXSYzKD4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+R04IIubykFB6QiMRAhtQAJ0X9JztryKi3joTL9g9YwWc010VFACfX30J
yQ5x0hCKkIbHKR7ipd1ODgA=
=NWiz
-----END PGP SIGNATURE-----

--InRyi6yyXSYzKD4c--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210070024.GH60203>