* compilation|FAILURE| pw(140483) sid(32025) job(PER_PATCH_BUILD12161)[v1, 17/17] net/ntnic: add NIM module
@ 2024-06-06 9:46 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-06-06 9:46 UTC (permalink / raw)
To: test-report, sil-plv
[-- Attachment #1: Type: text/plain, Size: 33625 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/140483
_Compilation issues_
Submitter: Serhii Iliushyk <sil-plv@napatech.com>
Date: 2024-05-30 14:49:14
Reply_mail: <20240530144929.4127931-17-sil-plv@napatech.com>
DPDK git baseline: Repo:dpdk-next-net, CommitID: 2eb727db60bfe4938c918750a875bceffdc21f61
Meson Build Summary: 23 Builds Done, 18 Successful, 5 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | pass | fail | | pass | pass | | |
| SUSE15-64 | pass | fail | | | | | |
| CBL-Mariner2.0-64 | pass | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL93-64 | pass | | | | | | |
| UB2404-64 | pass | fail | | | | pass | pass |
| RHEL94-64Rt | pass | | | | | | |
| UB2204-64 | pass | | | | | | |
| FC40-64 | pass | fail | | | | | |
| UB2404-64Rt | 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: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -c ../drivers/net/ntnic/ntlog/ntlog.c
../drivers/net/ntnic/ntlog/ntlog.c:101:60: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
101 | vsnprintf(&s[len], (NTLOG_HELPER_STR_SIZE_MAX - 1 - len), format, args);
| ^~~~~~
1 error generated.
[1813/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_core_nthw_tsm.c.o
[1814/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_utils.c.o
[1815/2980] Linking static target drivers/librte_net_null.a
[1816/2980] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx_vec_sse.c.o
[1817/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_rac.c.o
[1818/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_model_nthw_fpga_model.c.o
[1819/2980] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
[1820/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_mod_reg.c.o
[1821/2980] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -c ../drivers/net/ntnic/ntnic_ethdev.c
../drivers/net/ntnic/ntnic_ethdev.c:1499:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
1499 | return (int)rte_vlog(rte_level, rte_module, format, args);
| ^~~~~~
1 error generated.
ninja: build stopped
*Build Failed #2:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -c ../drivers/net/ntnic/ntlog/ntlog.c
../drivers/net/ntnic/ntlog/ntlog.c:101:60: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
vsnprintf(&s[len], (NTLOG_HELPER_STR_SIZE_MAX - 1 - len), format, args);
^~~~~~
1 error generated.
[1790/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_utils.c.o
[1791/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_rac.c.o
[1792/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_model_nthw_fpga_model.c.o
[1793/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntutil_nt_util.c.o
[1794/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -c ../drivers/net/ntnic/ntnic_ethdev.c
../drivers/net/ntnic/ntnic_ethdev.c:1499:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
return (int)rte_vlog(rte_level, rte_module, format, args);
^~~~~~
1 error generated.
[1795/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_vfio.c.o
[1796/2986] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_mod_reg.c.o
[1797/2986] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
[1798/2986] Compiling C object drivers/libtmp_rte_net_null.a.p/net_null_rte_eth_null.c.o
ninja: build stopped
*Build Failed #3:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_adapter_nt4ga_pci_ta_tg.c.o
gcc -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_adapter_nt4ga_pci_ta_tg.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_adapter_nt4ga_pci_ta_tg.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_adapter_nt4ga_pci_ta_tg.c.o -c ../drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c
../drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c: In function ‘nt4ga_pci_ta_tg_measure_throughput_run’:
../drivers/net/ntnic/adapter/nt4ga_pci_ta_tg.c:206:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
206 | mem_addr = (uint32_t *)p_dma->addr;
| ^
cc1: all warnings being treated as errors
[1391/2336] Compiling C object drivers/net/ngbe/base/libngbe_base.a.p/ngbe_phy_mvl.c.o
[1392/2336] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_ptypes.c.o
[1393/2336] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_rxtx.c.o
[1394/2336] Compiling C object drivers/net/ngbe/base/libngbe_base.a.p/ngbe_phy_yt.c.o
[1395/2336] Compiling C object drivers/libtmp_rte_net_ixgbe.a.p/net_ixgbe_ixgbe_rxtx.c.o
[1396/2336] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_pf.c.o
[1397/2336] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_ethdev.c.o
[1398/2336] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx_vec_sse.c.o
[1399/2336] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
ninja: build stopped
*Build Failed #4:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -c ../drivers/net/ntnic/ntlog/ntlog.c
../drivers/net/ntnic/ntlog/ntlog.c:101:60: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
101 | vsnprintf(&s[len], (NTLOG_HELPER_STR_SIZE_MAX - 1 - len), format, args);
| ^~~~~~
1 error generated.
[1915/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_utils.c.o
[1916/3168] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx_vec_sse.c.o
[1917/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_rac.c.o
[1918/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_model_nthw_fpga_model.c.o
[1919/3168] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
[1920/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_vfio.c.o
[1921/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -c ../drivers/net/ntnic/ntnic_ethdev.c
../drivers/net/ntnic/ntnic_ethdev.c:1499:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
1499 | return (int)rte_vlog(rte_level, rte_module, format, args);
| ^~~~~~
1 error generated.
[1922/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntutil_nt_util.c.o
[1923/3168] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_mod_reg.c.o
ninja: build stopped
*Build Failed #5:
OS: FC40-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntlog_ntlog.c.o -c ../drivers/net/ntnic/ntlog/ntlog.c
../drivers/net/ntnic/ntlog/ntlog.c:101:60: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
101 | vsnprintf(&s[len], (NTLOG_HELPER_STR_SIZE_MAX - 1 - len), format, args);
| ^~~~~~
1 error generated.
[1918/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_utils.c.o
[1919/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_nthw_rac.c.o
[1920/3172] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx_vec_sse.c.o
[1921/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_nthw_model_nthw_fpga_model.c.o
[1922/3172] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o
[1923/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntutil_nt_util.c.o
[1924/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
FAILED: drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o
clang -Idrivers/libtmp_rte_net_ntnic.a.p -Idrivers -I../drivers -Idrivers/net -I../drivers/net -Idrivers/net/ntnic -I../drivers/net/ntnic -I../drivers/net/ntnic/include -I../drivers/net/ntnic/ntlog/include -I../drivers/net/ntnic/ntutil/include -I../drivers/net/ntnic/nthw -I../drivers/net/ntnic/nthw/supported -I../drivers/net/ntnic/nthw/model -I../drivers/net/ntnic/nim/include -I../drivers/net/ntnic/nthw/core/include -I../drivers/net/ntnic/nthw/core -I../drivers/net/ntnic/nthw/core/nt200a0x -I../drivers/net/ntnic/nthw/core/nt200a0x/reset -I../drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles -I../drivers/net/ntnic/adapter -I../drivers/net/ntnic/link_mgmt -I../drivers/net/ntnic/nim -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -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/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -DNTHW_DPDK -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ntnic -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -MF drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o.d -o drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_ethdev.c.o -c ../drivers/net/ntnic/ntnic_ethdev.c
../drivers/net/ntnic/ntnic_ethdev.c:1499:46: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
1499 | return (int)rte_vlog(rte_level, rte_module, format, args);
| ^~~~~~
1 error generated.
[1925/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_vfio.c.o
[1926/3172] Compiling C object drivers/libtmp_rte_net_ntnic.a.p/net_ntnic_ntnic_mod_reg.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-06 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-06 9:46 compilation|FAILURE| pw(140483) sid(32025) job(PER_PATCH_BUILD12161)[v1, 17/17] net/ntnic: add NIM module 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).