[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d23eba90-ee2c-efe0-0cb6-88e99fb22e54@ti.com>
Date: Thu, 30 Jul 2020 21:46:44 +0300
From: Grygorii Strashko <grygorii.strashko@...com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Naresh Kamboju <naresh.kamboju@...aro.org>
CC: Mark Rutland <mark.rutland@....com>,
"Theodore Ts'o" <tytso@....edu>, Kees Cook <keescook@...omium.org>,
Arnd Bergmann <arnd@...db.de>,
Catalin Marinas <catalin.marinas@....com>,
Mark Brown <broonie@...nel.org>,
<richard.henderson@...aro.org>,
open list <linux-kernel@...r.kernel.org>,
<lkft-triage@...ts.linaro.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
<re.emese@...il.com>, <hsinyi@...omium.org>,
Will Deacon <will@...nel.org>, <w@....eu>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: arm64: pointer_auth.h:40:3: error: implicit declaration of function ‘get_random_bytes’; did you mean ‘get_random_once’?
On 30/07/2020 14:15, Stephen Rothwell wrote:
> Hi Naresh,
>
> On Thu, 30 Jul 2020 16:25:49 +0530 Naresh Kamboju <naresh.kamboju@...aro.org> wrote:
>>
>> Linus master branch failed to build the arm64 architecture due to
>> below error and warnings.
>
> Thanks for the report.
>
> Please see https://lore.kernel.org/lkml/202007292007.D87DBD34B@keescook/
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)
config: keystone_defconfig
CC arch/arm/kernel/signal.o
In file included from ../include/linux/random.h:14,
from ../arch/arm/kernel/signal.c:8:
../arch/arm/include/asm/percpu.h: In function ‘__my_cpu_offset’:
../arch/arm/include/asm/percpu.h:29:34: error: ‘current_stack_pointer’ undeclared (first use in this function); did you mean ‘user_stack_pointer’?
: "Q" (*(const unsigned long *)current_stack_pointer));
^~~~~~~~~~~~~~~~~~~~~
user_stack_pointer
../arch/arm/include/asm/percpu.h:29:34: note: each undeclared identifier is reported only once for each function it appears in
../scripts/Makefile.build:280: recipe for target 'arch/arm/kernel/signal.o' failed
make[2]: *** [arch/arm/kernel/signal.o] Error 1
/home/grygorii/kernel.org/linux-master/linux/Makefile:1756: recipe for target 'arch/arm/kernel' failed
make[1]: *** [arch/arm/kernel] Error 2
--
Best regards,
grygorii
Powered by blists - more mailing lists