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

James A. Peltier jpeltier at sfu.ca
Mon Jul 27 17:05:29 UTC 2015


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



More information about the ipxe-devel mailing list