3.1-rc1 link failure
Rob Herring
robherring2 at gmail.com
Mon Aug 8 14:49:31 EDT 2011
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 at linaro.org>
Tested-by: Stephen Boyd <sboyd at codeaurora.org>
Signed-off-by: Russell King <rmk+kernel at 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
More information about the linux-arm-kernel
mailing list