Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/37096 _Compilation issues_ Submitter: Andrew Rybchenko Date: Wed, 4 Apr 2018 12:10:38 +0100 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b3ec974c344c0528f34e475584ad3ea0f219fa85 Patch37095-37096 --> compile error Build Summary: 14 Builds Done, 11 Successful, 3 Failures Test environment and configuration as below: 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.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 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-gcc x86_64-native-linuxapp-gcc-shared Failed Build #1: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang PMDINFO sfc_ethdev.o.pmd.c LD sfc_ethdev.o/home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_port.c:122:6: error: comparison of constant 64 with expression of type 'efx_loopback_type_t' (aka 'enum efx_loopback_type_e') is always true [-Werror,-Wtautological-constant-out-of-range-compare] if (EFX_TEST_QWORD_BIT(encp->enc_loopback_types[link_mode], ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1590:28: note: expanded from macro 'EFX_TEST_QWORD_BIT' #define EFX_TEST_QWORD_BIT EFX_TEST_QWORD_BIT64 ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1412:22: note: expanded from macro 'EFX_TEST_QWORD_BIT64' __CPU_TO_LE_64(EFX_SHIFT64(_bit, FIX_LINT(0)))) != 0) ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1290:32: note: expanded from macro 'EFX_SHIFT64' (((_bit) >= (_base) && (_bit) < (_base) + 64) ? \ ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:269:50: note: expanded from macro '__CPU_TO_LE_64' #define __CPU_TO_LE_64(_x) ((uint64_t)__NOSWAP64(_x)) ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:238:26: note: expanded from macro '__NOSWAP64' #define __NOSWAP64(_x) (_x) ^ 1 error generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'efx_port.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'sfc' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:49: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #2: OS: FC24_64 Target: x86_64-native-linuxapp-clang PMDINFO sfc_ethdev.o.pmd.c LD sfc_ethdev.o/home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_port.c:122:6: error: comparison of constant 64 with expression of type 'efx_loopback_type_t' (aka 'enum efx_loopback_type_e') is always true [-Werror,-Wtautological-constant-out-of-range-compare] if (EFX_TEST_QWORD_BIT(encp->enc_loopback_types[link_mode], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1590:28: note: expanded from macro 'EFX_TEST_QWORD_BIT' #define EFX_TEST_QWORD_BIT EFX_TEST_QWORD_BIT64 ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1412:22: note: expanded from macro 'EFX_TEST_QWORD_BIT64' __CPU_TO_LE_64(EFX_SHIFT64(_bit, FIX_LINT(0)))) != 0) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1290:32: note: expanded from macro 'EFX_SHIFT64' (((_bit) >= (_base) && (_bit) < (_base) + 64) ? \ ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:269:50: note: expanded from macro '__CPU_TO_LE_64' #define __CPU_TO_LE_64(_x) ((uint64_t)__NOSWAP64(_x)) ^~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:238:26: note: expanded from macro '__NOSWAP64' #define __NOSWAP64(_x) (_x) ^~ 1 error generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'efx_port.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'sfc' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:49: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #3: OS: UB1604_64 Target: x86_64-native-linuxapp-clang PMDINFO sfc_ethdev.o.pmd.c LD sfc_ethdev.o/home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_port.c:122:6: error: comparison of constant 64 with expression of type 'efx_loopback_type_t' (aka 'enum efx_loopback_type_e') is always true [-Werror,-Wtautological-constant-out-of-range-compare] if (EFX_TEST_QWORD_BIT(encp->enc_loopback_types[link_mode], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1590:28: note: expanded from macro 'EFX_TEST_QWORD_BIT' #define EFX_TEST_QWORD_BIT EFX_TEST_QWORD_BIT64 ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1412:22: note: expanded from macro 'EFX_TEST_QWORD_BIT64' __CPU_TO_LE_64(EFX_SHIFT64(_bit, FIX_LINT(0)))) != 0) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:1290:32: note: expanded from macro 'EFX_SHIFT64' (((_bit) >= (_base) && (_bit) < (_base) + 64) ? \ ^ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:269:50: note: expanded from macro '__CPU_TO_LE_64' #define __CPU_TO_LE_64(_x) ((uint64_t)__NOSWAP64(_x)) ^~ /home/patchWorkOrg/compilation/drivers/net/sfc/base/efx_types.h:238:26: note: expanded from macro '__NOSWAP64' #define __NOSWAP64(_x) (_x) ^~ 1 error generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'efx_port.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'sfc' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:49: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed DPDK STV team