Date: Sun, 21 Mar 2021 23:11:08 +0100 From: "Herbert J. Skuhra" <herbert@gojira.at> To: stable@freebsd.org Subject: WITHOUT_KERNEL_SYMBOLS - *.ko now with debug_info Message-ID: <875z1ktawz.wl-herbert@gojira.at>
next in thread | raw e-mail | index | archive | help
Hi, since upgrading to stable/13 I was wondering why /boot/kernel is much larger. When using "WITHOUT_KERNEL_SYMBOLS=" in /etc/src.conf the kernel modules now contain debug_info. OK? (I manually run "objcopy --strip-debug".) FreeBSD 13.0-STABLE #60 stable/13-n245000-12349e667ced: $ cat /etc/src.conf WITHOUT_KERNEL_SYMBOLS= $ file /usr/obj/usr/src/amd64.amd64/sys/GENERIC/modules/usr/src/sys/modules/aac/aac.ko /usr/obj/usr/src/amd64.amd64/sys/GENERIC/modules/usr/src/sys/modules/aac/aac.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), BuildID[sha1]=217dd8a5d dff9c74324fda4986f6234afc128ef8, with debug_info, not stripped FreeBSD 12.2-STABLE r369477 GENERIC: $ cat /etc/src.conf WITHOUT_KERNEL_SYMBOLS= $ file /usr/obj/usr/src/amd64.amd64/sys/GENERIC/modules/usr/src/sys/modules/aac/aac.ko /usr/obj/usr/src/amd64.amd64/sys/GENERIC/modules/usr/src/sys/modules/aac/aac.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), BuildID[sha1]=a94317d70 5ca9a63a2a8956368cd1d2a6dd92ce1, not stripped -- Herbert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?875z1ktawz.wl-herbert>