Skip to contentSkip to conversation

Tegra build failure in latest master

U-Boot Stephen Warren 2 participants 3 messages Feb 20, 2014

lore
Share & tools
lore
#0 lore raw

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....

#1 lore raw

Hi Stephen,

Quoted 4 lines · Stephen Warren

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.

Quoted 14 lines

[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?

Amicalement,

Signature · 1 line
Albert.
#2 lore raw
Quoted 24 lines · Albert ARIBAUD

Hi Stephen,

Quoted 4 lines · Stephen Warren

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.

Quoted 14 lines

[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....

Quoted 4 lines

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:-)