linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Section mismatch warning
@ 2007-08-23  2:30 sivaji
  2007-08-23  2:36 ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: sivaji @ 2007-08-23  2:30 UTC (permalink / raw)
  To: linuxppc-dev


Hi,
        When compiling the 2.6.23-rc3 kernel,  i got following warning
messages.

WARNING: vmlinux.o(.text+0x18): Section mismatch: reference to
.init.text:early_init (between '__start' and '__after_mmu_off')
WARNING: vmlinux.o(.text+0x3834): Section mismatch: reference to
.init.text:machine_init (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x383c): Section mismatch: reference to
.init.text:MMU_init (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x3866): Section mismatch: reference to
.init.text:start_kernel (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x386a): Section mismatch: reference to
.init.text:start_kernel (between 'start_here' and 'set_context')

Processor            : 8641D
Give some idea how to overcome this warning. 

                
-- 
View this message in context: http://www.nabble.com/Section-mismatch-warning-tf4315101.html#a12286518
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Section mismatch warning
  2007-08-23  2:30 sivaji
@ 2007-08-23  2:36 ` Kumar Gala
  2007-08-23  6:00   ` sivaji
  0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2007-08-23  2:36 UTC (permalink / raw)
  To: sivaji; +Cc: linuxppc-dev


On Aug 22, 2007, at 9:30 PM, sivaji wrote:

>
> Hi,
>         When compiling the 2.6.23-rc3 kernel,  i got following warning
> messages.
>
> WARNING: vmlinux.o(.text+0x18): Section mismatch: reference to
> .init.text:early_init (between '__start' and '__after_mmu_off')
> WARNING: vmlinux.o(.text+0x3834): Section mismatch: reference to
> .init.text:machine_init (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x383c): Section mismatch: reference to
> .init.text:MMU_init (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x3866): Section mismatch: reference to
> .init.text:start_kernel (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x386a): Section mismatch: reference to
> .init.text:start_kernel (between 'start_here' and 'set_context')
>
> Processor            : 8641D
> Give some idea how to overcome this warning.

There is a patch posted on the list for this.  I doubt will fix these  
for 2.6.23 as they are just warnings.

http://patchwork.ozlabs.org/linuxppc/patch?id=13066

- k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Section mismatch warning
  2007-08-23  2:36 ` Kumar Gala
@ 2007-08-23  6:00   ` sivaji
  0 siblings, 0 replies; 5+ messages in thread
From: sivaji @ 2007-08-23  6:00 UTC (permalink / raw)
  To: linuxppc-dev



Hi,
        I applied the patch(13066). After that i got following error.
 arch/powerpc/kernel/vmlinux.lds:59: parse error

I added the following lines in the vmlinux.lds file
  ALIGN_FUNCTION();
  *(.text.head)

Then i removed the ALIGN_FUNCTION() in the vmlinux.lds file. The parse error
was overcome. I don't know after removing the ALIGN_FUNCTION why the error
was overcome. 

>
> Hi,
>         When compiling the 2.6.23-rc3 kernel,  i got following warning
> messages.
>
> WARNING: vmlinux.o(.text+0x18): Section mismatch: reference to
> .init.text:early_init (between '__start' and '__after_mmu_off')
> WARNING: vmlinux.o(.text+0x3834): Section mismatch: reference to
> .init.text:machine_init (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x383c): Section mismatch: reference to
> .init.text:MMU_init (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x3866): Section mismatch: reference to
> .init.text:start_kernel (between 'start_here' and 'set_context')
> WARNING: vmlinux.o(.text+0x386a): Section mismatch: reference to
> .init.text:start_kernel (between 'start_here' and 'set_context')
>
> Processor            : 8641D
> Give some idea how to overcome this warning.

There is a patch posted on the list for this.  I doubt will fix these  
for 2.6.23 as they are just warnings.

http://patchwork.ozlabs.org/linuxppc/patch?id=13066

- k

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev



-- 
View this message in context: http://www.nabble.com/Section-mismatch-warning-tf4315101.html#a12288012
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Section mismatch warning
@ 2007-09-14 12:01 sivaji
  2007-09-14 12:15 ` Josh Boyer
  0 siblings, 1 reply; 5+ messages in thread
From: sivaji @ 2007-09-14 12:01 UTC (permalink / raw)
  To: linuxppc-dev


Hi,
         When compiling the kernel 2.6.23-rc4 for our custom board based on
MPC8641, I got following warning messages

WARNING: vmlinux.o(.text+0x169f6): Section mismatch: reference to
.init.data:boot_command_line (between 'note_bootable_part' and
'pmac_restart')
WARNING: vmlinux.o(.text+0x16a02): Section mismatch: reference to
.init.data:boot_command_line (between 'note_bootable_part' and
'pmac_restart')
WARNING: vmlinux.o(.text+0x16a12): Section mismatch: reference to
.init.data:boot_command_line (between 'note_bootable_part' and
'pmac_restart')

 Give some idea to fix these warnings.

by
Sivaji      

-- 
View this message in context: http://www.nabble.com/Section-mismatch-warning-tf4442060.html#a12673863
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Section mismatch warning
  2007-09-14 12:01 Section mismatch warning sivaji
@ 2007-09-14 12:15 ` Josh Boyer
  0 siblings, 0 replies; 5+ messages in thread
From: Josh Boyer @ 2007-09-14 12:15 UTC (permalink / raw)
  To: sivaji; +Cc: linuxppc-dev

On Fri, 14 Sep 2007 05:01:14 -0700 (PDT)
sivaji <rameshmrm@gmail.com> wrote:

> 
> Hi,
>          When compiling the kernel 2.6.23-rc4 for our custom board based on
> MPC8641, I got following warning messages
> 
> WARNING: vmlinux.o(.text+0x169f6): Section mismatch: reference to
> .init.data:boot_command_line (between 'note_bootable_part' and
> 'pmac_restart')
> WARNING: vmlinux.o(.text+0x16a02): Section mismatch: reference to
> .init.data:boot_command_line (between 'note_bootable_part' and
> 'pmac_restart')
> WARNING: vmlinux.o(.text+0x16a12): Section mismatch: reference to
> .init.data:boot_command_line (between 'note_bootable_part' and
> 'pmac_restart')
> 
>  Give some idea to fix these warnings.

These should be fixed for 2.6.24

josh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-14 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14 12:01 Section mismatch warning sivaji
2007-09-14 12:15 ` Josh Boyer
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23  2:30 sivaji
2007-08-23  2:36 ` Kumar Gala
2007-08-23  6:00   ` sivaji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).