HomeFreeBSD

Perform kernel linker ifunc test only for builds

Description

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
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 581ade97d561e136dbb7cf7a413128c343a23199)

Details

Provenance
emasteAuthored on Dec 27 2020, 12:34 AM
Parents
rG537b3be9c55c: Fix typo in an_initator_name.
Branches
Unknown
Tags
Unknown