From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aneesh V Date: Tue, 19 Jul 2011 16:56:54 +0530 Subject: [U-Boot] Latest SPL pushed to omapzoom In-Reply-To: <20110719124931.2fa64fba@Zitronenbaum> References: <4E17100D.2000804@ti.com> <4E2439AB.7090706@ti.com> <4E251560.7090506@ti.com> <20110719124931.2fa64fba@Zitronenbaum> Message-ID: <4E2569FE.5010402@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Tuesday 19 July 2011 04:19 PM, Simon Schwarz wrote: > Hi Aneesh, > > If I use your omap_upstream the build fails with: > make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE omap4_panda_config > Configuring for omap4_panda board... > simon at Zitronenbaum:~/tmp/test/u-boot$ make ARCH=arm > CROSS_COMPILE=$CROSS_COMPILE all Generating include/autoconf.mk > cc1: error: bad value (armv5) for -march= switch > Generating include/autoconf.mk.dep > cc1: error: bad value (armv5) for -march= switch > gcc -DDO_DEPS_ONLY \ > -g -Os -fno-common -ffixed-r8 -msoft-float > -D__KERNEL__ -I/home/simon/tmp/test/u-boot/include -fno-builtin > -ffreestanding -nostdinc > -isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include > -pipe -DCONFIG_ARM -D__ARM__ -march=armv5 -Wall > -Wstrict-prototypes \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S > lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch > make: *** [lib/asm-offsets.s] Error 1 Apparently you are using x86 tool chain. Looks like there is something wrong with the "CROSS_COMPILE=$CROSS_COMPILE" you have used. best regards, Aneesh