Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/20603 _Compilation issues_ Submitter: Shijith Thotton Date: Tue, 21 Feb 2017 14:56:33 +0530 DPDK git baseline: Repo:dpdk-next-net, Branch:master, CommitID:574d7c546fdcb5e1a25afc3b5596205a7dcab5c4 Patch20574-20603 --> compile error Build Summary: 18 Builds Done, 16 Successful, 2 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-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug 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: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_ethdev.c:40: In file included from /home/patchWorkOrg/compilation/drivers/net/liquidio/base/lio_23xx_vf.h:39: /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:47:2: error: type name requires a specifier or qualifier CIRCLEQ_ENTRY(lio_clist_node) entries; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:47:16: error: a parameter list without types is only allowed in a function definition CIRCLEQ_ENTRY(lio_clist_node) entries; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:47:31: error: expected ';' at end of declaration list CIRCLEQ_ENTRY(lio_clist_node) entries; ^ ; /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:50:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] CIRCLEQ_HEAD(lio_clist_head, lio_clist_node); ^~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:50:14: error: a parameter list without types is only allowed in a function definition CIRCLEQ_HEAD(lio_clist_head, lio_clist_node); ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:425:24: error: field has incomplete type 'struct lio_clist_head' struct lio_clist_head head; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:425:9: note: forward declaration of 'struct lio_clist_head' struct lio_clist_head head; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_ethdev.c:490:27: error: invalid application of 'sizeof' to an incomplete type 'struct lio_clist_head' rte_zmalloc(NULL, sizeof(*lio_dev->glist_head) * num_iqueues, ^~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:425:9: note: forward declaration of 'struct lio_clist_head' struct lio_clist_head head; ^ 7 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'lio_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'liquidio' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'drivers' 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 #2: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/net/liquidio/base/lio_23xx_vf.h:39:0, from /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_ethdev.c:40: /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:47:2: error: expected specifier-qualifier-list before 'CIRCLEQ_ENTRY' CIRCLEQ_ENTRY(lio_clist_node) entries; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:50:1: error: data definition has no type or storage class [-Werror] CIRCLEQ_HEAD(lio_clist_head, lio_clist_node); ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:50:1: error: type defaults to 'int' in declaration of 'CIRCLEQ_HEAD' [-Werror=implicit-int] /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:50:1: error: parameter names (without types) in function declaration [-Werror] /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_struct.h:425:24: error: field 'head' has incomplete type struct lio_clist_head head; ^ /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_ethdev.c: In function 'lio_dev_configure': /home/patchWorkOrg/compilation/drivers/net/liquidio/lio_ethdev.c:490:28: error: dereferencing pointer to incomplete type rte_zmalloc(NULL, sizeof(*lio_dev->glist_head) * num_iqueues, ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'lio_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'liquidio' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'drivers' 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 DPDK STV team