From: Michael Ellerman <michael@ellerman.id.au>
To: Chris Friesen <cfriesen@nortel.com>
Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: section mismatch warnings in current git head for powerpc
Date: Fri, 23 May 2008 11:02:39 +1000 [thread overview]
Message-ID: <1211504559.7671.2.camel@localhost> (raw)
In-Reply-To: <4835ABDB.8020901@nortel.com>
[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]
On Thu, 2008-05-22 at 11:22 -0600, Chris Friesen wrote:
> I got the following warnings when building current git head for powerpc
> 64bit:
>
>
> LD net/ipv4/built-in.o
> LD drivers/scsi/built-in.o
> LD net/built-in.o
> LD drivers/built-in.o
> LD vmlinux.o
> MODPOST vmlinux.o
> WARNING: vmlinux.o(.text+0x73bc): Section mismatch in reference from the
> function .start_secondary_prolog() to the function
> .devinit.text:.start_secondary()
> The function .start_secondary_prolog() references
> the function __devinit .start_secondary().
> This is often because .start_secondary_prolog lacks a __devinit
> annotation or the annotation of .start_secondary is wrong.
start_secondary_prolog() is in asm, so I don't know what you're supposed
to do with that.
> WARNING: vmlinux.o(.text+0x260a8): Section mismatch in reference from
> the function .pci_dn_reconfig_notifier() to the function
> .devinit.text:.update_dn_pci_info()
> The function .pci_dn_reconfig_notifier() references
> the function __devinit .update_dn_pci_info().
> This is often because .pci_dn_reconfig_notifier lacks a __devinit
> annotation or the annotation of .update_dn_pci_info is wrong.
I think pci_dn_reconfig_notifier() could be __devinit, but it's not
clear because the code that calls it is not __devinit or conditional on
HOTPLUG, eventhough in practice I think it is only used for hotplug.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <michael@ellerman.id.au>
To: Chris Friesen <cfriesen@nortel.com>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: section mismatch warnings in current git head for powerpc
Date: Fri, 23 May 2008 11:02:39 +1000 [thread overview]
Message-ID: <1211504559.7671.2.camel@localhost> (raw)
In-Reply-To: <4835ABDB.8020901@nortel.com>
[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]
On Thu, 2008-05-22 at 11:22 -0600, Chris Friesen wrote:
> I got the following warnings when building current git head for powerpc
> 64bit:
>
>
> LD net/ipv4/built-in.o
> LD drivers/scsi/built-in.o
> LD net/built-in.o
> LD drivers/built-in.o
> LD vmlinux.o
> MODPOST vmlinux.o
> WARNING: vmlinux.o(.text+0x73bc): Section mismatch in reference from the
> function .start_secondary_prolog() to the function
> .devinit.text:.start_secondary()
> The function .start_secondary_prolog() references
> the function __devinit .start_secondary().
> This is often because .start_secondary_prolog lacks a __devinit
> annotation or the annotation of .start_secondary is wrong.
start_secondary_prolog() is in asm, so I don't know what you're supposed
to do with that.
> WARNING: vmlinux.o(.text+0x260a8): Section mismatch in reference from
> the function .pci_dn_reconfig_notifier() to the function
> .devinit.text:.update_dn_pci_info()
> The function .pci_dn_reconfig_notifier() references
> the function __devinit .update_dn_pci_info().
> This is often because .pci_dn_reconfig_notifier lacks a __devinit
> annotation or the annotation of .update_dn_pci_info is wrong.
I think pci_dn_reconfig_notifier() could be __devinit, but it's not
clear because the code that calls it is not __devinit or conditional on
HOTPLUG, eventhough in practice I think it is only used for hotplug.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-05-23 1:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-22 17:22 section mismatch warnings in current git head for powerpc Chris Friesen
2008-05-22 17:50 ` Bart Van Assche
2008-05-22 17:50 ` Bart Van Assche
2008-05-23 1:02 ` Michael Ellerman [this message]
2008-05-23 1:02 ` Michael Ellerman
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=1211504559.7671.2.camel@localhost \
--to=michael@ellerman.id.au \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
/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.