MODPOST section mismatches

Steve Heflin sheflin at newagemicro.com
Sat Feb 23 09:26:52 EST 2008


FLAT_MEM is one of the configuration options:
       CONFIG_ARCH_FLATMEM_ENABLE=y

At 03:52 PM 2/22/2008, Josh Boyer wrote:
>On Fri, 22 Feb 2008 11:12:47 -0500
>Steve Heflin <sheflin at newagemicro.com> wrote:
>
> > To reproduce the problem and see the details on section mismatches:
> >
> >      make ARCH=powerpc sequoia_defconfig
> >
> >      make ARCH=powerpc CONFIG_DEBUG_SECTION_MISMATCH=y
>
>All of those warnings are in drivers or common code.  And yes, they
>should eventually all be fixed.
>
> > >After modifying the make launch to include the recommended option
> > >shown above, I see that the section mismatch warning is due to data
> > >structures containing the address of initialization modules which
> > >have the __init attribute. Since the memory model is FLAT, is 
> this a problem?
>
>What do you mean by "the memory model is FLAT"?
>
>josh
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded at ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list