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

5 messages, 3 authors, 2019-06-10 · open the first message on its own page

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

From: Christian Zigotzky <hidden>
Date: 2019-05-15 10:14:20

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?

Please find attached the kernel config.

Thanks,
Christian

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

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

From: Shawn Landden <hidden>
Date: 2019-05-16 13:14:44

Hi

El mié., 15 may. 2019 5:17, Christophe Leroy [off-list ref]
escribió:
Hi,

Le 15/05/2019 à 12:09, Christian Zigotzky a écrit :
quoted
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()
quoted
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?
The best first thing to do with these type of errors is to Google them. If
you see there are patches just assume somebody else is working on it. That
saves everybody time, because these things tend to get duplicate reports.
I proposed a patch for it at https://patchwork.ozlabs.org/patch/1097845/

Christophe
quoted
Please find attached the kernel config.

Thanks,
Christian

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

From: Christian Zigotzky <hidden>
Date: 2019-06-10 10:41:59

Hello Christophe,

Could you please add this patch to the GIT kernel because the issue still exists.

Thanks,
Christian

On 15. May 2019, at 12:15, Christophe Leroy [off-list ref] wrote:

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

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-06-10 20:11:49

Michael ?

Christian Zigotzky [off-list ref] a écrit :
Hello Christophe,

Could you please add this patch to the GIT kernel because the issue  
still exists.

Thanks,
Christian

On 15. May 2019, at 12:15, Christophe Leroy [off-list ref] wrote:

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

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