Re: [PATCH] x86: Fix build of UML with KASAN

2023-09-11 Thread Peter Zijlstra
On Fri, Jun 09, 2023 at 01:18:54PM +0200, Vincent Whitchurch wrote: > Building UML with KASAN fails since commit 69d4c0d32186 ("entry, kasan, > x86: Disallow overriding mem*() functions") with the following errors: > > $ tools/testing/kunit/kunit.py run --kconfig_add CONFIG_KASAN=y > ... > ld:

Re: [PATCH] x86: Fix build of UML with KASAN

2023-09-11 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Vincent Whitchurch" >> Thanks: I stumbled into this the other day and ran out of time to debug it. >> >> I've tested that it works here. >> >> Tested-by: David Gow > > Thanks. Perhaps someone could pick this up? It's been a few months, > and the build p

Re: [PATCH] x86: Fix build of UML with KASAN

2023-09-11 Thread Vincent Whitchurch
On Sat, 2023-06-10 at 16:34 +0800, David Gow wrote: > On Fri, 9 Jun 2023 at 19:19, Vincent Whitchurch > wrote: > > > > Building UML with KASAN fails since commit 69d4c0d32186 ("entry, kasan, > > x86: Disallow overriding mem*() functions") with the following errors: > > > >  $ tools/testing/kunit

Re: [PATCH] x86: Fix build of UML with KASAN

2023-06-10 Thread David Gow
On Fri, 9 Jun 2023 at 19:19, Vincent Whitchurch wrote: > > Building UML with KASAN fails since commit 69d4c0d32186 ("entry, kasan, > x86: Disallow overriding mem*() functions") with the following errors: > > $ tools/testing/kunit/kunit.py run --kconfig_add CONFIG_KASAN=y > ... > ld: mm/kasan/sh

[PATCH] x86: Fix build of UML with KASAN

2023-06-09 Thread Vincent Whitchurch
Building UML with KASAN fails since commit 69d4c0d32186 ("entry, kasan, x86: Disallow overriding mem*() functions") with the following errors: $ tools/testing/kunit/kunit.py run --kconfig_add CONFIG_KASAN=y ... ld: mm/kasan/shadow.o: in function `memset': shadow.c:(.text+0x40): multiple defini