Date: Thu, 22 Apr 2021 18:13:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255332] WITHOUT_KERNEL_SYMBOLS - *.ko files with debug_info Message-ID: <bug-255332-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255332 Bug ID: 255332 Summary: WITHOUT_KERNEL_SYMBOLS - *.ko files with debug_info Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: herbert@mailbox.org src.conf(5) states: WITHOUT_KERNEL_SYMBOLS Set to not install kernel symbol files. This option is recommended for those people who have small root partitions. 1. I think *.ko.symbols are no longer installed 2. With this build option defined the /boot/kernel directory is actually la= rger because the *.ko files include debug_info. 3. Without this option debug files are installed in /usr/lib/debug (even wi= th option "WITHOUT_DEBUG_FILES" in src.conf) details https://lists.freebsd.org/pipermail/freebsd-current/2021-March/079271.html To remove debug_info from kernel modules you have to=20 a) "makeoptions DEBUG=3D-g" or b) manually run "objcopy --strip-debug" on each *.ko --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255332-227>