]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Perform kernel linker ifunc test only for builds
authorEd Maste <emaste@FreeBSD.org>
Sun, 27 Dec 2020 00:34:24 +0000 (19:34 -0500)
committerEd Maste <emaste@FreeBSD.org>
Sun, 27 Dec 2020 17:46:51 +0000 (12:46 -0500)
commit581ade97d561e136dbb7cf7a413128c343a23199
tree41feabea0ca52f0ec6dbfb1e803f9941f0053c29
parent6dbb07ed6872ae7988b9b705e322c94658eba6d1
Perform kernel linker ifunc test only for builds

dvl reported that "make installkernel" failed with "amd64/arm64/i386
kernel requires linker ifunc support."  This test should apply to builds
only; the linker is not used at install time.

I think the same (ifunc-supporting) linker used to build the kernel
should be detected at install time in usual cases (and so not trigger
this error).  However, there is no reason to disallow the install, if
for some reason the expected linker isn't the one tested at install
time.

PR: 251580
Reported by: dvl
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/conf/kern.pre.mk