Skip to contentSkip to conversation

librte_bbdev build failure with clang 3.4.2

Bug 1095 [email protected] 1 participant 2 messages Oct 10, 2022 – Nov 15, 2022

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 1095
Summary: librte_bbdev build failure with clang 3.4.2
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

$ meson --werror --buildtype=debugoptimized build && ninja-build -C build

"""
FAILED: lib/librte_bbdev.a.p/bbdev_rte_bbdev.c.o
[..]
lib/bbdev/rte_bbdev.c:1179:13: error: comparison of constant 4 with expression of type 'enum rte_bbdev_enqueue_status' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (status < sizeof(enq_sta_string) / sizeof(char *))
"""

DPDK: de254dac608e
OS: CentOS Linux 7
Meson: 0.55.1
Ninja: 1.10.2

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=1095

Thomas Monjalon ([email protected]) changed:

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

         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Thomas Monjalon ([email protected]) --- Resolved in http://git.dpdk.org/dpdk/commit/?id=a53a025b45

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