Exynos induced build error with recent arm-soc

2014-06-02 Thread Russell King - ARM Linux
Spotted with a randconfig today:

arch/arm/mach-exynos/built-in.o: In function `exynos_set_cpu_boot_addr':
pm_domains.c:(.text+0x19c): undefined reference to `sysram_ns_base_addr'
arch/arm/mach-exynos/built-in.o:(.data+0x94): undefined reference to 
`exynos_enter_aftr'

This should be fixed before the merge window...

The failing .config is:

http://www.arm.linux.org.uk/developer/build/file.php?lid=8598

and the resulting build log with errors:

http://www.arm.linux.org.uk/developer/build/result.php?type=logcid=3001lid=8600format=build

Thanks.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Exynos induced build error with recent arm-soc

2014-06-02 Thread Olof Johansson
On Mon, Jun 2, 2014 at 4:42 PM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
 Spotted with a randconfig today:

 arch/arm/mach-exynos/built-in.o: In function `exynos_set_cpu_boot_addr':
 pm_domains.c:(.text+0x19c): undefined reference to `sysram_ns_base_addr'
 arch/arm/mach-exynos/built-in.o:(.data+0x94): undefined reference to 
 `exynos_enter_aftr'

 This should be fixed before the merge window...

 The failing .config is:

 http://www.arm.linux.org.uk/developer/build/file.php?lid=8598

 and the resulting build log with errors:

 http://www.arm.linux.org.uk/developer/build/result.php?type=logcid=3001lid=8600format=build

 Thanks.

Ah, yes, definitely needs fixing. Looks like sysram_base_addr can
cause similar problems if CONFIG_SUSPEND - CONFIG_PM_SLEEP is enabled
on !SMP.

The setup (and location) for these variables need to be moved out of
platsmp.c. exynos.c seems like as good a place as any in this case.
I'll post a patch separately in a few minutes.


-Olof
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html