linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 3.1-rc1 link failure
@ 2011-08-08 18:49 Rob Herring
  2011-08-08 19:58 ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2011-08-08 18:49 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-15 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08 18:49 3.1-rc1 link failure Rob Herring
2011-08-08 19:58 ` Russell King - ARM Linux
2011-09-15 18:42   ` Stephen Boyd
2011-09-15 19:20     ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).