[BUG] build error: undefined reference to `v7_cpu_resume'

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Oct 30 20:54:13 EDT 2013


Last night, my autobuilder failed on one randconfig with this:

arch/arm/mach-imx/built-in.o: In function `imx6q_pm_enter':
platform-spi_imx.c:(.text+0x2648): undefined reference to `v7_cpu_resume'
make[1]: *** [vmlinux] Error 1
make[1]: Target `uImage' not remade because of errors.
make: *** [sub-make] Error 2
make: Target `uImage' not remade because of errors.

This is caused by CONFIG_SMP=n, CONFIG_PM=y, CONFIG_SOC_IMX6SL=y and
CONFIG_SOC_IMX6Q=n.  This results in pm-imx6q.c being built, which
references v7_cpu_resume, but that is only defined in headsmp.o.

Full config is available for the next 6 days via:
 http://www.arm.linux.org.uk/developer/build/file.php?type=config&idx=6442

Please fix. :)



More information about the linux-arm-kernel mailing list