[PATCH] powerpc/64s: Disable stack variable initialisation for prom_init
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Tue Jul 19 01:03:51 AEST 2022
On Mon, Jul 18, 2022 at 2:44 PM Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> With GCC 12 allmodconfig prom_init fails to build:
>
> Error: External symbol 'memset' referenced from prom_init.c
> make[2]: *** [arch/powerpc/kernel/Makefile:204: arch/powerpc/kernel/prom_init_check] Error 1
>
<snip>
>
> Reported-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
And, this has fixed the build failure.
Thanks Michael.
--
Regards
Sudip
More information about the Linuxppc-dev
mailing list