Test-Label: Intel compilation Test-Status: FAILURE http://dpdk.org/patch/18977 _Compilation issues_ Submitter: Yuanhan Liu Date: Fri, 6 Jan 2017 18:16:18 +0800 DPDK git baseline: Repo:dpdk-next-virtio, Branch:master, CommitID:2b2669fc4c792f9a3ab73490bb93f7810a71c089 Patch18974-18977 --> compile error Build Summary: 18 Builds Done, 0 Successful, 18 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-327.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: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-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: FC24_64 Kernel Version:4.8.6-201.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: UB1604_64 Kernel Version:4.4.0-53-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: CentOS7_64 Kernel Version:3.10.0-327.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 Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x930): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x9c4): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: In function ‘rte_eth_dev_pci_probe’: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: implicit declaration of function ‘eth_dev_attach_secondary’ [-Wimplicit-function-declaration] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: nested extern declaration of ‘eth_dev_attach_secondary’ [-Wnested-externs] /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:11: warning: assignment makes pointer from integer without a cast [enabled by default] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: At top level: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:193:1: warning: ‘eth_dev_init’ defined but not used [-Wunused-function] eth_dev_init(struct rte_eth_dev *eth_dev, uint8_t port_id, const char *name) ^ LD librte_ethdev.so.5.1 rte_ethdev.o: In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0xa37): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status Failed Build #4: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:(.text+0x295): undefined reference to `eth_dev_attach_secondary' clang: error: linker command failed with exit code 1 (use -v to see invocation) /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #5: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x9c4): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #6: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0xba6): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #7: OS: FC24_64 Target: i686-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x89d): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #8: OS: FC24_64 Target: x86_64-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x916): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #9: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: In function ‘rte_eth_dev_pci_probe’: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:13: warning: implicit declaration of function ‘eth_dev_attach_secondary’ [-Wimplicit-function-declaration] eth_dev = eth_dev_attach_secondary(ethdev_name); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: nested extern declaration of ‘eth_dev_attach_secondary’ [-Wnested-externs] eth_dev = eth_dev_attach_secondary(ethdev_name); ^~~~~~~ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ At top level: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:193:1: warning: ‘eth_dev_init’ defined but not used [-Wunused-function] eth_dev_init(struct rte_eth_dev *eth_dev, uint8_t port_id, const char *name) ^~~~~~~~~~~~ LD librte_ethdev.so.5.1 rte_ethdev.o: In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x98d): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:120: recipe for target 'librte_ethdev.so.5.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_ether' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #10: OS: FC24_64 Target: x86_64-native-linuxapp-clang MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:(.text+0x346): undefined reference to `eth_dev_attach_secondary' clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation) /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #11: OS: UB1604_64 Target: i686-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x901): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #12: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x974): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #13: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: In function ‘rte_eth_dev_pci_probe’: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:13: warning: implicit declaration of function ‘eth_dev_attach_secondary’ [-Wimplicit-function-declaration] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: nested extern declaration of ‘eth_dev_attach_secondary’ [-Wnested-externs] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: At top level: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:193:1: warning: ‘eth_dev_init’ defined but not used [-Wunused-function] eth_dev_init(struct rte_eth_dev *eth_dev, uint8_t port_id, const char *name) ^ LD librte_ethdev.so.5.1 rte_ethdev.o: In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x9ba): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:120: recipe for target 'librte_ethdev.so.5.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_ether' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #14: OS: UB1604_64 Target: x86_64-native-linuxapp-clang MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:(.text+0x346): undefined reference to `eth_dev_attach_secondary' clang: error: linker command failed with exit code 1 (use -v to see invocation) /home/patchWorkOrg/compilation/mk/rte.app.mk:231: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'test' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed Failed Build #15: OS: CentOS7_64 Target: i686-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x930): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status Failed Build #16: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:(.text+0x273): undefined reference to `eth_dev_attach_secondary' clang: error: linker command failed with exit code 1 (use -v to see invocation) Failed Build #17: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: In function ‘rte_eth_dev_pci_probe’: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: implicit declaration of function ‘eth_dev_attach_secondary’ [-Wimplicit-function-declaration] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:3: warning: nested extern declaration of ‘eth_dev_attach_secondary’ [-Wnested-externs] /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:273:11: warning: assignment makes pointer from integer without a cast [enabled by default] eth_dev = eth_dev_attach_secondary(ethdev_name); ^ /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c: At top level: /home/patchWorkOrg/compilation/lib/librte_ether/rte_ethdev.c:193:1: warning: ‘eth_dev_init’ defined but not used [-Wunused-function] eth_dev_init(struct rte_eth_dev *eth_dev, uint8_t port_id, const char *name) ^ LD librte_ethdev.so.5.1 rte_ethdev.o: In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0xa37): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status Failed Build #18: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc MKRES test_resource_c.res.o /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): In function `rte_eth_dev_pci_probe': rte_ethdev.c:(.text+0x9c4): undefined reference to `eth_dev_attach_secondary' collect2: error: ld returned 1 exit status DPDK STV team