On Thu, Sep 13, 2007 at 09:02:00AM +0200, Sam Ravnborg wrote: > 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. See attached .config > > 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. thanks, -- Frank