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

James A. Peltier jpeltier at sfu.ca
Sun Jul 26 17:12:24 UTC 2015


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. 

----- Original Message -----

| 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 < jpeltier at 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 at 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 : 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.

-- 
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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150726/44c4a466/attachment.htm>


More information about the ipxe-devel mailing list