From mboxrd@z Thu Jan 1 00:00:00 1970 From: weber@corscience.de (Thomas Weber) Date: Wed, 02 Nov 2011 13:35:28 +0100 Subject: [PATCHv2] ARM: zImage: Use $(CROSS_COMPILE)size to get .bss size In-Reply-To: References: <1318488622-20023-1-git-send-email-weber@corscience.de> <20111013083858.GH21648@n2100.arm.linux.org.uk> Message-ID: <4EB13910.8010203@corscience.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am 13.10.2011 20:56, schrieb Nicolas Pitre: > 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 > > Hello Russell, what is the status of this patch? Thomas