Hi Michael, The arm32 target bin-arm32-efi/snp.efi now builds for me with GCC 4.8.5. I don't have an ARM32 machine with UEFI to test this one on unfortunately.
Thanks, Ben > On Jul 28, 2017, at 9:48 AM, Michael Brown <mc...@ipxe.org> wrote: > > 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 _______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel