Disable kernel INIT_ALL_ZERO on amd64

It is currently incompatible with kernel ifunc memset.

PR:		251083
MFC with:	r367577
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2020-11-13 18:34:13 +00:00
parent 360d1232ab
commit d801ff15dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367646

View File

@ -68,6 +68,11 @@ __DEFAULT_NO_OPTIONS = \
# affected by KERNEL_SYMBOLS, FORMAT_EXTENSIONS, CTF and SSP.
# Things that don't work based on the CPU
.if ${MACHINE} == "amd64"
# PR251083 conflict between INIT_ALL_ZERO and ifunc memset
BROKEN_OPTIONS+= INIT_ALL_ZERO
.endif
.if ${MACHINE_CPUARCH} == "arm"
. if ${MACHINE_ARCH:Marmv[67]*} == ""
BROKEN_OPTIONS+= CDDL ZFS