On Tue, May 14, 2019 at 03:09:17PM -0500, Major Hayden wrote:
On 5/14/19 2:45 PM, Greg KH wrote:
We attempted to compile the kernel for multiple architectures, but the compile failed on one or more architectures:
ppc64le: FAILED (see build-ppc64le.log.xz attachment)
Is everything failing now? Has this ever worked?
This has worked before, but it appears to be failing on ppc64le as of today. The relevant failure is here:
00:00:20 CC [M] sound/core/oss/pcm_oss.o 00:00:20 arch/powerpc/kernel/security.c: In function 'setup_barrier_nospec': 00:00:20 arch/powerpc/kernel/security.c:59:21: error: implicit declaration of function 'cpu_mitigations_off' [-Werror=implicit-function-declaration] 00:00:20 if (!no_nospec && !cpu_mitigations_off()) 00:00:20 ^~~~~~~~~~~~~~~~~~~ 00:00:20 cc1: some warnings being treated as errors 00:00:20 make[3]: *** [scripts/Makefile.build:303: arch/powerpc/kernel/security.o] Error 1 00:00:20 make[2]: *** [Makefile:1051: arch/powerpc/kernel] Error 2 00:00:20 make[2]: *** Waiting for unfinished jobs....
We haven't seen this same problem in mainline recently.
-- Major Hayden
I bet this would be fixed by commit 42e2acde1237 ("powerpc/64s: Include cpu header") upstream.
Cheers, Nathan