[ipxe-devel] ARM64 compilation on CentOS 7 / RHEL7 with GCC 4.8.5

Michael Brown mcb30 at ipxe.org
Fri Jul 28 14:48:52 UTC 2017


On 28/07/17 15:13, Allen, Benjamin S. wrote:
> It looks like ARM32 has a separate issue with 4.8.5. I don't actually have a use case for iPXE on ARM32, but wanted to see if it compiled.
> 
> $ make CROSS_COMPILE=arm-linux-gnu- ARCH=arm32 bin-arm32-efi/snp.efi
>    [BUILD] bin-arm32-efi/acpi_settings.o
> In file included from include/ipxe/efi/Uefi/UefiBaseType.h:22:0,
>                   from include/ipxe/efi/efi.h:53,
>                   from include/ipxe/errno/efi.h:26,
>                   from include/errno.h:109,
>                   from core/acpi_settings.c:34:
> include/ipxe/efi/Base.h:50:94: error: division by zero [-Werror=div-by-zero]
>   #define VERIFY_SIZE_OF(TYPE, Size) extern UINT8 _VerifySizeof##TYPE[(sizeof(TYPE) == (Size)) / (sizeof(TYPE) == (Size))]

Should also now be fixed:

   http://git.ipxe.org/ipxe.git/commitdiff/8866c91

Thanks,

Michael



More information about the ipxe-devel mailing list