https://bugzilla.kernel.org/show_bug.cgi?id=203609
Bug ID: 203609 Summary: Build error: implicit declaration of function 'cpu_mitigations_off' Product: Platform Specific/Hardware Version: 2.5 Kernel Version: 4.19.43 and 4.14.119 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: PPC-64 Assignee: platform_ppc...@kernel-bugs.osdl.org Reporter: ja...@bluehome.net Regression: No Created attachment 282765 --> https://bugzilla.kernel.org/attachment.cgi?id=282765&action=edit Build log This just showed up in 4.19.43 and 4.14.119. 4.19.42 and 4.14.118 were fine. I'm building with GCC 8.3 for ppc64el. 4.19.43 and 4.14.119 also build fine for 32- and 64-bit x86. arch/powerpc/kernel/security.c: In function 'setup_barrier_nospec': arch/powerpc/kernel/security.c:59:21: error: implicit declaration of function 'cpu_mitigations_off' [-Werror=implicit-function-declaration] if (!no_nospec && !cpu_mitigations_off()) ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors scripts/Makefile.build:303: recipe for target 'arch/powerpc/kernel/security.o' failed make[1]: *** [arch/powerpc/kernel/security.o] Error 1 Makefile:1051: recipe for target 'arch/powerpc/kernel' failed make: *** [arch/powerpc/kernel] Error 2 -- You are receiving this mail because: You are watching the assignee of the bug.