Skip to contentSkip to conversation

net/iavf build failure in Windows with clang

dpdk-dev [email protected] 1 participant 2 messages Nov 1, 2021

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 873
Summary: net/iavf build failure in Windows with clang
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

"""

$ meson.exe --werror  build
$ ninja.exe -C build
[..]
[184/600] Compiling C object
drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_rte_pmd_i40e.c.obj
[185/600] Compiling C object
drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_rxtx_vec_sse.c.obj
[186/600] Compiling C object
drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ipsec_crypto.c.obj
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ipsec_crypto.c.obj 
clang
@drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ipsec_crypto.c.obj.rsp
../drivers/net/iavf/iavf_ipsec_crypto.c:112:32: error: comparison of integers
of different signs: 'const enum rte_crypto_cipher_algorithm' and 'uint32_t'
(aka 'unsigned int') [-Werror,-Wsign-compare]
                        capability->sym.cipher.algo == algo)
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
../drivers/net/iavf/iavf_ipsec_crypto.c:111:31: error: comparison of integers
of different signs: 'const enum rte_crypto_sym_xform_type' and 'uint32_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                        capability->sym.xform_type == type &&
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
2 errors generated.
"""

Meson: 0.54.3
Ninja: 1.10.2
Clang: 11.0.0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

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

Ali Alnubani ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Ali Alnubani ([email protected]) ---
Doesn't reproduce on 748736ceccc2 ("net/ngbe: support Tx done cleanup"), thanks Ferruh.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.