Wind River Support Network

HomeDefectsLIN9-6250
Fixed

LIN9-6250 : kernel WARNING: modpost: Found 2 section mismatch(es). with nxp-t4xxx

Created: Jan 21, 2018    Updated: Feb 11, 2019
Resolved Date: Jan 28, 2018
Previous ID: CGP9-300,LIN9-6239
Found In Version: 9.0.0.13
Fix Version: 9.0.0.14
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP

Description

WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

After enabling CONFIG_DEBUG_SECTION_MISMATCH, the real warnings are

WARNING: drivers/uio/built-in.o(.text+0x26ec): Section mismatch in reference from the function .fsl_srio_uio_probe() to the function .init.text:.srio_uio_setup(
The function .fsl_srio_uio_probe() references                                                                                                                   
the function __init .srio_uio_setup().                                                                                                                          
This is often because .fsl_srio_uio_probe lacks a __init                                                                                                        
annotation or the annotation of .srio_uio_setup is wrong.                                                                                                       
                                                                                                                                                                
WARNING: drivers/uio/built-in.o(.text+0x28d8): Section mismatch in reference from the function .fsl_srio_uio_probe() to the function .init.text:.srio_uio_setup(
The function .fsl_srio_uio_probe() references                                                                                                                   
the function __init .srio_uio_setup().                                                                                                                          
This is often because .fsl_srio_uio_probe lacks a __init                                                                                                        
annotation or the annotation of .srio_uio_setup is wrong.

Steps to Reproduce

1) ./wrlinux-9/setup.sh --machines=nxp-t4xxx --kernel=cgl --all-layers --layers wr-cgl --distros=wrlinux-cgl --accept-eula=yes --user=wrl9_test_internal_cgp@windriver.com --password=****** && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build


2) update local.conf
#rm work
echo INHERIT += \"rm_work\" >> conf/local.conf
#rm old image
echo RM_OLD_IMAGE = \"1\" >> conf/local.conf
#Disable intelnet download
echo BB_NO_NETWORK = \'0\' >> conf/local.conf

3) bitbake -k wrlinux-image-glibc-cgl

Other Downloads


Live chat
Online