kdb
[Top] [All Lists]

Section mismatch warning when linking modules.

To: kdb@xxxxxxxxxxx
Subject: Section mismatch warning when linking modules.
From: Régis Odeyé <rod@xxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jan 2008 15:00:06 +0100
Organization: Thales Computers
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20061008)
Hi,
I applied the kdb v4.4 2.6.18 patches against a RHEL5 kernel and, with
some light adaptations, it is working properly.
Nevertheless, during the link of the kernel modules, I get the following
warning from MODPOST:
[root@emitest4 linux-2.6.18.i386]# make modules
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  Building modules, stage 2.
  MODPOST
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params
from .text between '_text' (at offset 0xc0400029) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params
from .text between '_text' (at offset 0xc0400037) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:init_pg_tables_end from .text between '_text' (at offset
0xc0400099) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400126) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400130) and 'is486'
...

I would like to be sure that this can not lead to any troubles.
Is there anyone who get this warning before ? Any clue to fix this ?
It seems to be related to the modification in vmlinux.lds.S but I'm not
very familiar with ld script.

Regards
Régis Odeyé



---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>