Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jun 2022 13:48:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264433] installkernel produces /boot/kernel directory over 500MB in size
Message-ID:  <bug-264433-227-FPXUWZq4ml@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264433-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264433-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264433

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

https://cgit.freebsd.org/src/commit/?h=3Dstable/13&id=3D177466dac805df02715=
11a0d7cd3152a467820c6

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=3Dsha1 -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=3Dsha1 -T
/home/src/sys/conf/ldscript.kmod.amd64 -r  -o zfs.ko ...

Note that second -d is missing.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264433-227-FPXUWZq4ml>