Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/113897 _Compilation issues_ Submitter: Harry van Haaren Date: 2022-07-11 10:57:47 Reply_mail: <20220711105747.3295201-2-harry.van.haaren@intel.com> DPDK git baseline: Repo:dpdk, CommitID: 14d460b888c290e16c00cff4ae809d14fe799aec Meson Build Summary: 22 Builds Done, 20 Successful, 2 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | pass | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | fail | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | fail | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_service.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c In file included from ../lib/eal/include/rte_log.h:25, from ../lib/eal/include/rte_bus.h:23, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:16, from ../lib/eal/include/rte_service.h:34, from ../lib/eal/common/rte_service.c:9: ../lib/eal/common/rte_service.c: In function ‘service_runner_do_callback’: ../lib/eal/include/rte_common.h:420:55: error: size of unnamed array is negative 420 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | ^ ../lib/eal/common/rte_service.c:368:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’ 368 | RTE_BUILD_BUG_ON((offsetof(struct rte_service_spec_impl, calls) | ^~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:420:55: error: size of unnamed array is negative 420 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | ^ ../lib/eal/common/rte_service.c:370:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’ 370 | RTE_BUILD_BUG_ON((offsetof(struct rte_service_spec_impl, cycles_spent) | ^~~~~~~~~~~~~~~~ [40/2444] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o [41/2444] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_cpuflags.c.o [42/2444] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o [43/2444] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [44/2444] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [45/2444] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [46/2444] Generating symbol file lib/librte_kvargs.so.22.2.p/librte_kvargs.so.22.2.symbols [47/2444] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o [48/2444] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped *Build Failed #2: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_service.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c In file included from ../lib/eal/include/rte_log.h:25, from ../lib/eal/include/rte_bus.h:23, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:16, from ../lib/eal/include/rte_service.h:34, from ../lib/eal/common/rte_service.c:9: ../lib/eal/common/rte_service.c: In function ‘service_runner_do_callback’: ../lib/eal/include/rte_common.h:420:55: error: size of unnamed array is negative 420 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | ^ ../lib/eal/common/rte_service.c:368:9: note: in expansion of macro ‘RTE_BUILD_BUG_ON’ 368 | RTE_BUILD_BUG_ON((offsetof(struct rte_service_spec_impl, calls) | ^~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:420:55: error: size of unnamed array is negative 420 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) | ^ ../lib/eal/common/rte_service.c:370:9: note: in expansion of macro ‘RTE_BUILD_BUG_ON’ 370 | RTE_BUILD_BUG_ON((offsetof(struct rte_service_spec_impl, cycles_spent) | ^~~~~~~~~~~~~~~~ [39/2395] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o [40/2395] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o [41/2395] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [42/2395] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o [43/2395] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [44/2395] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [45/2395] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o [46/2395] Generating symbol file lib/librte_kvargs.so.22.2.p/librte_kvargs.so.22.2.symbols [47/2395] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped DPDK STV team