Re: 2.6.22-rc2: section mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 19, 2007 at 02:43:21PM +0400, Andrey Borzenkov wrote:
>   MODPOST vmlinux
> WARNING: init/built-in.o - Section mismatch: reference to .init.text: 
> from .text between 'rest_init' (at offset 0x11b) and 'try_name'
Fixed in kbuild.fix.git.

> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:amd_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x967a) and 'mtrr_attrib_to_str'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:cyrix_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x967f) and 'mtrr_attrib_to_str'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text:centaur_init_mtrr from .text between 'mtrr_bp_init' (at offset 
> 0x9684) and 'mtrr_attrib_to_str'

mtrr_bp_init() should be declared __init

> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa735) 
> and 'generic_get_mtrr'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa749) 
> and 'generic_get_mtrr'
> WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference 
> to .init.text: from .text between 'get_mtrr_state' (at offset 0xa770) 
> and 'generic_get_mtrr'

get_mtrr_state should be declared __init

> WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from .text 
> between 'kmem_cache_create' (at offset 0x1bffd) and 'cache_reap'
> WARNING: mm/built-in.o - Section mismatch: reference to .init.text: from .text 
> between 'kmem_cache_create' (at offset 0x1c232) and 'cache_reap'

Fixed in kbuild-git.git

	Sam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux