From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.pitre@linaro.org (Nicolas Pitre) Date: Thu, 13 Oct 2011 14:56:05 -0400 (EDT) Subject: [PATCHv2] ARM: zImage: Use $(CROSS_COMPILE)size to get .bss size In-Reply-To: <20111013083858.GH21648@n2100.arm.linux.org.uk> References: <1318488622-20023-1-git-send-email-weber@corscience.de> <20111013083858.GH21648@n2100.arm.linux.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 13 Oct 2011, Russell King - ARM Linux wrote: > 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 > > Acked-by: Tony Lindgren > > Signed-off-by: Thomas Weber > > 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. Naive suggestion: ln -s /usr/bin/size arm-linux-size Nicolas