[PATCH 2/5 v16] ARM: Replace string mem* functions for KASan
Linus Walleij
linus.walleij at linaro.org
Fri Nov 6 03:26:41 EST 2020
On Fri, Nov 6, 2020 at 8:49 AM Naresh Kamboju <naresh.kamboju at linaro.org> wrote:
> arm KASAN build failure noticed on linux next 20201106 tag.
> gcc: 9.x
>
> Build error:
> ---------------
> arch/arm/boot/compressed/string.c:24:1: error: attribute 'alias'
> argument not a string
> 24 | void *__memcpy(void *__dest, __const void *__src, size_t __n)
> __alias(memcpy);
> | ^~~~
> arch/arm/boot/compressed/string.c:25:1: error: attribute 'alias'
> argument not a string
> 25 | void *__memmove(void *__dest, __const void *__src, size_t
> count) __alias(memmove);
> | ^~~~
> arch/arm/boot/compressed/string.c:26:1: error: attribute 'alias'
> argument not a string
> 26 | void *__memset(void *s, int c, size_t count) __alias(memset);
> | ^~~~
>
> Reported-by: Naresh Kamboju <naresh.kamboju at linaro.org>
>
> Build details link,
> https://builds.tuxbuild.com/1juBs4tXRA6Cwhd1Qnhh4vzCtDx/
This looks like a randconfig build.
Please drill down and try to report which combination of config
options that give rise to this problem so we have a chance of
amending it.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list