automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(116313) sid(24664) job(PER_PATCH_BUILD4182)[RFC, v2] eal/linux: add support for fast virt/iova translation
@ 2022-09-15 15:56 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-09-15 15:56 UTC (permalink / raw)
  To: test-report, donw

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


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

_Compilation issues_

Submitter: Don Wallwork <donw@xsightlabs.com>
Date: 2022-09-14 21:12:00
Reply_mail: <20220914211201.32940-1-donw@xsightlabs.com>

DPDK git baseline: Repo:dpdk, CommitID: 4aee6110bb10b0225fa9562f2e48af233a9058a1


Meson Build Summary: 21 Builds Done, 19 Successful, 2 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC36-64      | pass       | pass         |            |            |           |          |            |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |            |
| RHEL86-64    | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64    | pass       | fail         |            |            |           |          |            |
| UB2004-64    | pass       | pass         |            |            |           | pass     |            |
| UB2204-32    | fail       |              |            |            |           |          |            |
| UB2204-64    | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-64  | 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: FC36-64
	Kernel Version: 5.17.7-300.fc36.x86_64
	GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)
	Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD13-64
	Kernel Version: 13.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL86-64
	Kernel Version: 4.18.0-372.9.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
	Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
	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-150400.24.18-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-doc

OS: UB2204-32
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: kernel/linux/kni/rte_kni.ko 
/usr/bin/make -j4 -C /lib/modules/5.14.21-150400.24.18-default/build M=/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni src=/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -DHAVE_ARG_TX_QUEUE -include /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/config/rte_config.h -I/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/lib/eal/include -I/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/lib/kni -I/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang -I/root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/kernel/linux/kni' modules
make: Entering directory '/usr/src/linux-5.14.21-150400.24.18-obj/x86_64/default'
  CC [M]  /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o
  CC [M]  /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o
In file included from /usr/src/linux-5.14.21-150400.24.18/include/linux/bvec.h:14:0,
                 from /usr/src/linux-5.14.21-150400.24.18/include/linux/skbuff.h:17,
                 from /usr/src/linux-5.14.21-150400.24.18/include/net/net_namespace.h:39,
                 from /usr/src/linux-5.14.21-150400.24.18/include/linux/netdevice.h:37,
                 from /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-5.14.21-150400.24.18/include/linux/mm.h:551:2: internal compiler error: Segmentation fault
  };
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
make[2]: *** [/usr/src/linux-5.14.21-150400.24.18/scripts/Makefile.build:272: /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-5.14.21-150400.24.18/Makefile:1885: /root/SUSE15-64_K5.3.18_Clang11.0.1/x86_64-native-linuxapp-clang/24664/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni] Error 2
make: *** [../../../linux-5.14.21-150400.24.18/Makefile:220: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.14.21-150400.24.18-obj/x86_64/default'
ninja: build stopped




*Build Failed #2:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_linux_eal_memory.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_linux_eal_memory.c.o -MF lib/librte_eal.a.p/eal_linux_eal_memory.c.o.d -o lib/librte_eal.a.p/eal_linux_eal_memory.c.o -c ../lib/eal/linux/eal_memory.c
../lib/eal/linux/eal_memory.c: In function ‘rte_mem_fast_iova2virt’:
../lib/eal/linux/eal_memory.c:184:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  184 |         void *virtaddr = (void *)((uintptr_t)const_va_pa_delta + iova);
      |                          ^
In file included from ../lib/eal/include/rte_log.h:25,
                 from ../lib/eal/linux/eal_memory.c:31:
../lib/eal/linux/eal_memory.c: In function ‘remap_segment’:
../lib/eal/include/rte_common.h:293:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  293 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
      |                              ^
../lib/eal/linux/eal_memory.c:787:32: note: in expansion of macro ‘RTE_PTR_ADD’
  787 |                         addr = RTE_PTR_ADD(const_va_pa_delta, hfile->physaddr);
      |                                ^~~~~~~~~~~
../lib/eal/linux/eal_memory.c: In function ‘remap_hugepages_const_xlate’:
../lib/eal/include/rte_common.h:293:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  293 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
      |                              ^
../lib/eal/linux/eal_memory.c:1174:37: note: in expansion of macro ‘RTE_PTR_ADD’
 1174 |                 const_va_pa_delta = RTE_PTR_ADD(va_base, -hugepage[0].physaddr);
      |                                     ^~~~~~~~~~~
../lib/eal/include/rte_common.h:293:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  293 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
      |                              ^
../lib/eal/linux/eal_memory.c:1184:40: note: in expansion of macro ‘RTE_PTR_ADD’
 1184 |                                 addr = RTE_PTR_ADD(const_va_pa_delta,
      |                                        ^~~~~~~~~~~
cc1: all warnings being treated as errors
[97/2444] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o
[98/2444] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.c.o
[99/2444] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[100/2444] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output)
[101/2444] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o
[102/2444] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_ptype.c.o
[103/2444] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_pool_ops.c.o
[104/2444] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o
[105/2444] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-15 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 15:56 [dpdk-test-report] |FAILURE| pw(116313) sid(24664) job(PER_PATCH_BUILD4182)[RFC, v2] eal/linux: add support for fast virt/iova translation 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).