Thread (5 messages) flat view 5 messages, 5 authors, 2007-05-10

Re: Section mismatch warnings (was Re: [PATCH] early_pfn_to_nid needs to be __meminit)

From: Linas Vepstas <hidden>
Date: 2007-05-09 19:45:18
Also in: lkml

On Wed, May 09, 2007 at 06:51:15PM +0200, Gabriel Paubert wrote:
On Thu, May 10, 2007 at 02:25:52AM +1000, Stephen Rothwell wrote:
quoted
This removes a section mismatch warning in those circumstances.
Speaking of this, I just tried to compile an official (Linus' git tree) 
kernel for my old PMac G4 and I get a lot of section mismatch warnings at 
the end of the compilation:

WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference to .init.text:early_get_page from .text between 'pte_alloc_one_kernel' (at offset 0xf50) and 'v_mapped_by_bats'

I find these 50 or so warnings so scary that I've not yet tried 
to boot the kernel. Note that this is a non-modular kernel.
I'm getting oodles of these on an older -mm2 tree. The kernels seem to
work fine. Yes, they should be fixed but I'm up to my proverbial eyballs
in alligators.

--linas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help