linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Linus Walleij <linus.walleij@linaro.org>,
	Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: next-20201105 - build issue with KASAN on ARM
Date: Sat, 07 Nov 2020 13:33:20 -0500	[thread overview]
Message-ID: <7021.1604774000@turing-police> (raw)

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

commit d6d51a96c7d63b7450860a3037f2d62388286a52
Author: Linus Walleij <linus.walleij@linaro.org>
Date:   Sun Oct 25 23:52:08 2020 +0100

    ARM: 9014/2: Replace string mem* functions for KASan

I'm trying to figure out why this has 3 Tested-By: tags but blows up for fairly obvious
reasons on ARM.....

  CC      arch/arm/boot/compressed/string.o
arch/arm/boot/compressed/string.c:24:1: error: attribute 'alias' argument not a string
 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
 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
 void *__memset(void *s, int c, size_t count) __alias(memset);
 ^~~~
make[2]: *** [scripts/Makefile.build:283: arch/arm/boot/compressed/string.o] Error 1
make[1]: *** [arch/arm/boot/Makefile:64: arch/arm/boot/compressed/vmlinux] Error 2


[-- Attachment #2: Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2020-11-07 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07 18:33 Valdis Klētnieks [this message]
2020-11-07 20:04 ` Nathan Chancellor
2020-11-08 22:19   ` Stephen Rothwell
2020-11-08 22:21     ` Nathan Chancellor
2020-11-09  0:17       ` [PATCH] ARM: boot: Quote aliased symbol names in string.c Nathan Chancellor
2020-11-09  7:40         ` Ard Biesheuvel
2020-11-09 16:04         ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7021.1604774000@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=aryabinin@virtuozzo.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: next-20201105 - build issue with KASAN on ARM' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).