From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw71185[v8, 04/11] eal/mem: extract common code for memseg list initialization
Date: 10 Jun 2020 19:33:21 -0700 [thread overview]
Message-ID: <fecc85$adqk5h@orsmga001.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 25313 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/71185
_Compilation issues_
Submitter: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Date: 2020-06-10 14:27:23
Reply_mail: 20200610142730.31376-5-dmitry.kozliuk@gmail.com
DPDK git baseline: Repo:dpdk, CommitID: 5fd722308ef21819931d25e7a140ff5a292b19d9
Makefile build Summary: 23 Builds Done, 18 Successful, 5 Failures
Meson build Summary: 9 Builds Done, 7 Successful, 2 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 | pass | | | | | |
| CENTOS77-64 | pass | | | | | | |
| WIN10-64 | | | | | | pass | |
| CENTOS80-64 | pass | pass | pass | pass | pass | pass | |
| FC31-64 | | | | | | pass | |
| UB1804-32 | FAIL | | | | | FAIL | |
| 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-clang
x86_64-native-linuxapp-gcc
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-gcc
x86_64-native-linuxapp-icc
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
x86_64-native-linuxapp-gcc
OS: CENTOS77-64
Kernel Version: 3.10.0-1062.9.1.el7.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
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-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-icc
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: RHEL80-64
Kernel Version: 4.18.0-80.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
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+debug
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc
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-clang
x86_64-native-linuxapp-gcc
** 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: 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: CENTOS80-64
Kernel Version: 4.18.0-147.8.1.el8_1.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4)
Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
./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: 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: 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
CC eal_lcore.o
CC eal_timer.o
CC eal_interrupts.o
/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:67:23: error: unused variable 'arr' [-Werror,-Wunused-variable]
struct rte_fbarray *arr;
^
/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:68:22: error: unused variable 'ms' [-Werror,-Wunused-variable]
struct rte_memseg *ms;
^
/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:70:15: error: unused variable 'cur_seg' [-Werror,-Wunused-variable]
int n_segs, cur_seg;
^
3 errors generated.
gmake[6]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[5]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2
gmake[4]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkbuild.mk:53: lib] Error 2
gmake[2]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
gmake[1]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
gmake: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Make Build Failed #2:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
CC eal_timer.o
CC eal_lcore.o
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c: In function 'rte_eal_hugepage_init':
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:70:15: error: unused variable 'cur_seg' [-Werror=unused-variable]
70 | int n_segs, cur_seg;
| ^~~~~~~
CC eal_debug.o
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:68:22: error: unused variable 'ms' [-Werror=unused-variable]
68 | struct rte_memseg *ms;
| ^~
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:67:23: error: unused variable 'arr' [-Werror=unused-variable]
67 | struct rte_fbarray *arr;
| ^~~
CC eal_interrupts.o
cc1: all warnings being treated as errors
gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkbuild.mk:53: lib] Error 2
gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Make Build Failed #3:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
CC eal_timer.o
CC eal_interrupts.o
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c: In function 'rte_eal_hugepage_init':
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:70:15: error: unused variable 'cur_seg' [-Werror=unused-variable]
70 | int n_segs, cur_seg;
| ^~~~~~~
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:68:22: error: unused variable 'ms' [-Werror=unused-variable]
68 | struct rte_memseg *ms;
| ^~
/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:67:23: error: unused variable 'arr' [-Werror=unused-variable]
67 | struct rte_fbarray *arr;
| ^~~
cc1: all warnings being treated as errors
gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkbuild.mk:53: lib] Error 2
gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Make Build Failed #4:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
CC eal_lcore.o
CC eal_debug.o
/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c: In function 'rte_eal_hugepage_init':
/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:70:15: error: unused variable 'cur_seg' [-Werror=unused-variable]
70 | int n_segs, cur_seg;
| ^~~~~~~
/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:68:22: error: unused variable 'ms' [-Werror=unused-variable]
68 | struct rte_memseg *ms;
| ^~
/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/freebsd/eal_memory.c:67:23: error: unused variable 'arr' [-Werror=unused-variable]
67 | struct rte_fbarray *arr;
| ^~~
cc1: all warnings being treated as errors
gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
CC eal_interrupts.o
gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.subdir.mk:37: freebsd] Error 2
gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/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/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkbuild.mk:53: lib] Error 2
gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
gmake: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Make Build Failed #5:
OS: UB1804-32
Target: i686-native-linuxapp-gcc
CC eal_debug.o
In file included from /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/linux/eal_memory.c:37:0:
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/linux/eal_memory.c: In function ‘prealloc_segments’:
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/linux/eal_memory.c:966:19: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
page_sz >> 10);
~~~~~~~~~~~~ ^
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/i686-native-linuxapp-gcc/include/rte_log.h:351:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/lib/librte_eal/linux/eal_memory.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'eal_memory.o' failed
make[6]: *** [eal_memory.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.subdir.mk:35: recipe for target 'linux' failed
make[5]: *** [linux] Error 2
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
make[4]: *** [librte_eal] Error 2
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkbuild.mk:51: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/69a71f65fc2c4bf1b50babc3afa70e00/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2
*Meson Build Failed #1:
OS: FreeBSD1201-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_memory.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/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_memory.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_memory.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_memory.c.o' -c ../lib/librte_eal/freebsd/eal_memory.c
../lib/librte_eal/freebsd/eal_memory.c: In function 'rte_eal_hugepage_init':
../lib/librte_eal/freebsd/eal_memory.c:70:15: error: unused variable 'cur_seg' [-Werror=unused-variable]
70 | int n_segs, cur_seg;
| ^~~~~~~
../lib/librte_eal/freebsd/eal_memory.c:68:22: error: unused variable 'ms' [-Werror=unused-variable]
68 | struct rte_memseg *ms;
| ^~
../lib/librte_eal/freebsd/eal_memory.c:67:23: error: unused variable 'arr' [-Werror=unused-variable]
67 | struct rte_fbarray *arr;
| ^~~
cc1: all warnings being treated as errors
[65/1630] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_x86_rte_spinlock.c.o'
[66/1630] Generating eal_def with a custom command
[67/1630] Generating ring_def with a custom command
[68/1630] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs.so.20.0.3.symbols'
WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes.
[69/1630] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_interrupts.c.o'
[70/1630] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_malloc.c.o'
[71/1630] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_freebsd_eal_thread.c.o'
[72/1630] Compiling C object 'lib/76b5a35@@rte_ring@sta/librte_ring_rte_ring.c.o'
[73/1630] Generating symbol file 'lib/76b5a35@@rte_telemetry@sha/librte_telemetry.so.0.200.3.symbols'
ninja: build stopped: subcommand failed
*Meson Build Failed #2:
OS: UB1804-32
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_memory.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/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -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_linux_eal_memory.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_memory.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_memory.c.o' -c ../lib/librte_eal/linux/eal_memory.c
In file included from ../lib/librte_eal/linux/eal_memory.c:37:0:
../lib/librte_eal/linux/eal_memory.c: In function ‘prealloc_segments’:
../lib/librte_eal/linux/eal_memory.c:966:19: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
page_sz >> 10);
~~~~~~~~~~~~ ^
../lib/librte_eal/include/rte_log.h:351:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
cc1: all warnings being treated as errors
[84/1952] Linking static target lib/librte_rcu.a.
[85/1952] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_vfio.c.o'.
[86/1952] Generating ring.sym_chk with a meson_exe.py custom command.
[87/1952] Compiling C object 'lib/76b5a35@@rte_mempool@sha/librte_mempool_rte_mempool_ops_default.c.o'.
[88/1952] Compiling C object 'lib/76b5a35@@rte_mempool@sha/librte_mempool_rte_mempool_ops.c.o'.
[89/1952] Compiling C object 'lib/76b5a35@@rte_mbuf@sta/librte_mbuf_rte_mbuf_pool_ops.c.o'.
[90/1952] Compiling C object 'lib/76b5a35@@rte_mempool@sta/librte_mempool_rte_mempool.c.o'.
[91/1952] Compiling C object 'lib/76b5a35@@rte_mempool@sha/librte_mempool_mempool_trace_points.c.o'.
[92/1952] Compiling C object 'lib/76b5a35@@rte_mbuf@sta/librte_mbuf_rte_mbuf_ptype.c.o'.
[93/1952] Compiling C object 'lib/76b5a35@@rte_mempool@sha/librte_mempool_rte_mempool.c.o'.
[94/1952] Compiling C object 'lib/76b5a35@@rte_mbuf@sta/librte_mbuf_rte_mbuf.c.o'.
ninja: build stopped: subcommand failed
DPDK STV team
reply other threads:[~2020-06-11 2:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fecc85$adqk5h@orsmga001.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).