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
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on Dec 27 2020, 12:34 AM
Parents
rG6dbb07ed6872: cache: modification and last entry filling support in lockless lookup
Branches
Unknown
Tags
Unknown