Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/25121 _Compilation issues_ Submitter: Gaetan Rivet Date: Thu, 8 Jun 2017 01:53:22 +0200 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:c6dfeecb1581103c2a6cd95c8158e8bff18b9667 Patch25121-25121 --> compile error Build Summary: 21 Builds Done, 0 Successful, 21 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: UB1610_64 Kernel Version:4.8.0-22-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Clang Version:NA x86_64-native-linuxapp-icc OS: UB1604_64 Kernel Version:4.4.0-78-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: FC25_64 Kernel Version:4.8.6-300.fc25.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Clang Version:NA x86_64-native-linuxapp-icc OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: CentOS7_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: FC24_64 Kernel Version:4.9.13-100.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-gcc-debug i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: RHEL7.3_64 Kernel Version:3.10.0-514.16.1.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) Clang Version:NA x86_64-native-linuxapp-icc Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #4: OS: UB1610_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(121): error #266: function "rte_bus_find_device" declared implicitly dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(121): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_device *" dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(127): error #266: function "rte_bus_find_by_device" declared implicitly bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(127): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_bus *" bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(133): error: struct "rte_bus" has no field "unplug" if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(138): error: struct "rte_bus" has no field "unplug" ret = bus->unplug(dev); ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c (code 2) /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #5: OS: UB1604_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #6: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #7: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #8: OS: UB1604_64 Target: x86_64-native-linuxapp-clang ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: incompatible integer to pointer conversion assigning to 'struct rte_device *' from 'int' [-Werror,-Wint-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: incompatible integer to pointer conversion assigning to 'struct rte_bus *' from 'int' [-Werror,-Wint-conversion] bus = rte_bus_find_by_device(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:12: error: no member named 'unplug' in 'struct rte_bus' if (!bus->unplug) { ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:13: error: no member named 'unplug' in 'struct rte_bus' ret = bus->unplug(dev); ~~~ ^ 10 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #9: OS: FC25_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(121): error #266: function "rte_bus_find_device" declared implicitly dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(121): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_device *" dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(127): error #266: function "rte_bus_find_by_device" declared implicitly bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(127): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_bus *" bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(133): error: struct "rte_bus" has no field "unplug" if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(138): error: struct "rte_bus" has no field "unplug" ret = bus->unplug(dev); ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c (code 2) /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #10: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: incompatible integer to pointer conversion assigning to 'struct rte_device *' from 'int' [-Werror,-Wint-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: incompatible integer to pointer conversion assigning to 'struct rte_bus *' from 'int' [-Werror,-Wint-conversion] bus = rte_bus_find_by_device(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:12: error: no member named 'unplug' in 'struct rte_bus' if (!bus->unplug) { ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:13: error: no member named 'unplug' in 'struct rte_bus' ret = bus->unplug(dev); ~~~ ^ 10 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bsdapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #11: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function 'rte_eal_dev_detach': /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: 'struct rte_bus' has no member named 'unplug' if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: 'struct rte_bus' has no member named 'unplug' ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bsdapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #12: OS: CentOS7_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #13: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: incompatible integer to pointer conversion assigning to 'struct rte_device *' from 'int' [-Werror,-Wint-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: incompatible integer to pointer conversion assigning to 'struct rte_bus *' from 'int' [-Werror,-Wint-conversion] bus = rte_bus_find_by_device(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:12: error: no member named 'unplug' in 'struct rte_bus' if (!bus->unplug) { ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:13: error: no member named 'unplug' in 'struct rte_bus' ret = bus->unplug(dev); ~~~ ^ 10 errors generated. Failed Build #14: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #15: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^ cc1: all warnings being treated as errors Failed Build #16: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #17: OS: FC24_64 Target: i686-native-linuxapp-gcc ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #18: OS: FC24_64 Target: x86_64-native-linuxapp-gcc ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #19: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c: In function ‘rte_eal_dev_detach’: /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:10: error: ‘struct rte_bus’ has no member named ‘unplug’ if (!bus->unplug) { ^~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:11: error: ‘struct rte_bus’ has no member named ‘unplug’ ret = bus->unplug(dev); ^~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #20: OS: FC24_64 Target: x86_64-native-linuxapp-clang ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:121:6: error: incompatible integer to pointer conversion assigning to 'struct rte_device *' from 'int' [-Werror,-Wint-conversion] dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:127:6: error: incompatible integer to pointer conversion assigning to 'struct rte_bus *' from 'int' [-Werror,-Wint-conversion] bus = rte_bus_find_by_device(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:133:12: error: no member named 'unplug' in 'struct rte_bus' if (!bus->unplug) { ~~~ ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c:138:13: error: no member named 'unplug' in 'struct rte_bus' ret = bus->unplug(dev); ~~~ ^ 10 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_dev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #21: OS: RHEL7.3_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(121): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_device *" dev = rte_bus_find_device(NULL, cmp_dev_name, name); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(127): error #556: a value of type "int" cannot be assigned to an entity of type "struct rte_bus *" bus = rte_bus_find_by_device(dev); ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(133): error: struct "rte_bus" has no field "unplug" if (!bus->unplug) { ^ /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c(138): error: struct "rte_bus" has no field "unplug" ret = bus->unplug(dev); ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_dev.c (code 2) DPDK STV team