eu-strip --reloc-debug-sections-only on linux .debug objects

Vitaly Chikunov vt@altlinux.org
Mon Dec 7 15:59:03 GMT 2020


Hi,

Is it safe to run `eu-strip --reloc-debug-sections-only` on Linux kernel
.debug files, such as vmlinux.debug and .ko.debug modules?

It's really reduces size significantly. Description for .ko in
PR#24344 looks good (that it strips linking information that does not
needed for the kernel, but effect for vmlinux.debug in unstated), but, I
want to be extra sure it's safe to add to our (ALT Linux) packaging
system for -debuginfo rpms.

Thanks,



More information about the Elfutils-devel mailing list