svn commit: r367646 - head/sys/conf
Ed Maste
emaste at FreeBSD.org
Fri Nov 13 18:34:13 UTC 2020
Author: emaste
Date: Fri Nov 13 18:34:13 2020
New Revision: 367646
URL: https://svnweb.freebsd.org/changeset/base/367646
Log:
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
Modified:
head/sys/conf/kern.opts.mk
Modified: head/sys/conf/kern.opts.mk
==============================================================================
--- head/sys/conf/kern.opts.mk Fri Nov 13 18:25:07 2020 (r367645)
+++ head/sys/conf/kern.opts.mk Fri Nov 13 18:34:13 2020 (r367646)
@@ -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
More information about the svn-src-all
mailing list