Re: Latest GIT section mismatches

From: Randy.Dunlap
Date: Fri Oct 17 2008 - 16:15:30 EST


On Fri, 17 Oct 2008, Fabio Comolli wrote:

> Linus ' GIT 2.6.27-05323-g26e9a39 (pulled less than one hour ago) gives:
>
> WARNING: vmlinux.o(.text+0x1cde2): Section mismatch in reference from
> the function reserve_region_with_split() to the function
> .init.text:__reserve_region_with_split()
> The function reserve_region_with_split() references
> the function __init __reserve_region_with_split().
> This is often because reserve_region_with_split lacks a __init
> annotation or the annotation of __reserve_region_with_split is wrong.
>
> WARNING: vmlinux.o(.cpuinit.text+0xeec): Section mismatch in reference
> from the function cpu_init() to the function
> .init.text:init_thread_xstate()
> The function __cpuinit cpu_init() references
> a function __init init_thread_xstate().
> If init_thread_xstate is only used by cpu_init then
> annotate init_thread_xstate with a matching annotation.
>
> 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.

so on i386.

Did you build with CONFIG_DEBUG_SECTION_MISMATCH=y ?

> I'll send .config on request.

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