All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: WANG Cong <xiyou.wangcong@gmail.com>
Cc: "Toralf Förster" <toralf.foerster@gmx.de>,
	linux-kernel@vger.kernel.org, rusty@rustcorp.com.au
Subject: Re: build #343 issue for v2.6.24-rc8-29-g03bbe08 : Section mismatch: reference to .init.text.1:start_kernel (between 'is386' and 'check_x87')
Date: Fri, 18 Jan 2008 19:47:55 +0100	[thread overview]
Message-ID: <20080118184755.GA20020@uranus.ravnborg.org> (raw)
In-Reply-To: <20080118161452.GJ2559@hacking>

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.

Thanks,

	Sam

  reply	other threads:[~2008-01-18 18:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 12:18 build #343 issue for v2.6.24-rc8-29-g03bbe08 : Section mismatch: reference to .init.text.1:start_kernel (between 'is386' and 'check_x87') Toralf Förster
2008-01-18 12:29 ` WANG Cong
2008-01-18 12:46   ` Sam Ravnborg
2008-01-18 12:51     ` WANG Cong
2008-01-18 13:22       ` Sam Ravnborg
2008-01-18 16:14         ` WANG Cong
2008-01-18 18:47           ` Sam Ravnborg [this message]
2008-01-19 11:20             ` WANG Cong
2008-01-18 19:03           ` [PATCH for -rc] kbuild: fix false section mismatch warning referring to .init.text.2 Sam Ravnborg
2008-01-19 13:17           ` [PATCH] xen: fix section usage in xen-head.S Sam Ravnborg
2008-01-19 21:20             ` [updated PATCH] xen: fix section usage in xen-head.S and setup.c Sam Ravnborg
2008-01-19 22:23               ` Jeremy Fitzhardinge
2008-01-19 22:43                 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080118184755.GA20020@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=toralf.foerster@gmx.de \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.