automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(140958) sid(32146) job(PER_PATCH_BUILD12233)raw/zxdh: introduce zxdh raw device driver
@ 2024-06-12 11:21 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-06-12 11:21 UTC (permalink / raw)
  To: test-report, zhang.yong25

[-- Attachment #1: Type: text/plain, Size: 10725 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/140958

_Compilation issues_

Submitter: zhang yong <zhang.yong25@zte.com.cn>
Date: 2024-06-12 11:00:40
Reply_mail: <20240612190040926odHnlJEJAYAmzJON8zdHo@zte.com.cn>

DPDK git baseline: Repo:dpdk, CommitID: d7fcf40e1f8946e2d1ac8870df53b5d1f8d0b3c9


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.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD14-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL94-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2404-32         | fail       |              |            |            |           |          |            |
| RHEL93-64         | pass       |              |            |            |           |          |            |
| UB2404-64         | pass       | pass         |            |            |           | pass     | pass       |
| RHEL94-64Rt       | pass       |              |            |            |           |          |            |
| UB2204-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.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: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_rawdev.c.o 
gcc -Idrivers/libtmp_rte_raw_zxdh.a.p -Idrivers -I../drivers -Idrivers/raw/zxdh -I../drivers/raw/zxdh -Ilib/rawdev -I../lib/rawdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.raw.zxdh -MD -MQ drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_rawdev.c.o -MF drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_rawdev.c.o.d -o drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_rawdev.c.o -c ../drivers/raw/zxdh/zxdh_rawdev.c
../drivers/raw/zxdh/zxdh_rawdev.c: In function ‘zxdh_gdma_fill_bd’:
../drivers/raw/zxdh/zxdh_rawdev.c:107:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  107 |         ((t)((uint8_t *)(addr) + (idx) * sizeof(struct zxdh_gdma_buff_desc)))
      |              ^
../drivers/raw/zxdh/zxdh_rawdev.c:461:34: note: in expansion of macro ‘IDX_TO_ADDR’
  461 |                 next_bd_addr   = IDX_TO_ADDR(queue->ring.ring_mem,
      |                                  ^~~~~~~~~~~
../drivers/raw/zxdh/zxdh_rawdev.c:107:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  107 |         ((t)((uint8_t *)(addr) + (idx) * sizeof(struct zxdh_gdma_buff_desc)))
      |              ^
../drivers/raw/zxdh/zxdh_rawdev.c:476:34: note: in expansion of macro ‘IDX_TO_ADDR’
  476 |                 next_bd_addr   = IDX_TO_ADDR(queue->ring.ring_mem, avail_idx, uint64_t);
      |                                  ^~~~~~~~~~~
../drivers/raw/zxdh/zxdh_rawdev.c:107:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  107 |         ((t)((uint8_t *)(addr) + (idx) * sizeof(struct zxdh_gdma_buff_desc)))
      |              ^
../drivers/raw/zxdh/zxdh_rawdev.c:486:40: note: in expansion of macro ‘IDX_TO_ADDR’
  486 |                         next_bd_addr = IDX_TO_ADDR(queue->ring.ring_mem,
      |                                        ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1572/2292] Compiling C object drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_pci.c.o
FAILED: drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_pci.c.o 
gcc -Idrivers/libtmp_rte_raw_zxdh.a.p -Idrivers -I../drivers -Idrivers/raw/zxdh -I../drivers/raw/zxdh -Ilib/rawdev -I../lib/rawdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/vdev -I../drivers/bus/vdev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.raw.zxdh -MD -MQ drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_pci.c.o -MF drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_pci.c.o.d -o drivers/libtmp_rte_raw_zxdh.a.p/raw_zxdh_zxdh_pci.c.o -c ../drivers/raw/zxdh/zxdh_pci.c
../drivers/raw/zxdh/zxdh_pci.c: In function ‘zxdh_gdma_pci_dev_mmap’:
../drivers/raw/zxdh/zxdh_pci.c:417:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  417 |                 dev->bar_va[bar_idx] = mmap((void *)dev->bar_pa[bar_idx],
      |                                             ^
cc1: all warnings being treated as errors
[1573/2292] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_vfio.c.o
[1574/2292] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_device.c.o
[1575/2292] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1576/2292] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
[1577/2292] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1578/2292] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1579/2292] Generating drivers/rte_raw_skeleton.pmd.c with a custom command
[1580/2292] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_qp.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-12 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12 11:21 compilation|FAILURE| pw(140958) sid(32146) job(PER_PATCH_BUILD12233)raw/zxdh: introduce zxdh raw device driver 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).