[ipxe-devel] Problems with Compiling: Commit 2b15ae55073dfbaf66dbbb41ebe804a16cf47f1e

Matthew Helton mwhelton at gmail.com
Mon Jul 27 19:38:11 UTC 2015


All,

Confirming James results on a RHEL/CentOS 6.6 platform... I'm getting the
same thing.

Best,

Matt

On Mon, Jul 27, 2015 at 12:05 PM, James A. Peltier <jpeltier at sfu.ca> wrote:

> Now I wind up with
>
> <snip>
>
>   [BUILD] bin/vsprintf_test.o
>   [BUILD] bin/x509_test.o
>   [BUILD] bin/aes.o
> cc1: warnings being treated as errors
> crypto/aes.c: In function ‘aes_encrypt_rounds’:
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> crypto/aes.c:165: error: dereferencing pointer ‘first.8’ does break
> strict-aliasing rules
> crypto/aes.c:165: note: initialized from here
> ... stated many more times...
>
> make[1]: *** [bin/aes.o] Error 1
> make[1]: Leaving directory `/rcg/home/jpeltier/git-repos/ipxe/src'
> make: *** [lkrn] Error 2
> ----- Original Message -----
> | On 26/07/15 21:52, Michael Brown wrote:
> | > It's not a change in build requirements, just a debatable warning that
> | > happens not to show up in current gcc versions. It should be fixable by
> | > just adding "(void)" to the start of the offending line.
> | >
> | > Will push a fix tomorrow.
> |
> | Should now be fixed:
> |
> |    http://git.ipxe.org/ipxe.git/commitdiff/99d3516
> |
> | Please let me know if you still have errors on the older build platform.
> |
> | Thanks for reporting!
> |
> | Michael
> |
>
> --
> James A. Peltier
> IT Services - Research Computing Group
> Simon Fraser University - Burnaby Campus
> Phone   : 604-365-6432
> Fax     : 778-782-3045
> E-Mail  : jpeltier at sfu.ca
> Website : http://www.sfu.ca/itservices
> Twitter : @sfu_rcg
> Powering Engagement Through Technology
>



-- 
There is never time enough to do it right, but there always seems to be
enough time to do it again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150727/f8e574d8/attachment.htm>


More information about the ipxe-devel mailing list