kdb
[Top] [All Lists]

Re: Section mismatch warning when linking modules.

To: jidong xiao <jidong.xiao@xxxxxxxxx>
Subject: Re: Section mismatch warning when linking modules.
From: Jay Lan <jlan@xxxxxxx>
Date: Wed, 30 Jan 2008 10:01:23 -0800
Cc: Régis Odeyé <rod@xxxxxxxxxxxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <4104961b0801300017v6aea9787g31708120404cec4c@mail.gmail.com>
References: <479F3166.1000000@thalescomputers.fr> <4104961b0801300017v6aea9787g31708120404cec4c@mail.gmail.com>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070801)
jidong xiao wrote:
> On Jan 29, 2008 10:00 PM, Régis Odeyé <rod@xxxxxxxxxxxxxxxxxx> wrote:
>> 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.
>>
> 
> Well, I feel you can directly ignore this message.I think it's
> harmless and I suspect that it has nothing to do with kdb.

Yes. And if you are interested you can do a google search on "section
mismatch" and read some discussion threads on the subject.

Cheers,
 - jay


> 
> Regards
> Jason
> 
> ---------------------------
> Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

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