[U-Boot] Make error in U-boot branch v2015.10-rc5

Alex Kiernan alex.kiernan at gmail.com
Fri Apr 20 18:09:57 UTC 2018


On Fri, Apr 20, 2018 at 10:41 AM, Arunashis Ghose <hindol96 at outlook.com> wrote:
> Hi,
>
> Thanks for reading this email and I would be grateful if you have time to help me fix the issue.
>
> I am very much new to U-boot world and trying to build U-boot in my machine for a particular board - 'Marvel Armada 38x'. While I was trying to compile the u-boot fork for Marvel (in github), I got following error:
>
> ---------------------------------------------------------------------------
> **** [Building U-BOOT]    *****
>
> cc1: error: bad value (armv7-a) for -march= switch
> cc1: error: bad value (armv7-a) for -march= switch
> lib/asm-offsets.c:1:0: error: bad value (armv7-a) for -march= switch
>  /*
>  ^
> Makefile:716: recipe for target 'lib/asm-offsets.s' failed
> make: *** [lib/asm-offsets.s] Error 1
> make: *** Waiting for unfinished jobs....
>
>  *** Error: Build failed

Wild guess, you've not told the build process to use a cross-compiler?

-- 
Alex Kiernan


More information about the U-Boot mailing list