Le 02/07/2019 à 08:23, Christian Zigotzky a écrit :
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.

Harmless warning.

Fix at https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/powerpc/kernel/head_64.S?h=next-20190701&id=9c4e4c90ec24652921e31e9551fcaedc26eec86d

Will be cherry-picked by stable once merged into 4.3 I guess.

Christophe


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

Reply via email to