Re: arm64: pointer_auth.h:40:3: error: implicit declaration of function âget_random_bytesâ; did you mean âget_random_onceâ?

From: Linus Torvalds
Date: Thu Jul 30 2020 - 14:56:45 EST


On Thu, Jul 30, 2020 at 11:47 AM Grygorii Strashko
<grygorii.strashko@xxxxxx> wrote:
>
>
> I'd like to note that below set of patches:
> 1c9df907da83 random: fix circular include dependency on arm64 after addition of percpu.h
> 83bdc7275e62 random32: remove net_rand_state from the latent entropy gcc plugin
> f227e3ec3b5c random32: update the net random state on interrupt and activity
>
> also break ARM build for the case:
> #if defined(CONFIG_SMP) && !defined(CONFIG_CPU_V6)

Lovely.

I think I'll have to revert 1c9df907da83 after all, and use Marc
Zyngier's patch to just remove that troublesome <asm/pointer_auth.h>
include in arm64 instead.

This turned out to be much messier than it should have been.

Linus