Section mismatch in reference from the function .early_init_mmu() to the function .init.text:.radix__early_init_mmu() after PowerPC updates 5.7-1

Christian Zigotzky chzigotzky at xenosoft.de
Sat Apr 11 06:50:11 AEST 2020


Hello,

The issue still exists after the new PowerPC updates 5.7-2.

Please check the PowerPC updates 5.7-1.

Thanks,
Christian

On 08 April 2020 at 6:32 pm, Christian Zigotzky wrote:
> Hello,
>
> Since the PowerPC updates 5.7-1 we have the following issue during the 
> linking of vmlinux:
>
> MODPOST vmlinux.o
> WARNING: modpost: vmlinux.o(.text.unlikely+0x1a0): Section mismatch in 
> reference from the function .early_init_mmu() to the function 
> .init.text:.radix__early_init_mmu()
> The function .early_init_mmu() references
> the function __init .radix__early_init_mmu().
> This is often because .early_init_mmu lacks a __init
> annotation or the annotation of .radix__early_init_mmu is wrong.
>
> WARNING: modpost: vmlinux.o(.text.unlikely+0x1ac): Section mismatch in 
> reference from the function .early_init_mmu() to the function 
> .init.text:.hash__early_init_mmu()
> The function .early_init_mmu() references
> the function __init .hash__early_init_mmu().
> This is often because .early_init_mmu lacks a __init
> annotation or the annotation of .hash__early_init_mmu is wrong.
>
> ---
>
> But the kernel works without any problems after the linking.
>
> I reverted the following commits:
>
> 70fbdfef4ba63eeef83b2c94eac9a5a9f913e442 -- sysfs: remove redundant 
> __compat_only_sysfs_link_entry_to_kobj fn
>
> d38c07afc356ddebaa3ed8ecb3f553340e05c969 -- Merge tag 'powerpc-5.7-1' 
> of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
>
> And after that the linking of vmlinux works again.
>
> Please check the PowerPC updates 5.7-1.
>
> Thanks,
> Christian



More information about the Linuxppc-dev mailing list