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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 Oct 2015 10:31:55 +0300
From:	Andrey Ryabinin <ryabinin.a.a@...il.com>
To:	Borislav Petkov <bp@...en8.de>
Cc:	Ingo Molnar <mingo@...nel.org>,
	Andy Lutomirski <luto@...capital.net>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]

2015-10-15 0:47 GMT+03:00 Borislav Petkov <bp@...en8.de>:
> Hey,
>
> did the issue in $Subject get fixed somewhere?
>
> I remember reading something about it on lkml ...

I'm an idiot :(
The same failure was fixed for KMEMCHECK=y && KASAN=n config
But that fix didn't fix the KMEMCHECK=y && KASAN=y case.

>
> In any case, I'm seeing this in my randconfig builds:
>
> In file included from arch/x86/kernel/setup.c:96:0:
> ./arch/x86/include/asm/desc.h: In function ‘native_write_idt_entry’:
> ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
>   memcpy(&idt[entry], gate, sizeof(*gate));
>   ^
> cc1: some warnings being treated as errors
> make[2]: *** [arch/x86/kernel/setup.o] Error 1
>
> and CONFIG_KASAN is set in that randconfig (attached).
>
> When I disable it, same config builds fine.
>
> Hmmm...
>
> --
> Regards/Gruss,
>     Boris.
>
> ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ