Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/53839 _Compilation issues_ Submitter: Anatoly Burakov Date: 2019-05-29 16:30:57 Reply_mail: 0a2c75ef7a4c4fc7f13604791f304877a19c371c.1559147228.git.anatoly.burakov@intel.com DPDK git baseline: Repo:dpdk, CommitID: 221a07fae7ca58d7357a87259b495d0908bf8642 Build Summary: 26 Builds Done, 22 Successful, 4 Failures Meson Summary: 9 Builds Done, 6 Successful, 3 Failures Test environment and configuration as below: **Make Build** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: FC29-64 Kernel Version: 4.20.13-200.fc29.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) Clang Version: 7.0.1 (Fedora 7.0.1-4.fc29) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: CENTOS75-64 Kernel Version: 3.10.0-957.5.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: RHEL75-64 Kernel Version: 3.10.0-862.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28) Clang Version: NA x86_64-native-linuxapp-gcc OS: UB1810-64 Kernel Version: 4.18.0-10-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0 Clang Version: 7.0.0-3 (tags/RELEASE_700/final) x86_64-native-linuxapp-gcc OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: SUSE12-64 Kernel Version: 4.4.73-5-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.1.1 20170607 [gcc-7-branch revision 248970] Clang Version: 3.8.0 (tags/RELEASE_380/final 262553) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang **Meson Build** OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE12-64 Kernel Version: 4.4.73-5-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.1.1 20170607 [gcc-7-branch revision 248970] Clang Version: 3.8.0 (tags/RELEASE_380/final 262553) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FC29-64 Kernel Version: 4.20.13-200.fc29.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) Clang Version: 7.0.1 (Fedora 7.0.1-4.fc29) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Build Failed Build #1: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc static struct rte_mem_config early_mem_config; ^~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors gmake[7]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/internal/rte.compile-pre.mk:116: eal.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: eal] Error 2 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #2: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-clang struct rte_mem_config *mem_config; ^ 11 errors generated. gmake[7]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/internal/rte.compile-pre.mk:116: eal.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: eal] Error 2 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #3: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+shared static struct rte_mem_config early_mem_config; ^~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors gmake[7]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/internal/rte.compile-pre.mk:116: eal.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: eal] Error 2 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #4: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+debug static struct rte_mem_config early_mem_config; ^~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors CC eal_interrupts.o gmake[7]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/internal/rte.compile-pre.mk:114: eal.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: eal] Error 2 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/35172c00e8fd4bf7aef078519fd4fe00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Failed Build #1: OS: UB1604-32 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o gcc -Idrivers/a715181@@tmp_rte_common_dpaax@sta -Idrivers -I../drivers -Idrivers/common/dpaax -I../drivers/common/dpaax -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -fPIC -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -MF 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o.d' -o 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -c ../drivers/common/dpaax/dpaax_iova_table.c In file included from ../drivers/common/dpaax/dpaax_iova_table.c:8:0: ../drivers/common/dpaax/dpaax_iova_table.c: In function ‘read_memory_node’: ../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=] rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \ ^ ../drivers/common/dpaax/dpaax_iova_table.c:102:2: note: in expansion of macro ‘DPAAX_DEBUG’ DPAAX_DEBUG("Size of device-tree mem node: %lu", statbuf.st_size); ^ ../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=] rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \ ^ ../drivers/common/dpaax/dpaax_iova_table.c:121:3: note: in expansion of macro ‘DPAAX_DEBUG’ DPAAX_DEBUG("Invalid memory node values or count. (size=%lu)", ^ cc1: all warnings being treated as errors [315/1501] Linking static target drivers/libtmp_rte_common_octeontx.a. [316/1501] Generating rte_common_cpt.pmd.c with a custom command. [317/1501] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'. [318/1501] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_fman_fman_hw.c.o'. [319/1501] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed *Meson Failed Build #2: OS: FreeBSD12-64 Target:build-gcc-static FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal.c.o gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -fPIC -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal.c.o' -c ../lib/librte_eal/freebsd/eal/eal.c In file included from ../lib/librte_eal/freebsd/eal/eal.c:16:0: ../lib/librte_eal/freebsd/eal/eal.c:70:14: error: invalid use of undefined type 'struct rte_mem_config' .l_start = offsetof(struct rte_mem_config, memsegs), ^ ../lib/librte_eal/freebsd/eal/eal.c:71:35: error: invalid use of undefined type 'struct rte_mem_config' .l_len = sizeof(early_mem_config.memsegs), ^ ../lib/librte_eal/freebsd/eal/eal.c: In function 'rte_eal_config_create': ../lib/librte_eal/freebsd/eal/eal.c:235:40: error: dereferencing pointer to incomplete type 'struct rte_mem_config' retval = ftruncate(mem_cfg_fd, sizeof(*rte_config.mem_config)); ^~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/freebsd/eal/eal.c:254:52: error: invalid application of 'sizeof' to incomplete type 'struct rte_mem_config' memcpy(rte_mem_cfg_addr, &early_mem_config, sizeof(early_mem_config)); ^ ../lib/librte_eal/freebsd/eal/eal.c: In function 'rte_config_init': ../lib/librte_eal/freebsd/eal/eal.c:320:3: error: implicit declaration of function 'rte_eal_mcfg_wait_complete'; did you mean 'rte_eal_mp_wait_lcore'? [-Werror=implicit-function-declaration] rte_eal_mcfg_wait_complete(rte_config.mem_config); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rte_eal_mp_wait_lcore ../lib/librte_eal/freebsd/eal/eal.c: At top level: ../lib/librte_eal/freebsd/eal/eal.c:61:30: error: storage size of 'early_mem_config' isn't known static struct rte_mem_config early_mem_config; ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [49/1219] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal_interrupts.c.o'. [50/1219] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal_dev.c.o'. [51/1219] Compiling C object 'lib/76b5a35@@rte_cmdline@sta/librte_cmdline_cmdline.c.o'. [52/1219] Compiling C object 'lib/76b5a35@@rte_cmdline@sta/librte_cmdline_cmdline_cirbuf.c.o'. [53/1219] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_eal_memory.c.o'. ninja: build stopped: subcommand failed *Meson Failed Build #3: OS: CENTOS76-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_aesni_mb@sta -Idrivers -I../drivers -Idrivers/crypto/aesni_mb -I../drivers/crypto/aesni_mb -Ilib/librte_cryptodev -I../lib/librte_cryptodev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -fPIC -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o' -c ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c: In function ‘aesni_mb_set_session_auth_parameters’: ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:60:19: error: ‘hash_oneblock_fn’ may be used uninitialized in this function [-Werror=maybe-uninitialized] (*one_block_hash)(opad_buf, opad); ^ ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:107:19: note: ‘hash_oneblock_fn’ was declared here hash_one_block_t hash_oneblock_fn; ^ cc1: all warnings being treated as errors [1066/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_gcm@sta/crypto_aesni_gcm_aesni_gcm_pmd.c.o'. [1067/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'. [1068/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_caam_jr@sta/crypto_caam_jr_caam_jr_capabilities.c.o'. [1069/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'. [1070/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx.c.o'. ninja: build stopped: subcommand failed DPDK STV team