[Bug 279122] /boot/kernel/kernel: "not stripped"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Oct 2024 16:13:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279122

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
         Resolution|---                         |Not Accepted
             Status|New                         |Closed

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
In general we haven't invested a lot of effort into making it easy to shrink
the kernel image size.  There is the MINIMAL kernel configuration which you can
use as a base if you really want to save a few MB.  (For reference, stripping
an amd64 GENERIC-NODEBUG kernel takes it from 28MB to 25MB.)

As Warner notes, stripping the kernel will break some facilities that are
useful for debugging, making it much harder to diagnose problems.  We have too
few resources to investigate such problems as it is, and I think the addition
of yet another knob just to strip kernels is not warranted.

-- 
You are receiving this mail because:
You are the assignee for the bug.