[ipxe-devel] IPXE compilation error with arm64
Meenakshi Aggarwal
meenakshi.aggarwal at nxp.com
Tue Apr 18 08:46:23 UTC 2017
Hi,
I want to compile IPXE boot firmware for ARM64 platforms.
Compilation Environment:
------------------------
1. Linaro 'aarch64-linux-gnu-gcc' toolchain. version Linaro gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu
2. CROSS_COMPILE=aarch64-linux-gnu-
3. ARCH=arm64
cd ipxe/src
make
Error Log
---------
# make
[BUILD] bin/__divdi3.o
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mpreferred-stack-boundary=2'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mregparm=3'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mrtd'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-m32'
make: *** [bin/__divdi3.o] Error 1
Please help me with this error.
Thanks & Regards,
Meenakshi
More information about the ipxe-devel
mailing list