Thread (5 messages) flat view 5 messages, 3 authors, 2019-06-10

Re: Latest Git kernel: Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup()

From: Christophe Leroy <hidden>
Date: 2019-05-15 10:17:17

Hi,

Le 15/05/2019 à 12:09, Christian Zigotzky a écrit :
Hi All,

I got the following error messages with the latest Git kernel today:

GEN     .version
   CHK     include/generated/compile.h
   LD      vmlinux.o
   MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x302a): 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.

   MODINFO modules.builtin.modinfo
   KSYM    .tmp_kallsyms1.o
   KSYM    .tmp_kallsyms2.o
   LD      vmlinux
   SORTEX  vmlinux
   SYSMAP  System.map
   CHKHEAD vmlinux

What does it mean?
I proposed a patch for it at https://patchwork.ozlabs.org/patch/1097845/

Christophe
Please find attached the kernel config.

Thanks,
Christian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help