Re: [patch 05/16] kasan: fix hwasan build for gcc

From
Andrew Morton <akpm@linux-foundation.org>
Date
2021-04-09 20:58:42
Also in
mm-commits
Reply to
Andrey Konovalov, 2021-04-09
On Fri, 9 Apr 2021 22:39:46 +0200 Andrey Konovalov [off-list ref] wrote:
quoted
 endif # CONFIG_KASAN_SW_TAGS
_
Hi,

As I commented on the patch, this breaks SW_TAGS build with Clang for me with:

arch/arm64/include/asm/current.h:19: undefined reference to `__hwasan_tls'

The reason for this is that cc-param is only defined for
KASAN_GENERIC, the definition needs to be moved.
Oh.  I thought that had been fixed.

Please send a patch?
Thread (22 messages) 22 messages, 4 authors, last reply 2021-04-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help