On Friday 16 Mar 2012 13:46:51 Olaf Hering wrote:
> The copy of ipxe used during Xen tools build fails to compile with gcc
> 4.7:
> drivers/net/myri10ge.c: In function 'myri10ge_command':
> drivers/net/myri10ge.c:308:3: error: dereferencing type-punned pointer will
> break strict-aliasing rules [-Werror=strict-aliasing]
> drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer
> will break strict-aliasing rules [-Werror=strict-aliasing]
> 
> This patch simply turns the pad array into quantities of u32.
> If thats not the right fix due to hardware limitations, I can provide a
> different patch.

Applied, thanks!

  http://git.ipxe.org/ipxe.git/commitdiff/0e81ff2

Michael
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo/ipxe-devel

Reply via email to