Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/110575 _Compilation issues_ Submitter: Pankaj Gupta Date: 2022-05-02 19:45:57 Reply_mail: <20220502194557.16016-9-pagupta@vmware.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: 47ff7f2eaa87e9e19e269ed4dc466d4361df8458 Meson Build Summary: 21 Builds Done, 17 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC35-64 | pass | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL84-64 | pass | pass | pass | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | pass | | | pass | pass | | UB2110-64 | pass | | | | | | | | RHEL85-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: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc 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: RHEL84-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc 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-icc x86_64-native-linuxapp-doc x86_64-native-linuxapp-gcc+16byte OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc OS: RHEL85-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o gcc -Idrivers/libtmp_rte_net_vmxnet3.a.p -Idrivers -I../drivers -Idrivers/net/vmxnet3 -I../drivers/net/vmxnet3 -Ilib/ethdev -I../lib/ethdev -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 -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Wno-unused-parameter -Wno-unused-value -Wno-strict-aliasing -Wno-format-extra-args -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vmxnet3 -MD -MQ drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -MF drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o.d -o drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -c ../drivers/net/vmxnet3/vmxnet3_ethdev.c ../drivers/net/vmxnet3/vmxnet3_ethdev.c: In function 'vmxnet3_dev_info_get': ../drivers/net/vmxnet3/vmxnet3_ethdev.c:1444: error: "MIN" redefined [-Werror] 1444 | #define MIN(x, y) (((x) < (y)) ? (x) : (y)) | In file included from /usr/include/pthread_np.h:36, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/x86/include/rte_byteorder.h:13, from ../drivers/net/vmxnet3/vmxnet3_ethdev.c:14: /usr/include/sys/param.h:314: note: this is the location of the previous definition 314 | #define MIN(a,b) (((a)<(b))?(a):(b)) | cc1: all warnings being treated as errors [1443/2058] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o [1444/2058] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs_rm_common.c.o [1445/2058] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs4_rm.c.o [1446/2058] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_device.c.o [1447/2058] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs5_rm.c.o [1448/2058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1449/2058] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1450/2058] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1451/2058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o clang -Idrivers/libtmp_rte_net_vmxnet3.a.p -Idrivers -I../drivers -Idrivers/net/vmxnet3 -I../drivers/net/vmxnet3 -Ilib/ethdev -I../lib/ethdev -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 -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Wno-unused-parameter -Wno-unused-value -Wno-strict-aliasing -Wno-format-extra-args -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vmxnet3 -MD -MQ drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -MF drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o.d -o drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -c ../drivers/net/vmxnet3/vmxnet3_ethdev.c ../drivers/net/vmxnet3/vmxnet3_ethdev.c:1444:9: error: 'MIN' macro redefined [-Werror,-Wmacro-redefined] #define MIN(x, y) (((x) < (y)) ? (x) : (y)) ^ /usr/include/sys/param.h:314:9: note: previous definition is here #define MIN(a,b) (((a)<(b))?(a):(b)) ^ 1 error generated. [1418/2019] Generating rte_raw_skeleton_def with a custom command [1419/2019] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple_sse.c.o [1420/2019] Generating rte_net_ice.sym_chk with a custom command (wrapped by meson to capture output) [1421/2019] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1422/2019] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev.c.o [1423/2019] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1424/2019] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o [1425/2019] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1426/2019] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o gcc -Idrivers/libtmp_rte_net_vmxnet3.a.p -Idrivers -I../drivers -Idrivers/net/vmxnet3 -I../drivers/net/vmxnet3 -Ilib/ethdev -I../lib/ethdev -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 -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Wno-unused-parameter -Wno-unused-value -Wno-strict-aliasing -Wno-format-extra-args -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vmxnet3 -MD -MQ drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -MF drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o.d -o drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -c ../drivers/net/vmxnet3/vmxnet3_ethdev.c ../drivers/net/vmxnet3/vmxnet3_ethdev.c: In function 'vmxnet3_dev_info_get': ../drivers/net/vmxnet3/vmxnet3_ethdev.c:1444: error: "MIN" redefined [-Werror] 1444 | #define MIN(x, y) (((x) < (y)) ? (x) : (y)) | In file included from /usr/include/pthread_np.h:36, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/x86/include/rte_byteorder.h:13, from ../drivers/net/vmxnet3/vmxnet3_ethdev.c:14: /usr/include/sys/param.h:314: note: this is the location of the previous definition 314 | #define MIN(a,b) (((a)<(b))?(a):(b)) | cc1: all warnings being treated as errors [1451/1921] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_qp.c.o [1452/1921] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev.c.o [1453/1921] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs4_rm.c.o [1454/1921] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_device.c.o [1455/1921] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o [1456/1921] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1457/1921] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1458/1921] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1459/1921] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o gcc -Idrivers/libtmp_rte_net_vmxnet3.a.p -Idrivers -I../drivers -Idrivers/net/vmxnet3 -I../drivers/net/vmxnet3 -Ilib/ethdev -I../lib/ethdev -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 -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -Wno-unused-parameter -Wno-unused-value -Wno-strict-aliasing -Wno-format-extra-args -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vmxnet3 -MD -MQ drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -MF drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o.d -o drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o -c ../drivers/net/vmxnet3/vmxnet3_ethdev.c ../drivers/net/vmxnet3/vmxnet3_ethdev.c: In function 'vmxnet3_dev_info_get': ../drivers/net/vmxnet3/vmxnet3_ethdev.c:1444: error: "MIN" redefined [-Werror] 1444 | #define MIN(x, y) (((x) < (y)) ? (x) : (y)) | In file included from /usr/include/pthread_np.h:36, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/x86/include/rte_byteorder.h:13, from ../drivers/net/vmxnet3/vmxnet3_ethdev.c:14: /usr/include/sys/param.h:314: note: this is the location of the previous definition 314 | #define MIN(a,b) (((a)<(b))?(a):(b)) | cc1: all warnings being treated as errors [1426/2019] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev.c.o [1427/2019] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_qp.c.o [1428/2019] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs4_rm.c.o [1429/2019] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_hw_bcmfs5_rm.c.o [1430/2019] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_device.c.o [1431/2019] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1432/2019] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1433/2019] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1434/2019] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped DPDK STV team