login
Header Space

 
 

Re: linux-2.6.25-rc8-git7 - section mismatches on x86

Previous thread: [patch 2.6.25-rc8] leds: fix platform driver hotplug/coldplug by David Brownell on Friday, April 11, 2008 - 1:38 pm. (3 messages)

Next thread: AMD Quad Core clock problem? by Marc Perkel on Friday, April 11, 2008 - 2:27 pm. (28 messages)
To: <linux-kernel@...>
Date: Friday, April 11, 2008 - 2:02 pm

While compiling linux-2.6.25-rc8-git7 with
CONFIG_DEBUG_SECTION_MISMATCH=y, I noticed the following "section
mismatch" warnings.
Please CC me as I'm not subscribed to this list.

WARNING: vmlinux.o(.text+0x10d58): Section mismatch in reference from
the function cpu_exit_clear() to the function
.cpuinit.text:cpu_uninit()
The function cpu_exit_clear() references
the function __cpuinit cpu_uninit().
This is often because cpu_exit_clear lacks a __cpuinit
annotation or the annotation of cpu_uninit is wrong.

WARNING: vmlinux.o(.text+0x44fe7): Section mismatch in reference from
the function take_cpu_down() to the variable .cpuinit.data:cpu_chain
The function take_cpu_down() references
the variable __cpuinitdata cpu_chain.
This is often because take_cpu_down lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

WARNING: vmlinux.o(.text+0x45071): Section mismatch in reference from
the function _cpu_down() to the variable .cpuinit.data:cpu_chain
The function _cpu_down() references
the variable __cpuinitdata cpu_chain.
This is often because _cpu_down lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

WARNING: vmlinux.o(.text+0x450e0): Section mismatch in reference from
the function _cpu_down() to the variable .cpuinit.data:cpu_chain
The function _cpu_down() references
the variable __cpuinitdata cpu_chain.
This is often because _cpu_down lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

WARNING: vmlinux.o(.text+0x4513f): Section mismatch in reference from
the function _cpu_down() to the variable .cpuinit.data:cpu_chain
The function _cpu_down() references
the variable __cpuinitdata cpu_chain.
This is often because _cpu_down lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

WARNING: vmlinux.o(.text+0x4516f): Section mismatch in reference from
the function _cpu_down() to the variable .cpuinit.data:cpu_chain
The function _cpu_down() references
the variable __cpuinitdata cpu_chain.
This is o...
To: Davide Pesavento <davidepesa@...>
Cc: <linux-kernel@...>
Date: Friday, April 11, 2008 - 2:25 pm

Thanks for your report Davide.
We have several "Section mismatch warning" fixes queued
up in -mm and in x86.git so I expect most of the ones below
to be already fixed.
Merging is postponed until next merge window.

A similar report at -rc1 time would be good.

	Sam
--
Previous thread: [patch 2.6.25-rc8] leds: fix platform driver hotplug/coldplug by David Brownell on Friday, April 11, 2008 - 1:38 pm. (3 messages)

Next thread: AMD Quad Core clock problem? by Marc Perkel on Friday, April 11, 2008 - 2:27 pm. (28 messages)
speck-geostationary