[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070103060452.GC25433@in.ibm.com>
Date: Wed, 3 Jan 2007 11:34:52 +0530
From: Vivek Goyal <vgoyal@...ibm.com>
To: Len Brown <lenb@...nel.org>
Cc: Thomas Meyer <thomas@...3r.de>, linux-kernel@...r.kernel.org,
Fastboot mailing list <fastboot@...ts.osdl.org>
Subject: Re: Section mismatch on current git head
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@...el.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists