All of lore.kernel.org
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: 3.1-rc1 link failure
Date: Mon, 08 Aug 2011 13:49:31 -0500	[thread overview]
Message-ID: <4E402FBB.2070401@gmail.com> (raw)

Russell,

This commit is causing some link failures:

    ARM: vmlinux.lds: move discarded sections to beginning

    Rather than scattering the discarded sections throughout the linker
    file, move them to the start.

    Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Tested-by: Stephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

The error is this:

`.exit.text' referenced in section `.alt.smp.init' of
drivers/built-in.o: defined in discarded section `.exit.text' of
drivers/built
-in.o
`.exit.text' referenced in section `.alt.smp.init' of net/built-in.o:
defined in discarded section `.exit.text' of net/built-in.o

I traced the one in net/ to CONFIG_SMP_ON_UP=y and CONFIG_DCB=y.
dcbnl_exit calls dcb_flushapp which contains a spinlock. dcb_flushapp is
getting inlined into dcbnl_exit.

Rob

             reply	other threads:[~2011-08-08 18:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 18:49 Rob Herring [this message]
2011-08-08 19:58 ` 3.1-rc1 link failure Russell King - ARM Linux
2011-09-15 18:42   ` Stephen Boyd
2011-09-15 18:42     ` Stephen Boyd
2011-09-15 19:20     ` Russell King - ARM Linux
2011-09-15 19:20       ` Russell King - ARM Linux

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=4E402FBB.2070401@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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.