All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 894] [dpdk-20.11.4] lib/librte_eal.a.p/librte_eal_common_rte_random.c.obj build failed on WIN10 with clang8.0.0
Date: Tue, 07 Dec 2021 09:44:15 +0000	[thread overview]
Message-ID: <bug-894-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=894

            Bug ID: 894
           Summary: [dpdk-20.11.4]
                    lib/librte_eal.a.p/librte_eal_common_rte_random.c.obj
                    build failed on WIN10 with clang8.0.0
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: dev@dpdk.org
          Reporter: longfengx.liang@intel.com
  Target Milestone: ---

1.DPDK version:

commit bab4318634e0d2276e8bae5ea18789cfda813c70
Author: Xueming Li <xuemingl@nvidia.com>
Date:   Tue Dec 7 00:02:07 2021 +0800

    version: 20.11.4-rc1

2.OS version:
   WIN10-64
   Compiler: x86_64-windows-clang
   clang version:8.0.0

3.failed log:
FAILED: lib/librte_eal.a.p/librte_eal_common_rte_random.c.obj 
"clang" "-Ilib\librte_eal.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iconfig"
"-I..\config" "-Ilib\librte_eal\include" "-I..\lib\librte_eal\include"
"-Ilib\librte_eal\windows\include" "-I..\lib\librte_eal\windows\include"
"-Ilib\librte_eal\x86\include" "-I..\lib\librte_eal\x86\include"
"-Ilib\librte_eal\common" "-I..\lib\librte_eal\common" "-Ilib\librte_eal"
"-I..\lib\librte_eal" "-Ilib\librte_kvargs" "-I..\lib\librte_kvargs" "-Xclang"
"-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch"
"-O3" "-include" "rte_config.h" "-Wextra" "-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" "-D_WIN32_WINNT=0x0A00"
"-march=native" "-DALLOW_EXPERIMENTAL_API" "-DALLOW_INTERNAL_API"
"-DABI_VERSION=\"21.0\"" -MD -MQ
lib/librte_eal.a.p/librte_eal_common_rte_random.c.obj -MF
"lib\librte_eal.a.p\librte_eal_common_rte_random.c.obj.d" -o
lib/librte_eal.a.p/librte_eal_common_rte_random.c.obj "-c"
../lib/librte_eal/common/rte_random.c
In file included from ../lib/librte_eal/common/rte_random.c:13:
In file included from ..\lib\librte_eal\include\rte_eal.h:20:
In file included from ..\lib\librte_eal\include\rte_per_lcore.h:25:
In file included from ..\lib\librte_eal\windows\include\pthread.h:21:
In file included from ..\lib\librte_eal\windows\include\rte_windows.h:22:
In file included from C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\um\windows.h:171:
In file included from C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\shared\windef.h:24:
In file included from C:\Program Files (x86)\Windows
Kits\10\include\10.0.17763.0\shared\minwindef.h:182:
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winnt.h:3275:1:
error: conflicting types for '_m_prefetchw'
_m_prefetchw (
^
C:\Program Files\LLVM\lib\clang\8.0.0\include\prfchwintrin.h:64:1: note:
previous definition is here
_m_prefetchw(void *__P)
^
1 error generated.
[35/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_alarm.c.obj
[36/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_lcore.c.obj
[37/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_debug.c.obj
[38/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_memory.c.obj
[39/185] Compiling C object
lib/librte_eal.a.p/librte_eal_common_rte_service.c.obj
[40/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_hugepages.c.obj
[41/185] Compiling C object lib/librte_eal.a.p/librte_eal_windows_eal_log.c.obj
[42/185] Compiling C object lib/librte_eal.a.p/librte_eal_windows_eal.c.obj
[43/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_interrupts.c.obj
[44/185] Compiling C object lib/librte_eal.a.p/librte_eal_windows_eal_mp.c.obj
[45/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_memalloc.c.obj
[46/185] Compiling C object
lib/librte_eal.a.p/librte_eal_windows_eal_timer.c.obj
[47/185] Compiling C object
lib/librte_eal.a.p/librte_eal_common_eal_common_dynmem.c.obj
ninja: build stopped

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2021-12-07  9:44 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-894-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.