Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/114813 _Compilation issues_ Submitter: Anoob Joseph Date: 2022-08-11 03:59:33 Reply_mail: <20220811035933.802-2-anoobj@marvell.com> DPDK git baseline: Repo:dpdk, CommitID: 72206323a5dd3182b13f61b25a64abdddfee595c 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: app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o gcc -Iapp/dpdk-test-security-perf.p -Iapp -I../app -Ilib/security -I../lib/security -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 -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/cmdline -I../lib/cmdline -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o -MF app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o.d -o app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o -c ../app/test-security-perf/test_security_perf.c In file included 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/generic/rte_spinlock.h:21, from ../lib/eal/x86/include/rte_spinlock.h:12, from ../lib/mempool/rte_mempool.h:41, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/cryptodev/rte_crypto.h:20, from ../lib/cryptodev/rte_cryptodev.h:22, from ../app/test-security-perf/test_security_perf.c:10: ../app/test-security-perf/test_security_perf.c: In function ‘cryptodev_init’: ../app/test-security-perf/test_security_perf.c:116:6: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Werror=format=] 116 | i); | ~^ | | | long unsigned int ../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’ 342 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../app/test-security-perf/test_security_perf.c:129:31: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Werror=format=] 129 | " %" PRIu64 " - %d", i, j); | ~ ^ | | | long unsigned int ../lib/eal/include/rte_log.h:342:25: note: in definition of macro ‘RTE_LOG’ 342 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [2111/2447] Compiling C object app/test/dpdk-test.p/test_bitmap.c.o [2112/2447] Compiling C object app/test/dpdk-test.p/test_barrier.c.o [2113/2447] Compiling C object app/test/dpdk-test.p/test_bpf.c.o [2114/2447] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o [2115/2447] Compiling C object app/dpdk-test-security-perf.p/test_test_cryptodev_security_ipsec.c.o [2116/2447] Linking target app/dpdk-test-regex [2117/2447] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o [2118/2447] Linking target app/dpdk-test-sad [2119/2447] Compiling C object app/test/dpdk-test.p/test_acl.c.o ninja: build stopped *Build Failed #2: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o gcc -Iapp/dpdk-test-security-perf.p -Iapp -I../app -Ilib/security -I../lib/security -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 -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/cmdline -I../lib/cmdline -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o -MF app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o.d -o app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o -c ../app/test-security-perf/test_security_perf.c In file included 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/generic/rte_spinlock.h:21, from ../lib/eal/x86/include/rte_spinlock.h:12, from ../lib/mempool/rte_mempool.h:41, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/cryptodev/rte_crypto.h:20, from ../lib/cryptodev/rte_cryptodev.h:22, from ../app/test-security-perf/test_security_perf.c:10: ../app/test-security-perf/test_security_perf.c: In function ‘cryptodev_init’: ../app/test-security-perf/test_security_perf.c:116:34: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Werror=format=] 116 | i); | ~^ | | | long unsigned int ../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’ 342 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../app/test-security-perf/test_security_perf.c:129:66: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Werror=format=] 129 | " %" PRIu64 " - %d", i, j); | ~ ^ | | | long unsigned int ../lib/eal/include/rte_log.h:342:39: note: in definition of macro ‘RTE_LOG’ 342 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [2111/2447] Compiling C object app/test/dpdk-test.p/test_alarm.c.o [2112/2447] Compiling C object app/test/dpdk-test.p/test_bitmap.c.o [2113/2447] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2114/2447] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o [2115/2447] Linking target app/dpdk-test-regex [2116/2447] Linking target app/dpdk-test-sad [2117/2447] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o [2118/2447] Compiling C object app/test/dpdk-test.p/test_bpf.c.o [2119/2447] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_event_helper.c.o ninja: build stopped DPDK STV team