On 26 July 2015 18:21:18 BST, Matthew Helton <mwhel...@gmail.com> wrote: >James, > >Agreed. Yes, and we need the requirements for GCC and other packages >updated as well. It's fine that a newer platform is needed, but it >needs to >be documented. > >Michael, Robin? > >Matt > > >On Sun, Jul 26, 2015 at 12:12 PM, James A. Peltier <jpelt...@sfu.ca> >wrote: > >> The question is, is this intentional code breakage or a mistake? Is >> CentOS 6 no longer supported as a build platform for iPXE? >Thankfully I >> also run an HPC cluster where I already had newer versions of GCC >compiled >> for other things to test with or I wouldn't have found it so quickly. >> >> ------------------------------ >> >> James, >> >> Thank you; it's fixed by migrating to a CentOS 7 build and gcc 4.8.3; >as >> mentioned before in this list you need xz-devel installed or the make >will >> croak at "util/zbin lzma.h: No such file or directory" >> >> Best, >> >> Matt >> >> >> On Sat, Jul 25, 2015 at 7:38 PM, James A. Peltier <jpelt...@sfu.ca> >wrote: >> >>> Ya, I have the same problem on a CentOS 6 box using the stock GCC, >>> however, newer versions of GCC, for example 4.9.2 do not exhibit the >>> problem. >>> >>> ------------------------------ >>> >>> When making: >>> >>> $ make >>> [DEPS] core/xferbuf.c >>> [BUILD] bin/xferbuf.o >>> cc1: warnings being treated as errors >>> core/xferbuf.c: In function ‘xfer_buffer’: >>> core/xferbuf.c:312: error: value computed is not used >>> make: *** [bin/xferbuf.o] Error 1 >>> $ >>> >>> System GCC: gcc.x86_64 4.4.7-11.el6 >>> >>> Looks like a simple issue, but I'm not sure of the syntax; >>> >>> Best, >>> >>> Matt >>> >>> >>> >>> _______________________________________________ >>> ipxe-devel mailing list >>> ipxe-devel@lists.ipxe.org >>> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel >>> >>> >>> >>> >>> -- >>> James A. Peltier >>> IT Services - Research Computing Group >>> Simon Fraser University - Burnaby Campus >>> Phone : 604-365-6432 >>> Fax : 778-782-3045 >>> E-Mail : jpelt...@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. >> >> >> >> >> -- >> James A. Peltier >> IT Services - Research Computing Group >> Simon Fraser University - Burnaby Campus >> Phone : 604-365-6432 >> Fax : 778-782-3045 >> E-Mail : jpelt...@sfu.ca >> Website : http://www.sfu.ca/itservices >> Twitter : @sfu_rcg >> Powering Engagement Through Technology >>
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. Michael _______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel