<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 14 Jul 2019, 16:18 Heinrich Schuchardt, <<a href="mailto:xypron.glpk@gmx.de">xypron.glpk@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Michael,<br>
<br>
building bin-i386-efi/snp.efi fails with GCC 9.1.0.<br>
<br>
I am using the testing branch of the Manjaro distribution.<br>
<br>
Best regards<br>
<br>
Heinrich<br>
<br>
<br>
   [BUILD] bin-i386-efi/string.o<br>
core/gdbudp.c: In function ‘gdbudp_configure’:<br>
core/gdbudp.c:235:47: error: taking address of packed member of ‘struct<br>
sockaddr_in’ may result in an unaligned pointer value<br>
[-Werror=address-of-packed-member]<br>
   235 |   fetch_ipv4_setting ( settings, &ip_setting,<br>
&source_addr.sin_addr );<br>
       |                                               ^~~~~~~~~~~~~~~~~~~~~<br>
   [BUILD] bin-i386-efi/null_nap.o<br>
   [BUILD] bin-i386-efi/memmap_settings.o<br>
cc1: all warnings being treated as errors<br>
<br>
_______________________________________________<br>
ipxe-devel mailing list<br>
<a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank" rel="noreferrer">ipxe-devel@lists.ipxe.org</a><br>
<a href="https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel" rel="noreferrer noreferrer" target="_blank">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Hasn't there already been a patch sent to the list for this, with carrying concerns. Maybe it is best to continue there instead of creating a new thread?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>