Re: Section mismatch warning when linking modules.
"jidong xiao" <[email protected]> Wed, 30 Jan 2008 16:17:14 +0800
| Newsgroups | gmane.linux.kernel.debugging |
|---|---|
| Message-ID | <[email protected]> |
On Jan 29, 2008 10:00 PM, Régis Odeyé <[email protected]> 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. Regards Jason --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.