[PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

Christophe Leroy christophe.leroy at csgroup.eu
Mon Aug 29 18:53:13 AEST 2022



Le 29/08/2022 à 02:05, Elliott, Robert (Servers) a écrit :
> 
> 
>> -----Original Message-----
>> From: Christophe Leroy <christophe.leroy at csgroup.eu>
>> Sent: Sunday, August 28, 2022 2:33 AM
>> To: Elliott, Robert (Servers) <elliott at hpe.com>; Nayna
>> <nayna at linux.vnet.ibm.com>; Andrew Donnellan <ajd at linux.ibm.com>
>> Cc: linuxppc-dev at lists.ozlabs.org
>> Subject: Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help
>> text
>>
>> Hi,
>>
>> Le 27/08/2022 à 22:06, Elliott, Robert (Servers) a écrit :
>>> (adding Christophe, per
>>> bba496656a73fc1 ("powerpc/32: Fix boot failure with GCC latent entropy
>> plugin")
>>>
>>>
>>> Adding libmpc-devel gets all the architectures building except powerpc.
>>>
>>> (I also installed gcc-plugins-devel to get the native x86
>>> build to detect plugins.)
>>>
>>> However, powerpc still fails to build. Several of the Linux standard
>>> include files end up including nodemask.h, which includes random.h,
>>> which has a problem finding a global called latent_entropy while
>>> building init/main.o:
>>
>> Isn't it fixed in mainline by commit 012e8d2034f1 ("gcc-plugins:
>> Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file") ?
> 
> Yes, adding that patch fixes this particular problem. Thanks!
> 
> Next up is:
> Cannot find symbol for section 94: .text.free_initmem.
> init/main.o: failed
> make[2]: *** [../scripts/Makefile.build:249: init/main.o] Error 1
> 

Can you please provide some context, which .config, which version of 
gcc/binutils etc ....

FWIW, free_initmem() is supposed to be in arch/powerpc/mm/mem.o


More information about the Linuxppc-dev mailing list