svn commit: r344012 - head/sys/conf
Michael Tuexen
tuexen at FreeBSD.org
Mon Feb 11 15:38:06 UTC 2019
Author: tuexen
Date: Mon Feb 11 15:38:05 2019
New Revision: 344012
URL: https://svnweb.freebsd.org/changeset/base/344012
Log:
Fix flags used when compiling kern_kcov.c and subr_coverage.c.
Without this fix, the usage of kernel coverage would lockup the system.
Thanks to Andrew for suggesting the final form of the fix.
PR: 235611
Reviewed by: andrew@, emaste@
Differential Revision: https://reviews.freebsd.org/D19135
Modified:
head/sys/conf/files
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Mon Feb 11 15:02:02 2019 (r344011)
+++ head/sys/conf/files Mon Feb 11 15:38:05 2019 (r344012)
@@ -3808,7 +3808,7 @@ kern/kern_idle.c standard
kern/kern_intr.c standard
kern/kern_jail.c standard
kern/kern_kcov.c optional kcov \
- compile-with "${NORMAL_C} -fno-sanitize=all"
+ compile-with "${NORMAL_C:N-fsanitize*}"
kern/kern_khelp.c standard
kern/kern_kthread.c standard
kern/kern_ktr.c optional ktr
@@ -3884,7 +3884,7 @@ kern/subr_clock.c standard
kern/subr_compressor.c standard \
compile-with "${NORMAL_C} -I$S/contrib/zstd/lib/freebsd"
kern/subr_coverage.c optional coverage \
- compile-with "${NORMAL_C} -fno-sanitize=all"
+ compile-with "${NORMAL_C:N-fsanitize*}"
kern/subr_counter.c standard
kern/subr_devstat.c standard
kern/subr_disk.c standard
More information about the svn-src-all
mailing list