[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Build failres with Xen 4.6.0-rc1 (firmware/etherboot/ipxe)



Hey,

I am running Fedora Core 22 which has a recent GCC:
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)

and I end up with bunch of compilation errors in ipxe:

LD] bin/ath9k_ar9003_phy.o
drivers/net/ath/ath9k/ath9k_ar9003_phy.c: In function âar9003_hw_ani_controlâ:
drivers/net/ath/ath9k/ath9k_ar9003_phy.c:862:11: error: logical not is only 
applied to the left hand side of comparison [-Werror=logical-not-parentheses]
   if (!on != aniState->ofdmWeakSigDetectOff) {
           ^
drivers/net/ath/ath9k/ath9k_ar9003_phy.c:1016:14: error: logical not is only 
applied to the left hand side of comparison [-Werror=logical-not-parentheses]
   if (!is_on != aniState->mrcCCKOff) {
              ^
cc1: all warnings being treated as errors
bin/rules/drivers/net/ath/ath9k/ath9k_ar9003_phy.c.r:3: recipe for target 
'bin/ath9k_ar9003_phy.o' 


Looking at ipxe.git tree I see that we are 1307 patches behind!

And for example commit 1b56452121672e6408c38ac8926bdd6998a39004
ath9k] Remove confusing logic inversion in an ANI variable
fixes the build.

(attached)

I don't think we can rev ipxe.git to the latest in Xen 4.6 time-frame.
But having that patch should help with compile issues, like mine.

So how do we want to fix this in 4.6 time-frame? And 4.7 time-frame? Rev up
to ipxe.git master?

Attachment: 0001-ath9k-Remove-confusing-logic-inversion-in-an-ANI-var.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.