The travis builds with DPDK enabled and kernel 3.16.46
(e.g. https://travis-ci.org/openvswitch/ovs/jobs/262034416) are failing
with the following errors:

= Build lib/librte_eal/linuxapp/igb_uio
make[1]: Entering directory `/home/travis/build/openvswitch/ovs/linux-3.16.46'
  WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.
  LD      
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
  CC [M]  
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
In file included from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/dma-mapping.h:82:0,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/asm-generic/pci-dma-compat.h:7,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/pci.h:118,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/pci.h:1420,
                 from 
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29:
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/dma-mapping.h:
 In function ‘igbuio_pci_probe’:
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/dma-mapping.h:32:35:
 error: inlining failed in call to ‘get_dma_ops’: call is unlikely and code 
size would grow [-Werror=inline]
 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
                                   ^
In file included from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/dma-mapping.h:82:0,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/asm-generic/pci-dma-compat.h:7,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/pci.h:118,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/pci.h:1420,
                 from 
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29:
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/dma-mapping.h:134:22:
 error: called from here [-Werror=inline]
  struct dma_map_ops *ops = get_dma_ops(dev);
                      ^
In file included from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/dma-mapping.h:82:0,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/asm-generic/pci-dma-compat.h:7,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/pci.h:118,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/pci.h:1420,
                 from 
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29:
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/dma-mapping.h:32:35:
 error: inlining failed in call to ‘get_dma_ops’: call is unlikely and code 
size would grow [-Werror=inline]
 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
                                   ^
In file included from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/dma-mapping.h:82:0,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/asm-generic/pci-dma-compat.h:7,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/pci.h:118,
                 from 
/home/travis/build/openvswitch/ovs/linux-3.16.46/include/linux/pci.h:1420,
                 from 
/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:29:
/home/travis/build/openvswitch/ovs/linux-3.16.46/arch/x86/include/asm/dma-mapping.h:164:22:
 error: called from here [-Werror=inline]
  struct dma_map_ops *ops = get_dma_ops(dev);
                      ^
cc1: all warnings being treated as errors
make[8]: *** 
[/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o]
 Error 1
make[7]: *** 
[_module_/home/travis/build/openvswitch/ovs/dpdk-stable-17.05.1/build/build/lib/librte_eal/linuxapp/igb_uio]
 Error 2
make[6]: *** [sub-make] Error 2
make[5]: *** [igb_uio.ko] Error 2
make[4]: *** [igb_uio] Error 2
make[3]: *** [linuxapp] Error 2
make[2]: *** [librte_eal] Error 2
make[1]: *** [lib] Error 2
make: *** [all] Error 2
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to