Hi, On 2025/08/30 10:22, Christos Zoulas wrote:
Module Name: src Committed By: christos Date: Sat Aug 30 01:22:33 UTC 2025Modified Files: src/share/mk: bsd.own.mk Log Message: revert new binutils change. Most of the errors are caused by larger binaries produced. Will investigate.
Increase of crunched-binary size is due to this upstream commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=023e60ced0c850aa32ac4a948877d25592d44401;hp=c0a07e7d48801c7cffaf825545fc05024a7c686e Now, .note.netbsd.* sections are located behind .eh_frame. Therefore, strip(1) cannot remove .eh_frame, and carries out zero clear for that section instead. This does not affect non-crunched binaries, for which we do not strip .eh_frame sections. This seems to be fixed if we revert the upstream commit, or replace .note.netbsd.* sections earlier in the rodata sections. But, I'm not very sure which fix is preferable... Thanks, rin
