* [2.6.28-rc6-git1] compilation warnings and section mismatches
@ 2008-11-23 9:40 Rufus & Azrael
0 siblings, 0 replies; only message in thread
From: Rufus & Azrael @ 2008-11-23 9:40 UTC (permalink / raw)
To: Linux-kernel Mailing List, Ingo Molnar
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
Hi all,
Here are my warnings and section mismatches when compiling
2.6.28-rc6-git1 kernel. All are fixed in git trees but patches are not
yet pulled in mainline.
Regards.
[-- Attachment #2: 2.6.28-rc6-git1_compilation_warnings_section_mismatches --]
[-- Type: text/plain, Size: 2346 bytes --]
arch/x86/kernel/cpu/mtrr/main.c: In function âmtrr_cleanupâ:
arch/x86/kernel/cpu/mtrr/main.c:1363: attention : âgran_factorâ may be used uninitialized in this function
arch/x86/kernel/cpu/mtrr/main.c:1364: attention : âgran_baseâ may be used uninitialized in this function
fixed by patch in http://marc.info/?l=linux-kernel&m=122394648405506&w=2 but not yet in mainline
-----------------------------------------------------------------------------------------------------
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x347): Section mismatch in reference from the function fpu_init() to the function .init.text:init_thread_xstate()
The function __cpuinit fpu_init() references
a function __init init_thread_xstate().
If init_thread_xstate is only used by fpu_init then
annotate init_thread_xstate with a matching annotation.
WARNING: vmlinux.o(.cpuinit.text+0x605): Section mismatch in reference from the function fpu_init() to the function .init.text:init_thread_xstate()
The function __cpuinit fpu_init() references
a function __init init_thread_xstate().
If init_thread_xstate is only used by fpu_init then
annotate init_thread_xstate with a matching annotation.
fixed by patches in http://marc.info/?l=linux-kernel&m=122718681726939&w=2
and http://marc.info/?l=linux-kernel&m=122718656126513&w=2 but not yet in mainline
-----------------------------------------------------------------------------------------------------
WARNING: kernel/built-in.o(.text+0x10a50): Section mismatch in reference from the function notify_cpu_starting() to the variable .cpuinit.data:cpu_chain
The function notify_cpu_starting() references
the variable __cpuinitdata cpu_chain.
This is often because notify_cpu_starting lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.
WARNING: vmlinux.o(.text+0x34230): Section mismatch in reference from the function notify_cpu_starting() to the variable .cpuinit.data:cpu_chain
The function notify_cpu_starting() references
the variable __cpuinitdata cpu_chain.
This is often because notify_cpu_starting lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.
fixed by patch in http://marc.info/?l=linux-kernel&m=122533953711446&w=2 but not yet in mainline
----------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-23 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-23 9:40 [2.6.28-rc6-git1] compilation warnings and section mismatches Rufus & Azrael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox