[PATCHv2] ARM: zImage: Use $(CROSS_COMPILE)size to get .bss size

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Oct 13 04:38:58 EDT 2011


On Thu, Oct 13, 2011 at 08:50:22AM +0200, Thomas Weber wrote:
> Use $(CROSS_COMPILE)size to determine the bss size
> from vmlinux.
> 
> The problem is introduced in:
> 
> commit 5ffb04f6690d71fab241b3562ebf52b893ac4ff1
> ARM: zImage: make sure appended DTB doesn't get
> overwritten by kernel .bss
> 
> This fixes following error message:
> 
> size: arch/arm/boot/compressed/../../../../vmlinux:
> File format is ambiguous
> 
> size: Matching formats:
> elf32-littlearm
> elf32-littlearm-symbian
> elf32-littlearm-vxworks
> 
> Acked-by: Nicolas Pitre <nicolas.pitre at linaro.org>
> Acked-by: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Thomas Weber <weber at corscience.de>

This is going to totally break my ability to build any kernels at the
moment - for some reason I don't have an arm-linux-size with all the
other bits of binutils, so I've been relying on the x86 version so far.
I'll add it to the list of things to look at...



More information about the linux-arm-kernel mailing list