From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 20 Feb 2014 10:33:38 -0700 Subject: [U-Boot] Tegra build failure in latest master In-Reply-To: <20140220182652.12778555@lilith> References: <53062EC2.1050206@wwwdotorg.org> <20140220182652.12778555@lilith> Message-ID: <53063C72.6020506@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/20/2014 10:26 AM, Albert ARIBAUD wrote: > Hi Stephen, > > On Thu, 20 Feb 2014 09:35:14 -0700, Stephen Warren > wrote: > >> I the latest u-boot/master (0a8e823ad0c5 "Prepare v2014.04-rc1"), >> compilation of all Tegra boards fails as below. This is with the ARM >> cross-compilers from Ubuntu 12.10. >> >> [swarren at swarren-lx1 u-boot]$ ./MAKEALL -s tegra >> Configuring for dalmore board... >> cc1: error: bad value (armv5) for -march= switch >> cc1: error: bad value (armv5) for -march= switch >> /home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/lib/asm-offsets.c:1:0: >> error: bad value (armv5) for -march= switch >> make: *** [lib/asm-offsets.s] Error 1 >> size: './u-boot': No such file >> cc1: error: bad value (armv5) for -march= switch >> cc1: error: bad value (armv5) for -march= switch >> /home/swarren/shared/git_wa/tegra-uboot-flasher/u-boot/lib/asm-offsets.c:1:0: >> error: bad value (armv5) for -march= switch >> make: *** [lib/asm-offsets.s] Error 1 >> make: *** Waiting for unfinished jobs.... > > I've build the whole of ARM with the latest u-boot/master and all > except venice2 builds fine. > > Which version of ARM compilers are you using? Well, I thought I had CROSS_COMPILE pointing to the ARM cross-compilers from Ubuntu 12.10. However, I had it set incorrectly:-( So, false alarm:-)