vmlinux.o(.text+0x40e): Section mismatch in reference from the variable start_here_multiplatform to the function
From: Christian Zigotzky <hidden>
Date: 2019-07-02 06:26:05
Hi All, I get the following error messages after compiling the RC7 of kernel 5.2: WARNING: vmlinux.o(.text+0x40e): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup() The function start_here_multiplatform() references the function __init .early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of .early_setup is wrong. FATAL: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. scripts/Makefile.modpost:97: recipe for target 'vmlinux.o' failed make[1]: *** [vmlinux.o] Error 1 Makefile:1052: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 2 Please find attached the kernel config. Any hints? Thanks, Christian