Module Name: src Committed By: mrg Date: Mon May 6 08:43:37 UTC 2024
Modified Files: src/share/mk: bsd.kmodule.mk bsd.lib.mk bsd.prog.mk src/sys/conf: Makefile.kern.inc Log Message: use objcopy's --compress-debug-sections when creating debug files. this reduces the size of the installed files by over half in most cases, though the debug set size doesn't really change much (which looks like close to 1GB of space on amd64 with xdebug installed, similar on arm64, and about 600MB without xdebug.) tested by running GDB on a few things, seems just as functional, on amd64, arm64, and slightly on riscv64. (first attempt for this feature used "gcc -gz=zlib", but that ends up making CTF unhappy, but fortunately this works in binutils to create the .debug files separate to any ctf usage of the main file.) To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/share/mk/bsd.kmodule.mk cvs rdiff -u -r1.402 -r1.403 src/share/mk/bsd.lib.mk cvs rdiff -u -r1.348 -r1.349 src/share/mk/bsd.prog.mk cvs rdiff -u -r1.300 -r1.301 src/sys/conf/Makefile.kern.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.