Re: 2.6.22.6: still seeing section mismatch warnings
From: Sam Ravnborg
Date: Thu Sep 13 2007 - 03:00:45 EST
On Wed, Sep 12, 2007 at 06:00:17PM +0200, Frank van Maarseveen wrote:
> I'm still seeing the warnings below (2.6.22 started off with lots of
> section mismatch warning) but I have no idea if it is safe to ignore
> these:
>
> WARNING: arch/i386/kernel/built-in.o(.text+0xea62): Section mismatch: reference to .init.data:trampoline_end (between 'setup_trampoline' and 'cpu_coregroup_map')
> WARNING: arch/i386/kernel/built-in.o(.text+0xea67): Section mismatch: reference to .init.data:trampoline_data (between 'setup_trampoline' and 'cpu_coregroup_map')
> WARNING: arch/i386/kernel/built-in.o(.text+0xea79): Section mismatch: reference to .init.data:trampoline_data (between 'setup_trampoline' and 'cpu_coregroup_map')
> WARNING: arch/i386/kernel/built-in.o(.exit.text+0x26): Section mismatch: reference to .init.text: (between 'cache_remove_dev' and 'ffh_cstate_exit')
> WARNING: arch/i386/kernel/built-in.o(.data+0xee0): Section mismatch: reference to .init.text: (between 'thermal_throttle_cpu_notifier' and 'mce_work')
> WARNING: kernel/built-in.o(.text+0x1b415): Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
>
>
> gcc version 3.4.6 (Debian 3.4.6-5)
Does not appear with an allmodconfig.
Care to send me your .config then I may take a look.
The warnings are the kernel being much more anal with respect to use
of __init sections and friends and you can for normal use ignore them.
They usually find bugs in errorhandling which seldom trigger and
the bugs has been there for ages in most cases - but it is onyl now
we detect them.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/