Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/124825 _Compilation issues_ Submitter: Stephen Hemminger Date: 2023-03-06 18:18:16 Reply_mail: <20230306181816.97243-3-stephen@networkplumber.org> DPDK git baseline: Repo:dpdk, CommitID: e0fb0051ff8f621a2b001d9243cebe50f3d42cf5 Meson Build Summary: 25 Builds Done, 21 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL91-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | | RHEL86-64Rt | pass | | | | | | | | UB2210-64 | pass | | | | | | | | FC37-64 | pass | pass | | | | | | | UB2204-64Rt | 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: 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.14.21-150400.22-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: RHEL91-64 Kernel Version: 5.14.0-162.6.1.el9_1.x86_64 GCC Version: gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Clang Version: 14.0.6 (Red Hat 14.0.6-1.el9) x86_64-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-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.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.81.1.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 OS: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.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 OS: UB2210-64 Kernel Version: 5.19.0-21-generic GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Clang Version: 15.0.2-1 x86_64-native-linuxapp-gcc OS: FC37-64 Kernel Version: 6.0.15-300.fc37.x86_64 GCC Version: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) Clang Version: 15.0.6 (Fedora 15.0.6-2.fc37) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.15.85-rt55 GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: 14.0.0-1ubuntu1 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.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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal.c.o -c ../lib/eal/freebsd/eal.c ../lib/eal/freebsd/eal.c: In function 'rte_eal_init': ../lib/eal/freebsd/eal.c:747:6: error: implicit declaration of function 'eal_log_init'; did you mean 'eal_trace_init'? [-Werror=implicit-function-declaration] 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~~~~~~~~ | eal_trace_init ../lib/eal/freebsd/eal.c:747:6: error: nested extern declaration of 'eal_log_init' [-Werror=nested-externs] ../lib/eal/freebsd/eal.c:747:19: error: 'logid' undeclared (first use in this function) 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~ ../lib/eal/freebsd/eal.c:747:19: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [63/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o [64/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [65/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memalloc.c.o [66/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o [67/1842] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [68/1842] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [69/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o [70/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o [71/1842] Generating symbol file lib/librte_kvargs.so.23.1.p/librte_kvargs.so.23.1.symbols ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_eal.a.p/eal_freebsd_eal.c.o clang -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 -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal.c.o -c ../lib/eal/freebsd/eal.c ../lib/eal/freebsd/eal.c:747:6: error: implicit declaration of function 'eal_log_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { ^ ../lib/eal/freebsd/eal.c:747:19: error: use of undeclared identifier 'logid' if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { ^ 2 errors generated. [76/1828] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.o [77/1828] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [78/1828] Generating symbol file lib/librte_kvargs.so.23.1.p/librte_kvargs.so.23.1.symbols [79/1828] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [80/1828] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o [81/1828] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o [82/1828] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [83/1828] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [84/1828] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_freebsd_eal.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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal.c.o -c ../lib/eal/freebsd/eal.c ../lib/eal/freebsd/eal.c: In function 'rte_eal_init': ../lib/eal/freebsd/eal.c:747:6: error: implicit declaration of function 'eal_log_init'; did you mean 'eal_trace_init'? [-Werror=implicit-function-declaration] 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~~~~~~~~ | eal_trace_init ../lib/eal/freebsd/eal.c:747:6: error: nested extern declaration of 'eal_log_init' [-Werror=nested-externs] ../lib/eal/freebsd/eal.c:747:19: error: 'logid' undeclared (first use in this function) 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~ ../lib/eal/freebsd/eal.c:747:19: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [60/1744] Compiling C object lib/librte_eal.a.p/eal_unix_rte_thread.c.o [61/1744] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_dev.c.o [62/1744] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o [63/1744] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [64/1744] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o [65/1744] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [66/1744] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o [67/1744] Generating symbol file lib/librte_kvargs.so.23.1.p/librte_kvargs.so.23.1.symbols [68/1744] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_freebsd_eal.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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal.c.o -c ../lib/eal/freebsd/eal.c ../lib/eal/freebsd/eal.c: In function 'rte_eal_init': ../lib/eal/freebsd/eal.c:747:6: error: implicit declaration of function 'eal_log_init'; did you mean 'eal_trace_init'? [-Werror=implicit-function-declaration] 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~~~~~~~~ | eal_trace_init ../lib/eal/freebsd/eal.c:747:6: error: nested extern declaration of 'eal_log_init' [-Werror=nested-externs] ../lib/eal/freebsd/eal.c:747:19: error: 'logid' undeclared (first use in this function) 747 | if (eal_log_init(logid, internal_conf->syslog_facility) < 0) { | ^~~~~ ../lib/eal/freebsd/eal.c:747:19: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [66/1842] Linking target lib/librte_telemetry.so.23.1 [67/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o [68/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o [69/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [70/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [71/1842] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [72/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o [73/1842] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o [74/1842] Generating symbol file lib/librte_kvargs.so.23.1.p/librte_kvargs.so.23.1.symbols ninja: build stopped DPDK STV team