[ 2.6.27-rc5 ] x86-32 results of CONFIG_DEBUG_SECTION_MISMATCH

From: Gerardo Exequiel Pozzi
Date: Fri Aug 29 2008 - 20:24:33 EST


Hi,

Using:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.27-rc5.tar.bz2

The config is here: http://pastebin.com/f1754954e


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

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

WARNING: vmlinux.o(.data+0x57f4): Section mismatch in reference from the
variable contig_page_data to the variable .init.data:bootmem_node_data
The variable contig_page_data references
the variable __initdata bootmem_node_data
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(.cpuinit.data+0x0): Section mismatch in reference
from the variable initial_code to the function
.init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.

WARNING: vmlinux.o(.cpuinit.data+0xfd0): Section mismatch in reference
from the variable trampoline_data to the variable .init.text:startup_32_smp
The variable __cpuinitdata trampoline_data references
a variable __init startup_32_smp.
If startup_32_smp is only used by trampoline_data then
annotate startup_32_smp with a matching annotation.

Chau,

--
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D

--
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/