Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit f0e0146e45b2c5eaef06f24f07873dabc1cfd110 Author: Nic Chautru Date: Wed Oct 12 10:59:29 2022 -0700 baseband/acc: add descriptor index helpers DPDK git Repo: dpdk-next-crypto Meson Build Summary: 26 Builds Done, 23 Successful, 3 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 | | | | | | | RHEL90-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | fail | | | fail | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL86-64Rt | pass | 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.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: RHEL90-64 Kernel Version: 5.14.0-70.13.1.el9_0.x86_64 GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Clang Version: 13.0.1 (Red Hat 13.0.1-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-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.19.15-051915-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared 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: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory GCC Version: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 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 x86_64-native-linuxapp-clang *Build Failed #1: OS: UB2204-64N Target: x86_64-native-linuxapp-gcc FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.19.15-051915-generic/build M=/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni src=/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/config/rte_config.h -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/lib/eal/include -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/lib/kni -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.19.15-051915-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0 You are using: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 CC [M] /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ make[1]: *** [scripts/Makefile.build:249: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ make[1]: *** [scripts/Makefile.build:249: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1 make: *** [Makefile:1852: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc/20221013174609/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.19.15-051915-generic' [3617/3623] Linking target examples/dpdk-vmdq [3618/3623] Linking target examples/dpdk-vhost_crypto [3619/3623] Linking target examples/dpdk-vhost_blk [3620/3623] Linking target examples/dpdk-vdpa [3621/3623] Linking target examples/dpdk-timer [3622/3623] Linking target examples/dpdk-vmdq_dcb [3623/3623] Linking target examples/dpdk-vhost ninja: build stopped *Build Failed #2: OS: UB2204-64N Target: x86_64-native-linuxapp-gcc+shared FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.19.15-051915-generic/build M=/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni src=/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -include /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/config/rte_config.h -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/lib/eal/include -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/lib/kni -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared -I/root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-headers-5.19.15-051915-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0 You are using: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 CC [M] /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni/kni_misc.o CC [M] /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni/kni_net.o gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ make[1]: *** [scripts/Makefile.build:249: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni/kni_misc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ make[1]: *** [scripts/Makefile.build:249: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni/kni_net.o] Error 1 make: *** [Makefile:1852: /root/UB2204-64N_K5.17.5_GCC11.2.0/x86_64-native-linuxapp-gcc+shared/20221013174609/dpdk/x86_64-native-linuxapp-gcc+shared/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/linux-headers-5.19.15-051915-generic' [3477/3480] Compiling C object app/test/dpdk-test.p/test_compressdev.c.o [3478/3480] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o [3479/3480] Compiling C object app/test/dpdk-test.p/test_ring.c.o ninja: build stopped *Build Failed #3: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o gcc -Iexamples/dpdk-fips_validation.p -Iexamples -I../examples -Iexamples/fips_validation -I../examples/fips_validation -I../examples/common -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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-missing-field-initializers -D_GNU_SOURCE -march=native -DUSE_OPENSSL -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o -MF examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o.d -o examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o -c ../examples/fips_validation/fips_validation_rsa.c ../examples/fips_validation/fips_validation_rsa.c:8:24: fatal error: sys/random.h: No such file or directory #include ^ compilation terminated. [3413/3568] Linking target examples/dpdk-cmdline [3414/3568] Linking target examples/dpdk-distributor [3415/3568] Compiling C object examples/dpdk-dma.p/dma_dmafwd.c.o [3416/3568] Compiling C object examples/dpdk-eventdev_pipeline.p/eventdev_pipeline_pipeline_worker_generic.c.o [3417/3568] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation_xts.c.o [3418/3568] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o [3419/3568] Linking target examples/dpdk-ethtool [3420/3568] Linking target examples/dpdk-bbdev_app [3421/3568] Compiling C object app/test/dpdk-test.p/test_ring.c.o ninja: build stopped DPDK STV team