Topics

Build fails : arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'.


Hanumesha Ks <hanumesha.ks@...>
 

Hi Zephyr Users,

 

I tried to execute following command,  

\zephyrproject\zephyr>west build -b qemu_cortex_a53 -d build\hello_world samples\hello_world

by v2.3.0 release on Windows-10  with gcc-arm-none-eabi-9-2019-q4-major-win32

but my build fails with error arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'.

 

Build fails screenshot pasted below.

 

 

As per the gcc AArch64 “-mabi” Permissible values are  -mabi=ilp32 and -mabi=lp64 more info in below link.

https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options

 

Please guide me to resolve this issue ?

 

Best Regards

Hanumesha KS

Software engineer

NXP – Bangalore