Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/28719 _Compilation issues_ Submitter: Akhil Goyal Date: Thu, 14 Sep 2017 13:56:44 +0530 DPDK git baseline: Repo:dpdk-next-net, Branch:master, CommitID:18b9b9d2320f1698a0bb4eeafdb2a6eabda24a3c Patch28711-28719 --> compile error Build Summary: 21 Builds Done, 19 Successful, 2 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: 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 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.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: 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-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc 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-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/lib/librte_security/rte_security.c:37: In file included from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.h:49: /usr/include/netinet/ip.h:51:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ip_hl:4, /* header length */ ^ /usr/include/netinet/ip.h:58:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ip_tos; /* type of service */ ^ /usr/include/netinet/ip.h:59:2: error: unknown type name 'u_short'; did you mean 'short'? u_short ip_len; /* total length */ ^ /usr/include/netinet/ip.h:60:2: error: unknown type name 'u_short'; did you mean 'short'? u_short ip_id; /* identification */ ^ /usr/include/netinet/ip.h:61:2: error: unknown type name 'u_short'; did you mean 'short'? u_short ip_off; /* fragment offset field */ ^ /usr/include/netinet/ip.h:66:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ip_ttl; /* time to live */ ^ /usr/include/netinet/ip.h:67:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ip_p; /* protocol */ ^ /usr/include/netinet/ip.h:68:2: error: unknown type name 'u_short'; did you mean 'short'? u_short ip_sum; /* checksum */ ^ /usr/include/netinet/ip.h:167:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ipt_code; /* IPOPT_TS */ ^ /usr/include/netinet/ip.h:168:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ipt_len; /* size of structure (variable) */ ^ /usr/include/netinet/ip.h:169:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ipt_ptr; /* index of current entry */ ^ /usr/include/netinet/ip.h:171:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ipt_flg:4, /* flags, see below */ ^ /usr/include/netinet/ip.h:218:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ippseudo_pad; /* pad, must be zero */ ^ /usr/include/netinet/ip.h:219:2: error: unknown type name 'u_char'; did you mean 'char'? u_char ippseudo_p; /* protocol */ ^ /usr/include/netinet/ip.h:220:2: error: unknown type name 'u_short'; did you mean 'short'? u_short ippseudo_len; /* protocol length */ ^ In file included from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.c:37: In file included from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.h:50: /usr/include/netinet/ip6.h:75:4: error: unknown type name 'u_int32_t' u_int32_t ip6_un1_flow; /* 20 bits of flow-ID */ ^ /usr/include/netinet/ip6.h:76:4: error: unknown type name 'u_int16_t' u_int16_t ip6_un1_plen; /* payload length */ ^ /usr/include/netinet/ip6.h:77:4: error: unknown type name 'u_int8_t' u_int8_t ip6_un1_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:78:4: error: unknown type name 'u_int8_t' u_int8_t ip6_un1_hlim; /* hop limit */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_security.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_security' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: 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 #2: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc In file included from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.h:49:0, from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.c:37: /usr/include/netinet/ip.h:51:2: error: unknown type name 'u_char' u_char ip_hl:4, /* header length */ ^ /usr/include/netinet/ip.h:58:2: error: unknown type name 'u_char' u_char ip_tos; /* type of service */ ^ /usr/include/netinet/ip.h:59:2: error: unknown type name 'u_short' u_short ip_len; /* total length */ ^ /usr/include/netinet/ip.h:60:2: error: unknown type name 'u_short' u_short ip_id; /* identification */ ^ /usr/include/netinet/ip.h:61:2: error: unknown type name 'u_short' u_short ip_off; /* fragment offset field */ ^ /usr/include/netinet/ip.h:66:2: error: unknown type name 'u_char' u_char ip_ttl; /* time to live */ ^ /usr/include/netinet/ip.h:67:2: error: unknown type name 'u_char' u_char ip_p; /* protocol */ ^ /usr/include/netinet/ip.h:68:2: error: unknown type name 'u_short' u_short ip_sum; /* checksum */ ^ /usr/include/netinet/ip.h:167:2: error: unknown type name 'u_char' u_char ipt_code; /* IPOPT_TS */ ^ /usr/include/netinet/ip.h:168:2: error: unknown type name 'u_char' u_char ipt_len; /* size of structure (variable) */ ^ /usr/include/netinet/ip.h:169:2: error: unknown type name 'u_char' u_char ipt_ptr; /* index of current entry */ ^ /usr/include/netinet/ip.h:171:2: error: unknown type name 'u_char' u_char ipt_flg:4, /* flags, see below */ ^ /usr/include/netinet/ip.h:218:2: error: unknown type name 'u_char' u_char ippseudo_pad; /* pad, must be zero */ ^ /usr/include/netinet/ip.h:219:2: error: unknown type name 'u_char' u_char ippseudo_p; /* protocol */ ^ /usr/include/netinet/ip.h:220:2: error: unknown type name 'u_short' u_short ippseudo_len; /* protocol length */ ^ In file included from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.h:50:0, from /home/patchWorkOrg/compilation/lib/librte_security/rte_security.c:37: /usr/include/netinet/ip6.h:75:4: error: unknown type name 'u_int32_t' u_int32_t ip6_un1_flow; /* 20 bits of flow-ID */ ^ /usr/include/netinet/ip6.h:76:4: error: unknown type name 'u_int16_t' u_int16_t ip6_un1_plen; /* payload length */ ^ /usr/include/netinet/ip6.h:77:4: error: unknown type name 'u_int8_t' u_int8_t ip6_un1_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:78:4: error: unknown type name 'u_int8_t' u_int8_t ip6_un1_hlim; /* hop limit */ ^ /usr/include/netinet/ip6.h:80:3: error: unknown type name 'u_int8_t' u_int8_t ip6_un2_vfc; /* 4 bits version, top 4 bits class */ ^ /usr/include/netinet/ip6.h:116:2: error: unknown type name 'u_int8_t' u_int8_t ip6e_nxt; ^ /usr/include/netinet/ip6.h:117:2: error: unknown type name 'u_int8_t' u_int8_t ip6e_len; ^ /usr/include/netinet/ip6.h:123:2: error: unknown type name 'u_int8_t' u_int8_t ip6h_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:124:2: error: unknown type name 'u_int8_t' u_int8_t ip6h_len; /* length in units of 8 octets */ ^ /usr/include/netinet/ip6.h:131:2: error: unknown type name 'u_int8_t' u_int8_t ip6d_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:132:2: error: unknown type name 'u_int8_t' u_int8_t ip6d_len; /* length in units of 8 octets */ ^ /usr/include/netinet/ip6.h:165:2: error: unknown type name 'u_int8_t' u_int8_t ip6o_type; ^ /usr/include/netinet/ip6.h:166:2: error: unknown type name 'u_int8_t' u_int8_t ip6o_len; ^ /usr/include/netinet/ip6.h:171:2: error: unknown type name 'u_int8_t' u_int8_t ip6oj_type; ^ /usr/include/netinet/ip6.h:172:2: error: unknown type name 'u_int8_t' u_int8_t ip6oj_len; ^ /usr/include/netinet/ip6.h:173:2: error: unknown type name 'u_int8_t' u_int8_t ip6oj_jumbo_len[4]; ^ /usr/include/netinet/ip6.h:179:2: error: unknown type name 'u_int8_t' u_int8_t ip6on_type; ^ /usr/include/netinet/ip6.h:180:2: error: unknown type name 'u_int8_t' u_int8_t ip6on_len; ^ /usr/include/netinet/ip6.h:181:2: error: unknown type name 'u_int8_t' u_int8_t ip6on_src_nsap_len; ^ /usr/include/netinet/ip6.h:182:2: error: unknown type name 'u_int8_t' u_int8_t ip6on_dst_nsap_len; ^ /usr/include/netinet/ip6.h:189:2: error: unknown type name 'u_int8_t' u_int8_t ip6ot_type; ^ /usr/include/netinet/ip6.h:190:2: error: unknown type name 'u_int8_t' u_int8_t ip6ot_len; ^ /usr/include/netinet/ip6.h:191:2: error: unknown type name 'u_int8_t' u_int8_t ip6ot_encap_limit; ^ /usr/include/netinet/ip6.h:196:2: error: unknown type name 'u_int8_t' u_int8_t ip6or_type; ^ /usr/include/netinet/ip6.h:197:2: error: unknown type name 'u_int8_t' u_int8_t ip6or_len; ^ /usr/include/netinet/ip6.h:198:2: error: unknown type name 'u_int8_t' u_int8_t ip6or_value[2]; ^ /usr/include/netinet/ip6.h:215:2: error: unknown type name 'u_int8_t' u_int8_t ip6r_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:216:2: error: unknown type name 'u_int8_t' u_int8_t ip6r_len; /* length in units of 8 octets */ ^ /usr/include/netinet/ip6.h:217:2: error: unknown type name 'u_int8_t' u_int8_t ip6r_type; /* routing type */ ^ /usr/include/netinet/ip6.h:218:2: error: unknown type name 'u_int8_t' u_int8_t ip6r_segleft; /* segments left */ ^ /usr/include/netinet/ip6.h:224:2: error: unknown type name 'u_int8_t' u_int8_t ip6r0_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:225:2: error: unknown type name 'u_int8_t' u_int8_t ip6r0_len; /* length in units of 8 octets */ ^ /usr/include/netinet/ip6.h:226:2: error: unknown type name 'u_int8_t' u_int8_t ip6r0_type; /* always zero */ ^ /usr/include/netinet/ip6.h:227:2: error: unknown type name 'u_int8_t' u_int8_t ip6r0_segleft; /* segments left */ ^ /usr/include/netinet/ip6.h:228:2: error: unknown type name 'u_int32_t' u_int32_t ip6r0_reserved; /* reserved field */ ^ /usr/include/netinet/ip6.h:234:2: error: unknown type name 'u_int8_t' u_int8_t ip6f_nxt; /* next header */ ^ /usr/include/netinet/ip6.h:235:2: error: unknown type name 'u_int8_t' u_int8_t ip6f_reserved; /* reserved field */ ^ /usr/include/netinet/ip6.h:236:2: error: unknown type name 'u_int16_t' u_int16_t ip6f_offlg; /* offset, reserved, and flag */ ^ /usr/include/netinet/ip6.h:237:2: error: unknown type name 'u_int32_t' u_int32_t ip6f_ident; /* identification */ ^ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_security.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_security' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: 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 DPDK STV team