[Bug 264433] installkernel produces /boot/kernel directory over 500MB in size

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Jun 2022 13:48:47 UTC

--- Comment #5 from Eugene Grosbein <eugen@freebsd.org> ---
I'm afraid the following merge to stable/13 created the problem:


I compared zfs.ko.meta for this problematic system and another my stable/13
(earlier) system that does not have the problem and found the difference.

"Normal" system has this:

CMD ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T
/usr/src/sys/conf/ldscript.kmod.amd64 -r -d  -o zfs.ko ...

Note second "-d" flag. And newer after-commit problematic one has this:

CMD ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T
/home/src/sys/conf/ldscript.kmod.amd64 -r  -o zfs.ko ...

Note that second -d is missing.

You are receiving this mail because:
You are the assignee for the bug.