lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 27 Jun 2020 12:22:40 +0200
From:   Borislav Petkov <bp@...e.de>
To:     kernel test robot <lkp@...el.com>
Cc:     Petteri Aimonen <jpa@....mail.kapsi.fi>, kbuild-all@...ts.01.org,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        x86-ml <x86@...nel.org>, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [bp:tip-x86-fpu 2/2] test_fpu.c:undefined reference to
 `__sanitizer_cov_trace_cmpd'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ