[PATCH v4 4/4] powerpc: Book3S 64-bit "heavyweight" KASAN support
Michael Ellerman
mpe at ellerman.id.au
Thu Dec 19 22:25:32 AEDT 2019
Daniel Axtens <dja at axtens.net> writes:
> Christophe Leroy <christophe.leroy at c-s.fr> writes:
>> On 12/19/2019 12:36 AM, Daniel Axtens wrote:
>>> KASAN support on Book3S is a bit tricky to get right:
...
>>> diff --git a/arch/powerpc/include/asm/kasan.h b/arch/powerpc/include/asm/kasan.h
>>> index 296e51c2f066..f18268cbdc33 100644
>>> --- a/arch/powerpc/include/asm/kasan.h
>>> +++ b/arch/powerpc/include/asm/kasan.h
>>> @@ -2,6 +2,9 @@
>>> #ifndef __ASM_KASAN_H
>>> #define __ASM_KASAN_H
>>>
>>> +#include <asm/page.h>
>>> +#include <asm/pgtable.h>
>>
>> What do you need asm/pgtable.h for ?
>>
>> Build failure due to circular inclusion of asm/pgtable.h:
>
> I see there's a lot of ppc32 stuff, I clearly need to bite the bullet
> and get a ppc32 toolchain so I can squash these without chewing up any
> more of your time. I'll sort that out and send a new spin.
I think you run Ubuntu, in which case it should just be:
$ apt install gcc-powerpc-linux-gnu
cheers
More information about the Linuxppc-dev
mailing list