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

Christophe Leroy christophe.leroy at c-s.fr
Wed May 15 20:15:49 AEST 2019


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
> 


More information about the Linuxppc-dev mailing list