From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1283] Failing to compile testpmd on Windows
Date: Wed, 06 Sep 2023 07:28:10 +0000 [thread overview]
Message-ID: <bug-1283-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 2593 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1283
Bug ID: 1283
Summary: Failing to compile testpmd on Windows
Product: DPDK
Version: 23.11
Hardware: x86
OS: Windows
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: pdamouny@nvidia.com
Target Milestone: ---
when i do
1. "C:\Program Files\Meson\meson.exe" --buildtype debug
"-Dc_args=-I\"C:\Program Files\Mellanox\MLNX_WinOF2_DevX_SDK\inc\""
"-Dc_link_args=-L\"C:\Program Files\Mellanox\MLNX_WinOF2_DevX_SDK\lib\""
"-Dexamples=udpfwd,flow_filtering,l2fwd,l2fwd_default_flow,helloworld,udpfwd_rss,l2fwd_master,udpfwd_rx_tx_cheksum,l2fwd_rss"
build
2. ninja
i get
FAILED:
drivers/common/idpf/6e54547@@idpf_common_avx512_lib@sta/idpf_common_rxtx_avx512.c.obj
clang
@drivers/common/idpf/6e54547@@idpf_common_avx512_lib@sta/idpf_common_rxtx_avx512.c.obj.rsp
In file included from ../drivers/common/idpf/idpf_common_rxtx_avx512.c:6:
In file included from ..\drivers\common\idpf/idpf_common_device.h:9:
In file included from ..\drivers\common\idpf/base/idpf_prototype.h:9:
In file included from ..\drivers\common\idpf/base/idpf_osdep.h:18:
In file included from ..\lib\eal\include\rte_malloc.h:16:
In file included from ..\lib\eal\include\rte_memory.h:25:
In file included from ..\lib\eal\include\rte_fbarray.h:39:
In file included from ..\lib\eal\x86\include\rte_rwlock.h:13:
In file included from ..\lib\eal\x86\include/rte_spinlock.h:18:
In file included from ..\lib\eal\x86\include/rte_cycles.h:12:
In file included from C:\Program
Files\LLVM\lib\clang\11.0.0\include\x86intrin.h:24:
C:\Program Files\LLVM\lib\clang\11.0.0\include\prfchwintrin.h:50:1: error:
conflicting types for '__m_prefetchw'
_m_prefetchw(void *__P)
^
..\lib\eal\windows\include\rte_windows.h:28:22: note: expanded from macro
'_m_prefetchw'
#define _m_prefetchw __m_prefetchw
^
C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winnt.h:3538:1:
note: previous declaration is here
_m_prefetchw (
^
..\lib\eal\windows\include\rte_windows.h:28:22: note: expanded from macro
'_m_prefetchw'
#define _m_prefetchw __m_prefetchw
^
1 error generated.
[131/810] Compiling C object
drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_cmds.c.obj
ninja: build stopped: subcommand failed.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 4558 bytes --]
reply other threads:[~2023-09-06 7:28 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=bug-1283-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.