On 10-05-2019 15:22, Peter Bartfai wrote:
>
> Dear Developers,
>
> I tried to compile ipxe on Fedora 30 with gcc 9.1.1 and failed it
> worked well on Fedora 29:
>
> [root@fedora src]# make
> [BUILD] bin/dummy_sanboot.o
> In file included from include/ipxe/sanboot.h:15,
> from core/dummy_sanboot.c:33:
> include/ipxe/uri.h: In function ‘uri_get’:
> include/ipxe/uri.h:178:12: error: taking address of packed member of
> ‘struct uri’ may result in an unaligned pointer value
> [-Werror=address-of-packed-member]
> 178 | ref_get ( &uri->refcnt );
> | ^~~~~~~~~~~~
> include/ipxe/refcnt.h:95:18: note: in definition of macro ‘ref_get’
> 95 | ref_increment ( refcnt ); \
> | ^~~~~~
> include/ipxe/uri.h: In function ‘uri_put’:
> include/ipxe/uri.h:189:12: error: taking address of packed member of
> ‘struct uri’ may result in an unaligned pointer value
> [-Werror=address-of-packed-member]
> 189 | ref_put ( &uri->refcnt );
> | ^~~~~~~~~~~~
> include/ipxe/refcnt.h:109:18: note: in definition of macro ‘ref_put’
> 109 | ref_decrement ( refcnt ); \
> | ^~~~~~
> cc1: all warnings being treated as errors
> make: *** [Makefile.housekeeping:937: bin/dummy_sanboot.o] Error 1
>
>

How about http://lists.ipxe.org/pipermail/ipxe-devel/2019-May/006662.html ?

That ML posting from last week seems to cover it.  Please report your
milage.


Regards

Geert Stappers

DevOps Engineer at Hendrikx ITC


_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to