From: sys_stv@intel.com
To: test-report@dpdk.org, andremue@linux.microsoft.com
Subject: compilation|FAILURE| pw(149507) sid(34243) job(PER_PATCH_BUILD14482)[v3, 3/3] drivers/net: add diagnostics macros to make code portable
Date: 27 Dec 2024 19:43:16 -0800 [thread overview]
Message-ID: <702fee$3lr99a@fmviesa002-auth.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 11309 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/149507
_Compilation issues_
Submitter: Andre Muezerie <andremue@linux.microsoft.com>
Date: 2024-12-28 03:18:30
Reply_mail: <1735355910-1175-4-git-send-email-andremue@linux.microsoft.com>
DPDK git baseline: Repo:dpdk, CommitID: fd51012de5369679e807be1d6a81d63ef15015ce
Meson Build Summary: 23 Builds Done, 22 Successful, 1 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.9-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL8.10-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | fail |
| RHEL94-64Rt | pass | | | | | | |
| UB2410-64 | pass | | | | | | |
| FC40-64 | pass | pass | | | | | |
| 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.9-64
Kernel Version: 5.10.134-16.2.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)
Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.2.0
Clang Version: 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
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: 6.4.0-150600.21-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL8.10-64
Kernel Version: 4.18.0-553.el8_10.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-21)
Clang Version: 17.0.6 (Red Hat 17.0.6-1.module+el8.10.0+20808+e12784c0)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
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: UB2410-64
Kernel Version: 6.11.0-8-generic
GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0
Clang Version: NA
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: NA
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
gcc -Idrivers/net/ice/libice_avx512_lib.a.p -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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 -I../kernel/linux -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCC_AVX512_SUPPORT -mavx512f -mavx512vl -mavx512dq -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o -MF drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o.d -o drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o -c ../drivers/net/ice/ice_rxtx_vec_avx512.c
In file included from ../drivers/net/ice/ice_rxtx_vec_avx512.c:6:
../drivers/net/ice/ice_rxtx_common_avx.h: In function ‘ice_rxq_rearm_common’:
../drivers/net/ice/ice_rxtx_common_avx.h:162:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
162 | _mm512_store_si512((__m512i *)&rxdp->read, dma_addr0_3);
| ^
../drivers/net/ice/ice_rxtx_common_avx.h:163:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
163 | _mm512_store_si512((__m512i *)&(rxdp + 4)->read, dma_addr4_7);
| ^
../drivers/net/ice/ice_rxtx_common_avx.h:218:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
218 | _mm256_store_si256((__m256i *)&rxdp->read, dma_addr0_1);
| ^
../drivers/net/ice/ice_rxtx_common_avx.h:219:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
219 | _mm256_store_si256((__m256i *)&(rxdp + 2)->read, dma_addr2_3);
| ^
cc1: all warnings being treated as errors
[1668/3393] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1669/3393] Compiling C object drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
FAILED: drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
gcc -Idrivers/net/ice/libice_avx2_lib.a.p -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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 -I../kernel/linux -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -mavx2 -MD -MQ drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o -MF drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o.d -o drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o -c ../drivers/net/ice/ice_rxtx_vec_avx2.c
In file included from ../drivers/net/ice/ice_rxtx_vec_avx2.c:6:
../drivers/net/ice/ice_rxtx_common_avx.h: In function ‘ice_rxq_rearm_common’:
../drivers/net/ice/ice_rxtx_common_avx.h:218:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
218 | _mm256_store_si256((__m256i *)&rxdp->read, dma_addr0_1);
| ^
../drivers/net/ice/ice_rxtx_common_avx.h:219:44: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
219 | _mm256_store_si256((__m256i *)&(rxdp + 2)->read, dma_addr2_3);
| ^
cc1: all warnings being treated as errors
[1670/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_tm.c.o
[1671/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o
[1672/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o
[1673/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o
[1674/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o
[1675/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o
[1676/3393] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2024-12-28 3:43 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='702fee$3lr99a@fmviesa002-auth.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=andremue@linux.microsoft.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).