On 30/07/2020 14:15, Stephen Rothwell wrote:
Hi Naresh,

On Thu, 30 Jul 2020 16:25:49 +0530 Naresh Kamboju <naresh.kamb...@linaro.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

Reply via email to