[ipxe-devel] IPXE compilation error with arm64

Andreas Fink afink at list.fink.org
Tue Apr 18 09:07:55 UTC 2017


what hardware does have EFI under ARM?


> Am 18.04.2017 um 11:06 schrieb Michael Brown <mcb30 at ipxe.org>:
> 
> On 18/04/17 09:56, Meenakshi Aggarwal wrote:
>> 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
> 
> The default "make" will attempt to build the standard i386 BIOS targets, which won't work with the arm64 version of gcc.  You need to choose a suitable arm64 UEFI target, e.g.
> 
>  make bin-arm64-efi/8086100e.efi
> 
> Note that the "all-drivers" build (bin-arm64-efi/ipxe.efi) is non-functional at present, since we have no arm64 implementation of the port I/O primitives (inb()/outb() etc.).
> 
> Michael
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20170418/be1ea7b4/attachment.sig>


More information about the ipxe-devel mailing list