Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247527

Re: ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]

From Andrey Ryabinin <ryabinin.a.a@gmail.com>
Newsgroups linux.kernel
Subject Re: ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
Date 2015-10-15 09:40 +0200
Message-ID <qjLiO-85x-13@gated-at.bofh.it> (permalink)
References <qjC5Q-2Mx-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-10-15 0:47 GMT+03:00 Borislav Petkov <bp@alien8.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: ./arch/x86/include/asm/desc.h:122:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration] Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-10-15 09:40 +0200

csiph-web