Date: Fri, 29 Mar 2024 19:27:12 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2ae32f1f8fcc - main - build: Do not pass -fno-sanitize-memory-param-retval to subr_coverage.c Message-ID: <202403291927.42TJRCcD003775@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2ae32f1f8fcc97c3e9c16effa2ee5e41a1a6c364 commit 2ae32f1f8fcc97c3e9c16effa2ee5e41a1a6c364 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-12-23 00:24:48 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-03-29 19:26:07 +0000 build: Do not pass -fno-sanitize-memory-param-retval to subr_coverage.c In the absence of -fsanitize=kernel-memory, the presence of this flag results in a -Wunused-command-line-argument warning. MFC after: 1 week --- sys/conf/files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/files b/sys/conf/files index 021829408c0f..549a3590f76b 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3855,7 +3855,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:N-fsanitize*}" + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*}" kern/subr_counter.c standard kern/subr_csan.c optional kcsan \ compile-with "${NORMAL_C:N-fsanitize*:N-fstack-protector*}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403291927.42TJRCcD003775>