Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/111272 _Compilation issues_ Submitter: Zeng, ZhichaoX Date: 2022-05-18 14:39:40 Reply_mail: <20220518143940.597724-1-zhichaox.zeng@intel.com> DPDK git baseline: Repo:dpdk, CommitID: 18ca4a4ec73a2e28df45a10543b7cdd45f2801dd Meson Build Summary: 21 Builds Done, 18 Successful, 3 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | fail | pass | | fail | fail | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | 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-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) 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: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.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/freebsd/include -I../lib/eal/freebsd/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 -D_GNU_SOURCE -D__BSD_VISIBLE -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_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c ../lib/eal/freebsd/eal_interrupts.c: In function 'rte_eal_intr_destroy': ../lib/eal/freebsd/eal_interrupts.c:652:1: error: old-style function definition [-Werror=old-style-definition] 652 | rte_eal_intr_destroy() | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [80/2058] Generating symbol file lib/librte_kvargs.so.22.2.p/librte_kvargs.so.22.2.symbols [81/2058] Generating rte_rcu_def with a custom command [82/2058] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [83/2058] Generating rte_rcu_mingw with a custom command [84/2058] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [85/2058] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [86/2058] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [87/2058] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [88/2058] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.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/freebsd/include -I../lib/eal/freebsd/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 -D_GNU_SOURCE -D__BSD_VISIBLE -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_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c ../lib/eal/freebsd/eal_interrupts.c: In function 'rte_eal_intr_destroy': ../lib/eal/freebsd/eal_interrupts.c:652:1: error: old-style function definition [-Werror=old-style-definition] 652 | rte_eal_intr_destroy() | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [79/1921] Generating rte_ring_mingw with a custom command [80/1921] Generating rte_rcu_def with a custom command [81/1921] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [82/1921] Generating rte_rcu_mingw with a custom command [83/1921] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [84/1921] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [85/1921] Generating symbol file lib/librte_kvargs.so.22.2.p/librte_kvargs.so.22.2.symbols [86/1921] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [87/1921] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.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/freebsd/include -I../lib/eal/freebsd/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 -O2 -g -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 -D_GNU_SOURCE -D__BSD_VISIBLE -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_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c ../lib/eal/freebsd/eal_interrupts.c: In function 'rte_eal_intr_destroy': ../lib/eal/freebsd/eal_interrupts.c:652:1: error: old-style function definition [-Werror=old-style-definition] 652 | rte_eal_intr_destroy() | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [86/2019] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [87/2019] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [88/2019] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o [89/2019] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_ptype.c.o [90/2019] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [91/2019] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o [92/2019] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [93/2019] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [94/2019] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o ninja: build stopped DPDK STV team