* Re: [bp:tip-x86-fpu 2/2] test_fpu.c:undefined reference to `__sanitizer_cov_trace_cmpd'
[not found] <202006271139.H8IXpYlR%lkp@intel.com>
@ 2020-06-27 10:22 ` Borislav Petkov
0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2020-06-27 10:22 UTC (permalink / raw)
To: kernel test robot
Cc: Petteri Aimonen, kbuild-all, Nick Desaulniers, x86-ml, lkml
On Sat, Jun 27, 2020 at 11:15:42AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tip-x86-fpu
> head: dca364a883e0ac1f61b4d4e482edf66e63ffcdd2
> commit: dca364a883e0ac1f61b4d4e482edf66e63ffcdd2 [2/2] selftests/fpu: Add an FPU selftest
> config: x86_64-allyesconfig (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> ld: lib/test_fpu.o: in function `test_fpu_get':
> >> test_fpu.c:(.text+0x16e): undefined reference to `__sanitizer_cov_trace_cmpd'
> >> ld: test_fpu.c:(.text+0x1a7): undefined reference to `__sanitizer_cov_trace_cmpd'
> ld: test_fpu.c:(.text+0x1e0): undefined reference to `__sanitizer_cov_trace_cmpd'
>
> ---
I'm getting sick'n'tired of having to deal with compilers lately:
---
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e4add3e89c47..5842885ab184 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2309,7 +2309,7 @@ config TEST_HMM
config TEST_FPU
tristate "Test floating point operations in kernel space"
- depends on X86
+ depends on X86 && !KCOV_INSTRUMENT_ALL
help
Enable this option to add /sys/kernel/debug/selftest_helpers/test_fpu
which will trigger a sequence of floating point operations. This is used
---
Thx for the report, folded in.
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-27 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <202006271139.H8IXpYlR%lkp@intel.com>
2020-06-27 10:22 ` [bp:tip-x86-fpu 2/2] test_fpu.c:undefined reference to `__sanitizer_cov_trace_cmpd' Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).