Re: build #343 issue for v2.6.24-rc8-29-g03bbe08 : Sectionmismatch: reference to .init.text.1:start_kernel (between 'is386'and 'check_x87')

From: WANG Cong
Date: Sat Jan 19 2008 - 06:21:47 EST


On Fri, Jan 18, 2008 at 07:47:55PM +0100, Sam Ravnborg wrote:
>Hi Wang.
>> >> >Following untested patch should fix it.
>> >> >
>> >>
>> >> Still has the same problem. ;(
>> >Could you please doublecheck that you applied the patch and modpost is rebuilt.
>> >If you continue to see the problem could you send me the config (off-list) and
>> >I will fix it.
>>
>> Sure thing.
>>
>> I got something like this:
>>
>> HOSTCC scripts/mod/modpost.o
>> HOSTLD scripts/mod/modpost
>>
>> So modpost was rebuilt. And I am quite sure I had applied your patch.
>>
>> My .config is just the one provided by Toralf. If you need me to send
>> you again, please tell me.
>
>I took Toralf's original config and did a build of latest mainline kernel.
>I got two section mismatch warnings:
>WARNING: vmlinux.o(.text+0x14c8): Section mismatch: reference to .init.data:vsyscall_int80_start (between 'fiddle_vdso' and 'xen_setup_features')
>WARNING: vmlinux.o(.text.head+0x247): Section mismatch: reference to .init.text.1:start_kernel (between 'is386' and 'check_x87')
>
>Applying the patch I orginally posted fixed the latter of the two.
>The first was fixed by declaring fiddle_vdso __init.
>
>I have tripple chcked that my patch fixes the latter of the two warnings
>and it does. So something is different at your place.
>
>Could you send me the exact warning as you see it.
>

Sorry.

This time the patch is OK. Thanks for your patch!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/