* [dpdk-test-report] |FAILURE| pw(85967) [v6, 4/4] examples/ifpga: add example for opae ifpga API
@ 2021-01-05 2:52 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2021-01-05 2:52 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 13775 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/85967
_Compilation issues_
Submitter: Wei Huang <wei.huang@intel.com>
Date: 2021-01-05 02:05:36
Reply_mail: 1609812336-29506-5-git-send-email-wei.huang@intel.com
DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: f55cd41df4efe2e176d11ec08a0bdb1ead90ccde
Meson Build Summary: 22 Builds Done, 21 Successful, 1 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64 | pass | pass | pass | | | pass |
| RHEL83-64 | pass | | | | | |
| FC33-64 | pass | pass | | | | |
| CentOsStream8-64 | pass | | | | | |
| UB2010-64 | pass | | | | | |
| WIN10-64 | | pass | | | | |
| UB2004-32 | FAIL | | | | | |
| CENTOS83-64 | pass | pass | pass | pass | pass | |
| FreeBSD1201-64 | pass | pass | | pass | pass | |
| SUSE15-64 | pass | pass | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: UB2004-64
Kernel Version: 5.6.0-050600-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
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
OS: RHEL83-64
Kernel Version: 4.18.0-240.el8.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
x86_64-native-linuxapp-gcc
OS: FC33-64
Kernel Version: 5.8.16-300.fc33.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: CentOsStream8-64
Kernel Version: 4.18.0-257.el8.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
x86_64-native-linuxapp-gcc
OS: UB2010-64
Kernel Version: 5.8.0-25-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
Clang Version: 11.0.0-2
x86_64-native-linuxapp-gcc
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: UB2004-32
Kernel Version: 5.6.0-050600-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
i686-native-linuxapp-gcc
OS: CENTOS83-64
Kernel Version: 4.18.0-193.14.2.el8_2.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
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-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.3.18-lp152.57-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 9.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_intel_max10.c.o
gcc -Idrivers/raw/ifpga/base/libifpga_rawdev_base.a.p -Idrivers/raw/ifpga/base -I../drivers/raw/ifpga/base -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_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 -O3 -include rte_config.h -Wextra -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_intel_max10.c.o -MF drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_intel_max10.c.o.d -o drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_intel_max10.c.o -c ../drivers/raw/ifpga/base/opae_intel_max10.c
In file included from ../lib/librte_eal/include/rte_debug.h:17,
from ../lib/librte_eal/include/generic/rte_cycles.h:17,
from ../lib/librte_eal/x86/include/rte_cycles.h:13,
from ../drivers/raw/ifpga/base/osdep_rte/osdep_generic.h:9,
from ../drivers/raw/ifpga/base/opae_osdep.h:12,
from ../drivers/raw/ifpga/base/opae_intel_max10.h:8,
from ../drivers/raw/ifpga/base/opae_intel_max10.c:5:
../drivers/raw/ifpga/base/opae_intel_max10.c: In function ‘max10_staging_area_init’:
../drivers/raw/ifpga/base/opae_intel_max10.c:601:18: error: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
601 | start, size);
| ^
../lib/librte_eal/include/rte_log.h:333:25: note: in definition of macro ‘RTE_LOG’
333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/raw/ifpga/base/opae_osdep.h:59:31: note: in expansion of macro ‘dev_printf’
59 | #define dev_debug(x, args...) dev_printf(DEBUG, args)
| ^~~~~~~~~~
../drivers/raw/ifpga/base/opae_intel_max10.c:600:4: note: in expansion of macro ‘dev_debug’
600 | dev_debug(dev, "staging area base %zx size %zx\n",
| ^~~~~~~~~
../drivers/raw/ifpga/base/opae_intel_max10.c:601:18: error: format ‘%zx’ expects argument of type ‘size_t’, but argument 5 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
601 | start, size);
| ^
../lib/librte_eal/include/rte_log.h:333:25: note: in definition of macro ‘RTE_LOG’
333 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/raw/ifpga/base/opae_osdep.h:59:31: note: in expansion of macro ‘dev_printf’
59 | #define dev_debug(x, args...) dev_printf(DEBUG, args)
| ^~~~~~~~~~
../drivers/raw/ifpga/base/opae_intel_max10.c:600:4: note: in expansion of macro ‘dev_debug’
600 | dev_debug(dev, "staging area base %zx size %zx\n",
| ^~~~~~~~~
cc1: all warnings being treated as errors
[1598/2365] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/opae_eth_group.c.o
[1599/2365] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o
[1600/2365] Generating rte_raw_dpaa2_qdma.sym_chk with a meson_exe.py custom command
[1601/2365] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_vdev.c.o
[1602/2365] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o
[1603/2365] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o
[1604/2365] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o
[1605/2365] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o
[1606/2365] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_opae_api.c.o
FAILED: drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_opae_api.c.o
gcc -Idrivers/libtmp_rte_raw_ifpga.a.p -Idrivers -I../drivers -Idrivers/raw/ifpga -I../drivers/raw/ifpga -Idrivers/raw/ifpga/base -I../drivers/raw/ifpga/base -Idrivers/net/ipn3ke -I../drivers/net/ipn3ke -Idrivers/net/i40e -I../drivers/net/i40e -Ilib/librte_rawdev -I../lib/librte_rawdev -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_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/bus/ifpga -I../drivers/bus/ifpga -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_sched -I../lib/librte_sched -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_opae_api.c.o -MF drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_opae_api.c.o.d -o drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_opae_api.c.o -c ../drivers/raw/ifpga/ifpga_opae_api.c
In file included from ../drivers/raw/ifpga/ifpga_opae_api.c:18:
../drivers/raw/ifpga/ifpga_opae_api.c: In function ‘opae_get_image_info’:
../drivers/raw/ifpga/ifpga_opae_api.h:37:53: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘off_t’ {aka ‘long long int’} [-Werror=format=]
37 | #define opae_log_dbg(fmt, args...) opae_log(DEBUG, "OPAE-DBG: "fmt, ##args)
| ^~~~~~~~~~~~
../drivers/raw/ifpga/ifpga_opae_api.h:27:10: note: in definition of macro ‘opae_log’
27 | printf(fmt, ##args); \
| ^~~
../drivers/raw/ifpga/ifpga_opae_api.c:138:2: note: in expansion of macro ‘opae_log_dbg’
138 | opae_log_dbg("Size of \'%s\' is %lu\n", image, file_size);
| ^~~~~~~~~~~~
../drivers/raw/ifpga/ifpga_opae_api.c:138:36: note: format string is defined here
138 | opae_log_dbg("Size of \'%s\' is %lu\n", image, file_size);
| ~~^
| |
| long unsigned int
| %llu
In file included from ../drivers/raw/ifpga/ifpga_opae_api.c:18:
../drivers/raw/ifpga/ifpga_opae_api.h:37:53: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘off_t’ {aka ‘long long int’} [-Werror=format=]
37 | #define opae_log_dbg(fmt, args...) opae_log(DEBUG, "OPAE-DBG: "fmt, ##args)
| ^~~~~~~~~~~~
../drivers/raw/ifpga/ifpga_opae_api.h:29:27: note: in definition of macro ‘opae_log’
29 | fprintf(opae_log_file, fmt, ##args); \
| ^~~
../drivers/raw/ifpga/ifpga_opae_api.c:138:2: note: in expansion of macro ‘opae_log_dbg’
138 | opae_log_dbg("Size of \'%s\' is %lu\n", image, file_size);
| ^~~~~~~~~~~~
../drivers/raw/ifpga/ifpga_opae_api.c:138:36: note: format string is defined here
138 | opae_log_dbg("Size of \'%s\' is %lu\n", image, file_size);
| ~~^
| |
| long unsigned int
| %llu
cc1: all warnings being treated as errors
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-05 2:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 2:52 [dpdk-test-report] |FAILURE| pw(85967) [v6, 4/4] examples/ifpga: add example for opae ifpga API sys_stv
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).