From: Vivek Goyal <vgoyal@in.ibm.com>
To: Len Brown <lenb@kernel.org>
Cc: Thomas Meyer <thomas@m3y3r.de>,
linux-kernel@vger.kernel.org,
Fastboot mailing list <fastboot@lists.osdl.org>
Subject: Re: Section mismatch on current git head
Date: Wed, 3 Jan 2007 11:34:52 +0530 [thread overview]
Message-ID: <20070103060452.GC25433@in.ibm.com> (raw)
In-Reply-To: <200612230040.28898.lenb@kernel.org>
On Sat, Dec 23, 2006 at 12:40:27AM -0500, Len Brown wrote:
>
> > WARNING: vmlinux - Section mismatch: reference to
> > .init.data:acpi_sci_flags from .text between 'acpi_sci_ioapic_setup' (at
> > offset 0xc010e020) and 'acpi_unmap_lsapic'
> > WARNING: vmlinux - Section mismatch: reference to
> > .init.data:acpi_sci_flags from .text between 'acpi_sci_ioapic_setup' (at
> > offset 0xc010e04a) and 'acpi_unmap_lsapic'
> > WARNING: vmlinux - Section mismatch: reference to
> > .init.text:mp_override_legacy_irq from .text between
> > 'acpi_sci_ioapic_setup' (at offset 0xc010e062) and 'acpi_unmap_lsapic'
> > WARNING: vmlinux - Section mismatch: reference to
> > .init.data:acpi_sci_override_gsi from .text between
> > 'acpi_sci_ioapic_setup' (at offset 0xc010e068) and 'acpi_unmap_lsapic'
>
> The acpi_sci_ioapic_setup ones should go away with the patch below, but do no harm in the mean-time.
> cheers,
> -Len
>
> commit 0351a612f7a46995c28d4ef6189229b5d1dfc6c3
> Author: Len Brown <len.brown@intel.com>
> Date: Thu Dec 21 01:29:59 2006 -0500
>
> ACPI: fix section mis-match build warning
>
> Dunno why this pops out in only in the allmodconfig build.
> Though the warning is accurate, all the callers of the flagged
> non __init function are __init, this is not a functional change.
>
Hi Len,
These warnings pop up on allmodconfig as CONFIG_RELOCATABLE is set.
This option retains relocation information in vmlinux file and MODPOST
goes through these relocations and generates warnings.
So till date MODPOST never cribbed about vmlinux section mismatches as
it could never detect those. But with CONFIG_RELOCATABLE=y, these mismatches
become visible to MODPOST.
Thanks
Vivek
prev parent reply other threads:[~2007-01-03 6:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-22 14:24 Section mismatch on current git head Thomas Meyer
2006-12-22 17:47 ` Randy Dunlap
2007-01-03 6:00 ` Vivek Goyal
2006-12-23 5:40 ` Len Brown
2007-01-03 6:04 ` Vivek Goyal [this message]
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=20070103060452.GC25433@in.ibm.com \
--to=vgoyal@in.ibm.com \
--cc=fastboot@lists.osdl.org \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas@m3y3r.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox