Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/69471 _Compilation issues_ Submitter: Stephen Hemminger Date: 2020-04-28 23:14:09 Reply_mail: 20200428231415.17985-3-stephen@networkplumber.org DPDK git baseline: Repo:dpdk, CommitID: 67d376e7fe7d4e4149d3591ed94cba33206e8cd2 Makefile build Summary: 23 Builds Done, 19 Successful, 4 Failures Meson build Summary: 9 Builds Done, 8 Successful, 1 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | pass | | | | | | | | UB2004-64 | pass | pass | pass | | | pass | | | UB1804-64 | pass | pass | pass | | | pass | pass | | FC32-64 | | pass | | | | | | | CENTOS77-64 | pass | | | | | | | | WIN10-64 | | | | | | pass | | | CENTOS80-64 | pass | pass | pass | pass | pass | pass | | | FC31-64 | pass | | | | | pass | | | UB1804-32 | pass | | | | | pass | | | FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | FAIL | | | RHEL77-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +----------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: UB2004-64 Kernel Version: 5.4.0-26-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang 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: FC32-64 Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9) Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32) x86_64-native-linuxapp-clang OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang OS: UB1804-32 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) i686-native-linuxapp-gcc OS: FC31-64 Kernel Version: 5.3.15-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) x86_64-native-linuxapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc 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 ** Meson build ** OS: UB2004-64 Kernel Version: 5.4.0-26-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 ./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) Platinum 8180 CPU @ 2.50GHz 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-doc ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FC31-64 Kernel Version: 5.4.18-200.fc31.x86_64 CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: UB1804-32 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) ./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: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.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.12.82-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] 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 *Make Build Failed #1: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang cat: stdout: Broken pipe cat: stdout: Broken pipe CC eal_common_memory.o /root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/lib/librte_eal/freebsd/eal_alarm.c:70:8: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] 2 errors generated. gmake[6]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/internal/rte.compile-pre.mk:116: eal_alarm.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... cat: stdout: Broken pipe cat: stdout: Broken pipe cat: stdout: Broken pipe cat: stdout: Broken pipe gmake[5]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc | ^~~~~ | pclose /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/lib/librte_eal/freebsd/eal_alarm.c:70:8: error: nested extern declaration of 'close' [-Werror=nested-externs] CC eal_common_memzone.o cc1: all warnings being treated as errors gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/internal/rte.compile-pre.mk:116: eal_alarm.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared | pclose /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/lib/librte_eal/freebsd/eal_alarm.c:70:8: error: nested extern declaration of 'close' [-Werror=nested-externs] CC eal_common_lcore.o CC eal_common_log.o cc1: all warnings being treated as errors gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/internal/rte.compile-pre.mk:116: eal_alarm.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... CC eal_common_mcfg.o CC eal_common_launch.o cat: stdout: Broken pipe cat: stdout: Broken pipe cat: stdout: Broken pipe gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #4: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug CC eal_dev.o CC eal_common_lcore.o CC eal_common_timer.o CC eal_common_memzone.o cc1: all warnings being treated as errors gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/internal/rte.compile-pre.mk:116: eal_alarm.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... cat: stdout: Broken pipe gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/42e8c7bac2144c44a36a76ff2e1b2e42/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: FreeBSD1201-64 Target:./build-gcc-static FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_alarm.c.o gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -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 -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LIBEAL_USE_GETENTROPY -DHAVE_GETOPT_H -DHAVE_GETOPT -DHAVE_GETOPT_LONG -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_alarm.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_alarm.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_alarm.c.o' -c ../lib/librte_eal/freebsd/eal_alarm.c ../lib/librte_eal/freebsd/eal_alarm.c: In function 'rte_eal_alarm_cleanup': ../lib/librte_eal/freebsd/eal_alarm.c:70:8: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Werror=implicit-function-declaration] 70 | close(intr_handle.fd); | ^~~~~ | pclose ../lib/librte_eal/freebsd/eal_alarm.c:70:8: error: nested extern declaration of 'close' [-Werror=nested-externs] cc1: all warnings being treated as errors [44/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_hugepage_info.c.o' [45/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_service.c.o' [46/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal.c.o' [47/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.o' [48/1584] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs.so.20.0.2.symbols' WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes. [49/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_options.c.o' [50/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_malloc_heap.c.o' [51/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_interrupts.c.o' [52/1584] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_malloc.c.o' ninja: build stopped: subcommand failed DPDK STV team