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

From: Davide Pesavento
Date: Fri Apr 11 2008 - 14:02:20 EST


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 often because _cpu_down lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

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

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

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

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

WARNING: vmlinux.o(.data+0x36d4): Section mismatch in reference from
the variable profile_cpu_callback_nb.19353 to the function
.devinit.text:profile_cpu_callback()
The variable profile_cpu_callback_nb.19353 references
the function __devinit profile_cpu_callback()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0x5088): Section mismatch in reference from
the variable workqueue_cpu_callback_nb.13652 to the function
.devinit.text:workqueue_cpu_callback()
The variable workqueue_cpu_callback_nb.13652 references
the function __devinit workqueue_cpu_callback()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0x75e4): Section mismatch in reference from
the variable cpu_callback_nb.23759 to the function
.devinit.text:cpu_callback()
The variable cpu_callback_nb.23759 references
the function __devinit cpu_callback()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0xa410): Section mismatch in reference from
the variable percpu_counter_hotcpu_callback_nb.9677 to the function
.cpuinit.text:percpu_counter_hotcpu_callback()
The variable percpu_counter_hotcpu_callback_nb.9677 references
the function __cpuinit percpu_counter_hotcpu_callback()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

WARNING: vmlinux.o(.data+0x11000): Section mismatch in reference from
the variable topology_cpu_callback_nb.11178 to the function
.cpuinit.text:topology_cpu_callback()
The variable topology_cpu_callback_nb.11178 references
the function __cpuinit topology_cpu_callback()
If the reference is valid then annotate the
variable with __init* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

Attachment: .config
Description: Binary data